Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cas741
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
W. Spencer Smith
cas741
Commits
53b37bbe
Commit
53b37bbe
authored
5 years ago
by
W. Spencer Smith
Browse files
Options
Downloads
Patches
Plain Diff
Updates to MIS intro lecture
parent
ef30dd8e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Lectures/L14_MIS/MIS.pdf
+0
-0
0 additions, 0 deletions
Lectures/L14_MIS/MIS.pdf
Lectures/L14_MIS/MIS.tex
+86
-6
86 additions, 6 deletions
Lectures/L14_MIS/MIS.tex
with
86 additions
and
6 deletions
Lectures/L14_MIS/MIS.pdf
+
0
−
0
View file @
53b37bbe
No preview for this file type
This diff is collapsed.
Click to expand it.
Lectures/L14_MIS/MIS.tex
+
86
−
6
View file @
53b37bbe
...
...
@@ -146,14 +146,36 @@ Room for more volunteers. :-)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \begin{frame}
% \frametitle{Finish Previous Day's Discussion}
% \begin{itemize}
% \item Static Definition of Uses Relation
% \item Module Guide
% \item MG Template
% \item MG Verification
% \item OO versus modular
% \end{itemize}
% \end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle
{
Finish Previous Day's Discussion
}
\frametitle
{
MG + MIS Syntax Presentations
}
\begin{itemize}
\item
MG
\begin{itemize}
\item
Decomposition by secrets
\item
Interesting module secrets
\item
Uses relationship
\end{itemize}
\item
MIS Syntax
\begin{itemize}
\item
Static Definition of Uses Relation
\item
Module Guide
\item
MG Template
\item
MG Verification
\item
OO versus modular
\item
Access routine syntax (types of inputs and outputs)
\item
State variables
\item
Environment variables
\end{itemize}
\item
Likely better to discuss MG secret together with MIS syntax
\item
Not necessary to cover all details
\end{itemize}
\end{frame}
...
...
@@ -772,6 +794,64 @@ seq\_init():
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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}
\item
\structure
{
Abstract data type (ADT)
}
\begin{itemize}
\item
Consists of a collection of abstract objects and a collection of
procedures that can be applied to them
\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}
\item
\structure
{
Generic Modules
}
\begin{itemize}
\item
A single abstract description for a family of abstract objects or ADTs
\item
Parameterized by type
\item
Eliminates the need for writing similar specifications for modules that
only differ in their type information
\item
A generic module facilitates specification of a stack of integers, stack
of strings, stack of stacks etc.
\end{itemize}
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
[allowframebreaks]
\frametitle
{
References
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment