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

Updates to L10, still need to add more questions

parent 0646b697
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -22,7 +22,7 @@
\mode<presentation>{}
\input{../def-beamer}
\Drafttrue
\Draftfalse
\newcommand{\topicTitle}{10 Abstract Data Types (Ghezzi Ch.\ 4)}
\ifDraft
......@@ -68,27 +68,12 @@ TBD
\else
{
\begin{itemize}
\item Capstone team data collection
\item Assignment 1
\begin{itemize}
\item \structure{Files due by 11:59 pm January 28}
\item \structure{E-mail partner files by 11:59 pm January 29}
\item Lab report due by 11:59 pm February 2
\item Using Python 2.7, doxygen, make, LaTeX, git
\item Make sure everything runs on mills
\item Use the folder structure and filenames given!
\item Partner Files: January 28, 2018
\item Part 2: January 31, 2018
\end{itemize}
% \item Assignment 2
% \begin{itemize}
% \item Files due by midnight February 2
% \item Send code to partner by midnight February 3
% \item Lab report due by the beginning of class on February 9
% \end{itemize}
% \item Midterm exam
% \begin{itemize}
% \item March 4, during tutorial time
% %\item In T29/105, not our usual classroom
% \end{itemize}
\item Questions on assignment?
\end{itemize}
}
\fi
......@@ -97,24 +82,41 @@ TBD
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \begin{frame}
% \frametitle{File Transfer To the CAS Servers}
% \begin{itemize}
% \item sftp
% \item Samba: \href{smb://nts5.cas.mcmaster.ca/macid}{smb://nts5.cas.mcmaster.ca/macid}
% \item Mount a drive over sftp using SSHFS
% \href{https://igikorn.com/sshfs-windows-10/}{https://igikorn.com/sshfs-windows-10/}
% \end{itemize}
% \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{File Transfer To the CAS Servers}
\frametitle{Homework: Abstract Objects in Python}
\begin{itemize}
\item sftp
\item Samba: \href{smb://nts5.cas.mcmaster.ca/macid}{smb://nts5.cas.mcmaster.ca/macid}
\item Mount a drive over sftp using SSHFS
\href{https://igikorn.com/sshfs-windows-10/}{https://igikorn.com/sshfs-windows-10/}
\end{itemize}
H\&S versus Python for s = [4, 6, -2, 8, 11]
\bi
\item \structure<1>{H\&S for s[1:3]?} \uncover<2->{[6, -2, 8]}
\item \structure<1>{Python for s[1:3]?} \uncover<2->{[6, -2]}
\item \structure<2>{H\&S for s[0:-1]?} \uncover<3->{[]}
\item \structure<2>{Python for s[0:-1]?} \uncover<3->{[4, 6, -2, 8]}
\item \structure<3>{H\&S for s[0:0]?} \uncover<4->{[4]}
\item \structure<3>{Python for s[0:0]?} \uncover<4->{[]}
\ei
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Implementation of An Abstract Object in Python}
\frametitle{Homework: Abstract Objects in Python}
See the sample files in the repo.
See the sample files Python in the repo and compare to Sequence specification.
\end{frame}
......@@ -213,7 +215,7 @@ None
\noindent new pointT ($x, y$):
\begin{itemize}
\item transition: $xc, yc := x, y$
\item output: $out := \mathit{self}$
\item output: \uncover<1>{\structure<1>{?}}\uncover<2->{$out := \mathit{self}$}
\item exception: none
\end{itemize}
......@@ -370,7 +372,7 @@ None
\noindent length:
\begin{itemize}
\item output: $out := s.\mbox{dist}(e)$
\item output: \uncover<1>{\structure{?}}\uncover<2->{$out := s.\mbox{dist}(e)$}
\item exception: none
\end{itemize}
......
## @file SequenceAO.py
# @author Spencer Smith
# @brief Implements an abstract object for a sequence, as specified
# in L9.
# in L9, program written in Python 2.7
# @date 1/24/2017
## @brief An Abstract Object that represents a sequence
......
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