Skip to content
Snippets Groups Projects
Commit 8dce9b05 authored by W. Spencer Smith's avatar W. Spencer Smith
Browse files

Updates to L15 on funct prog

parent 665c7952
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -76,18 +76,15 @@ TBD
\item Part 1: February 12, 2018
\item Partner Files: February 18, 2018
\item Part 2: March 2, 2018
\item \structure{Steps have been written out}
\item \structure{When working with object, either create or use references}
\item \structure{Use exact names and cases}
\item \structure{Exceptions take one argument, a string}
\item {Steps have been written out}
\item {When working with object, either create or use references}
\item {Use exact names and cases}
\item {Exceptions take one argument, a string}
\item Exceptions in \texttt{Exceptions.py}
\item \structure{\texttt{Data.accessProg}, not \texttt{Data\_accessProg} or
\texttt{Data.Data\_accessProg}}
\end{itemize}
\item Midterm exam
\begin{itemize}
\item March 1, 7:00 pm, TSH/120
\item 90 minute duration
\item Two sample input files in repo
\item Added \texttt{Data\_getC}
\end{itemize}
\end{itemize}
......@@ -155,8 +152,9 @@ TBD
\bi
\item \texttt{[x*2 for x in range(1, 11)]}
\item \texttt{[x*2 for x in range(1, 11) if x*2 >= 12]}
\item \texttt{radii = [c.radius() for c in circles]} from \href{https://gitlab.cas.mcmaster.ca/smiths/se2aa4_cs2me3/blob/master/Assignments/Assig1/A1Soln/src/Statistics.py}{A1}
\item \structure{What output should be produced?}
\item \texttt{radii=[c.radius() for c in circles]} from
\href{https://gitlab.cas.mcmaster.ca/smiths/se2aa4_cs2me3/blob/master/Assignments/PreviousYears/2017/A1/A1Soln/src/Statistics.py}{A1-2017}
\item \structure{What output should be produced in each case?}
\ei
\end{itemize}
......@@ -172,7 +170,7 @@ def length(xs):
return sum([? for x in xs])
\end{verbatim}
What should \texttt{?} be to return the length of xs?
\structure{What should \texttt{?} be to return the length of xs?}
\end{frame}
......
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