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

Updates to MIS continued lecture - added example, updated admin details,...

Updates to MIS continued lecture - added example, updated admin details, repeat of some earlier content for review
parent 1dfb2311
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -46,8 +46,11 @@ ...@@ -46,8 +46,11 @@
\bi \bi
\item Administrative details \item Administrative details
\item Feedback on System VnV Plan %\item Feedback on System VnV Plan
\item Questions? \item Questions?
\item Take up Homework
\item Review: Records, Libraries, ADTs, Abstract Objects, Generic ADTs
\item Example - Student data
\item Exceptions \item Exceptions
\item Quality criteria \item Quality criteria
\item Modules with external interaction, enviro variables \item Modules with external interaction, enviro variables
...@@ -61,24 +64,23 @@ ...@@ -61,24 +64,23 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} % \begin{frame}
\frametitle{Administrative Details} % \frametitle{Administrative Details}
\bi % \bi
\item GitHub issues for colleagues % \item GitHub issues for colleagues
\bi % \bi
\item Assigned 1 colleague (see \texttt{Repos.xlsx} in repo) % \item Assigned 1 colleague (see \texttt{Repos.xlsx} in repo)
\item Provide at least 2 issues on their MG % \item Provide at least 2 issues on their MG
\item Grading as before % \item Grading as before
\item Due by yesterday (Thursday), Nov 8 at 11:59 pm % \item Due by yesterday (Thursday), Nov 8 at 11:59 pm
\ei % \ei
\item MIS template in CAS 741 repo % \item MIS template in CAS 741 repo
\ei % \ei
\end{frame} % \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} \begin{frame}
\frametitle{Administrative Details: Report Deadlines} \frametitle{Administrative Details: Report Deadlines}
~\newline ~\newline
...@@ -104,8 +106,7 @@ Final Documentation & Week 14 & Dec 9\\ ...@@ -104,8 +106,7 @@ Final Documentation & Week 14 & Dec 9\\
~\newline ~\newline
\begin{tabular}{l l l} \begin{tabular}{l l l}
MG + MIS Syntax Present & Week 9 & Week of Nov 4\\ \textbf{MIS Semantics Present} & Week 11 & Week of Nov 18\\
MIS Semantics Present & Week 11 & Week of Nov 18\\
Unit VnV or Impl.\ Present & Week 12/13 & Week of Nov 28\\ Unit VnV or Impl.\ Present & Week 12/13 & Week of Nov 28\\
\end {tabular} \end {tabular}
...@@ -124,11 +125,7 @@ Unit VnV or Impl.\ Present & Week 12/13 & Week of Nov 28\\ ...@@ -124,11 +125,7 @@ Unit VnV or Impl.\ Present & Week 12/13 & Week of Nov 28\\
\frametitle{Administrative Details: Presentation Schedule} \frametitle{Administrative Details: Presentation Schedule}
\bi \bi
\item MG + MIS Syntax Present \item \textbf{MIS Syntax + Semantics Present}
\bi
\item Thursday: \textbf{Sasha, ?, ?}
\ei
\item MIS Syntax + Semantics Present
\bi \bi
\item Monday: Zhi, Peter, \emph{Sasha} \item Monday: Zhi, Peter, \emph{Sasha}
\item Thursday: Sharon, Ao, ? \item Thursday: Sharon, Ao, ?
...@@ -158,32 +155,110 @@ Room for more volunteers. :-) ...@@ -158,32 +155,110 @@ Room for more volunteers. :-)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \begin{frame}
% \frametitle{Feedback on System VnV Plan}
% \begin{itemize}
% \item \LaTeX{}
% \begin{itemize}
% \item Rules for spacing after a period
% \item ``quotation marks''
% \item Spell check and proof read
% \end{itemize}
% \item Template
% \begin{itemize}
% \item Can remove Section 6: ``Static Verification Techniques''
% \item Explain why there is no validation plan
% \item Measuring error in vectors
% \item Include rationale for test cases
% \item Include information on how expected output was calculated
% \item Don't forget parallel testing
% \end{itemize}
% \end{itemize}
% \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} \begin{frame}
\frametitle{Take up Homework}
\end{frame}
\frametitle{Feedback on System VnV Plan} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Examples of Modules \cite{GhezziEtAl2003}}
\begin{itemize}
\item \structure{Record}
\begin{itemize}
\item Consists of only data
\item Has state but no behaviour
\end{itemize}
\item \structure{Collection of related procedures (library)}
\begin{itemize}
\item Has behaviour but no state
\item Procedural abstractions
% like many routines in a scientific computing library
\end{itemize}
\item \structure{Abstract object}
\begin{itemize}
\item Consists of data (\structure{fields}) and procedures (\structure{methods})
\item Consists of a collection of \structure{constructors},
\structure{selectors}, and \structure{mutators}
\item Has state and behaviour
\end{itemize}
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Examples of Modules Continued}
\begin{itemize} \begin{itemize}
\item \LaTeX{}
\item \structure{Abstract data type (ADT)}
\begin{itemize} \begin{itemize}
\item Rules for spacing after a period \item Consists of a collection of abstract objects and a collection of
\item ``quotation marks'' procedures that can be applied to them
\item Spell check and proof read \item Defines the set of possible values for the type and the associated
procedures that manipulate instances of the type
\item Encapsulates the details of the implementation of the type
\end{itemize} \end{itemize}
\item Template \item \structure{Generic Modules}
\begin{itemize} \begin{itemize}
\item Can remove Section 6: ``Static Verification Techniques'' \item A single abstract description for a family of abstract objects or ADTs
\item Explain why there is no validation plan \item Parameterized by type
\item Measuring error in vectors \item Eliminates the need for writing similar specifications for modules that
\item Include rationale for test cases only differ in their type information
\item Include information on how expected output was calculated \item A generic module facilitates specification of a stack of integers, stack
\item Don't forget parallel testing of strings, stack of stacks etc.
\end{itemize} \end{itemize}
\end{itemize} \end{itemize}
\end{frame} \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle{Example Student Data}
\begin{itemize}
\item
\href{https://gitlab.cas.mcmaster.ca/smiths/se2aa4_cs2me3/blob/master/Assignments/A2/A2.pdf}
{Problem Description}
\item
\href{https://gitlab.cas.mcmaster.ca/smiths/se2aa4_cs2me3/tree/master/Assignments/A2/A2Soln/src}
{Source Code}
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame} \begin{frame}
\frametitle{Exception Signalling} \frametitle{Exception Signalling}
......
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