Skip to content
Snippets Groups Projects
Commit 05378949 authored by hmadej's avatar hmadej
Browse files

work on T02B

parent 9ccec9b8
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -8,7 +8,7 @@
%--------------------------------------------------------------------------
% -------------------------------------------------------------------------
% Define Package Theme
% Define Package Theme
%--------------------------------------------------------------------------
\usepackage{color}
\usepackage[T1]{fontenc}
......@@ -32,6 +32,7 @@
\usepackage{marvosym}
\usepackage{hyperref}
\usepackage{tikz}
\usepackage{dirtytalk}
\usetikzlibrary{shapes}
\usetikzlibrary{arrows}
......@@ -85,7 +86,7 @@
\author{Henry Madej}
\institute{Department of Computing and Software\\
McMaster University\\ }
\date{\today}
\date{\today}
%--------------------------------------------------------------------------
......@@ -109,10 +110,39 @@ McMaster University\\ }
}
\end{frame}
\begin{frame}[t]
\frametitle{Building CircleADT}
\begin{itemize}
\item{The first thing we have to do is read the specifications or
requirements if any are provided, in this case we are using the
specification from last years assignment 1, located in the gitlab repo under
Assignments/PreviousYears/2017/A1.}
\item{The specification provided is similar to the one provided to you in
this years assignment 1.}
\item{A constructor (CircleT) that takes three real numbers x, y and r as
input and assigns them to private instance variables. The x and y values
define the centre of the circle and r defines its radius.}
\end{itemize}
\end{frame}
\begin{frame}[t]
\frametitle{Building CircleADT}
\centering
\includegraphics[width=0.5\textwidth]{circle1.png}
\begin{itemize}
\item{Python uses \_\_init\_\_ for the constructor of class objects}
\item{Instance variables are declared with self.variableName}
\item{Now we will add some getter methods according to specification}
\item{Three getters named xcoord, ycoord and radius that return the x and y
coordinates of the centre of the circle and the radius of the circle,
respectively.}
\end{itemize}
\end{frame}
\begin{frame}[t]
\frametitle{Assignment Description}
Original files available
\href{https://gitlab.cas.mcmaster.ca/smiths/se2aa4_cs2me3/tree/master/Assignments/PreviousYears/2017/A1}{here}
\end{frame}
\end{document}
\ No newline at end of file
\end{document}
Tutorials/T02b-A1Example/slides/circle1.png

15.7 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment