Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
se2aa4_cs2me3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
se2aa4_cs2me3
Commits
7843966c
Commit
7843966c
authored
7 years ago
by
W. Spencer Smith
Browse files
Options
Downloads
Patches
Plain Diff
Updates to L07 - introduction to modules
parent
4ac22de1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Lectures/L07_ModuleIntroduction/IntroductionToModules.pdf
+0
-0
0 additions, 0 deletions
Lectures/L07_ModuleIntroduction/IntroductionToModules.pdf
Lectures/L07_ModuleIntroduction/IntroductionToModules.tex
+28
-51
28 additions, 51 deletions
Lectures/L07_ModuleIntroduction/IntroductionToModules.tex
with
28 additions
and
51 deletions
Lectures/L07_ModuleIntroduction/IntroductionToModules.pdf
+
0
−
0
View file @
7843966c
No preview for this file type
This diff is collapsed.
Click to expand it.
Lectures/L07_ModuleIntroduction/IntroductionToModules.tex
+
28
−
51
View file @
7843966c
...
...
@@ -22,7 +22,7 @@
\mode
<presentation>
{}
\input
{
../def-beamer
}
\Draft
tru
e
\Draft
fals
e
\newcommand
{
\topicTitle
}{
07 Introduction to Modules (Ch.
\
4)
}
\ifDraft
...
...
@@ -45,12 +45,15 @@
\begin{itemize}
\item
Administrative details
\item
Unix command of the day:
{
\tt
ps
}
\item
What is a Software Module?
\item
Components of a Module
\item
The Module Interface
\item
The Module Implementation
\item
Examples of Modules
\item
What is a software module?
\item
Program families
\item
Components of a module
\item
The module interface
\item
The module implementation
\item
Information hiding
\item
Examples of modules
\item
Example of a vector module
\item
Homework exercise on intersection
\end{itemize}
\end{frame}
...
...
@@ -67,52 +70,18 @@ TBD
\begin{itemize}
\item
Assignment 1
\begin{itemize}
\item
Files due by midnight January 28
\item
E-mail partner files by January 28
\item
Lab report due February 2
\item
Using Python 2.7, doxygen, make, LaTeX, git
\item
Make sure everything runs on mills
\item
Part 1: January 22, 2018
\item
Partner Files: January 28, 2018
\item
Part 2: January 31, 2018
\end{itemize}
\item
Combining 2aa and 2me on Avenue
\end{itemize}
}
\fi
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle
{
Assignment Submission on GitLab
}
\ifDraft
TBD
\else
{
Each student will have a project in the
\href
{
https://gitlab.cas.mcmaster.ca/se2aa4
_
cs2me3
_
assignments
}{
se2aa4
\_
cs2me3
\_
assignments
}
group on GitLab. Your project is named to match your macid.
\begin{enumerate}
\item
{
\tt
git clone https://gitlab.cas.mcmaster.ca/
se2aa4
\_
cs2me3
\_
assignments/[macid].git
}
\item
Make changes to files
\item
{
\tt
git status
}
to see what files have been modified
\item
Add your files using
{
\tt
git add [filename]
}
\item
{
\tt
git commit
}
to commit your changes
\item
{
\tt
git push
}
to push your changes to the repo
\end{enumerate}
\begin{itemize}
\item
You only need to clone once
\item
Questions on assignment?
\item
Rather than work with the files elsewhere and copy over at the last
minute, you should work with the repo versions
\item
Frequent commits are a great habit to get into
\item
Frequent commits are a great habit to get into
%show of hands on who makes
%frequent commits?
\end{itemize}
}
\fi
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
...
...
@@ -201,7 +170,7 @@ group on GitLab. Your project is named to match your macid.
\begin{frame}
\frametitle
{
Sample Likely Changes
}
What are some examples of likely changes for software?
\structure
{
What are some
common
examples of likely changes for software?
}
\end{frame}
...
...
@@ -430,7 +399,7 @@ the module
\item
Basis for design (that is modular decomposition (Module Guide))
\item
Implementation secrets are hidden to clients
\item
Secret can be changed freely if the change does not affect the interface
\item
\
structure
{
Try to e
ncapsulate changeable design decisions as
\item
\
emph
{
E
ncapsulate changeable design decisions as
implementation secrets within module implementations
}
\end{itemize}
...
...
@@ -632,10 +601,18 @@ orthog($x, y$):\\
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}
\frametitle
{
Formal Version of Intersect
}
\frametitle
{
Homework: Formal Version of Intersect
}
\structure
{
In natural language, how would you describe the intersection of two
circles?
}
\\
~
\\
%Is it the intersection of the curve that defines the circle, or does
%the circle include the points on its interior? For the case where the inside
%of the circle is included, is the curve itself included?
How would you write the semantics for circle intersection to make it
unambiguous?
\structure
{
How would you write a formal version of circle intersection to make
it unambiguous? From A1-2017, how would you write the semantics for
\texttt
{
intersect(c)
}
?
}
\end{frame}
...
...
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