Skip to content
Snippets Groups Projects
IntroToCourse.tex 11.1 KiB
Newer Older
  • Learn to ignore specific revisions
  • %\documentclass[handout]{beamer} 
    \documentclass[t,12pt,numbers,fleqn]{beamer}
    %\documentclass[ignorenonframetext]{beamer}
    
    \newif\ifquestions
    %\questionstrue
    \questionsfalse
    
    \usepackage{pgfpages} 
    \usepackage{hyperref}
    \hypersetup{colorlinks=true,
        linkcolor=blue,
        citecolor=blue,
        filecolor=blue,
        urlcolor=blue,
        unicode=false}
    \urlstyle{same}
    
    \usepackage{booktabs}
    
    \usepackage{bibentry}
    \usepackage[round, authoryear]{natbib}
    \bibliographystyle{plainnat}
    
    
    %\usetheme{Iimenau}
    
    \useoutertheme{split} %so the footline can be seen, without needing pgfpages
    
    %\pgfpagesuselayout{resize to}[letterpaper,border shrink=5mm,landscape]  %if this is uncommented, the hyperref links do not work
    
    \mode<presentation>{}
    
    \input{../def-beamer}
    
    
    
    \input{../titlepage}
    
    \begin{document}
    
    
    \nobibliography{../../ReferenceMaterial/References}
    
    
    \input{../footline}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Introduction to CAS 741 (CES 741)}
    
    \bi
    \item Administrative details
    
    \item Introductions
    \item Course outline
    \item Requirements
    \ei
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Administrative Details}
    
    \begin{itemize}
    
    
    \item Lecture times (ITB/222)
    
    \begin{itemize}
    
    \item Wednesdays, 10:30 am to 12:00 noon
    \item Fridays, , 10:30 am to 12:00 noon
    
    \end{itemize}
    \item This course uses Avenue
    \begin{itemize}
    \item \url{http://avenue.mcmaster.ca/} 
    
    \item Consider putting a picture up on Avenue
    
    \end{itemize}
    \item We'll also use git on GitLab for the course material
    \begin{itemize}
    \item \url{https://gitlab.cas.mcmaster.ca/}
    \item Create your account by logging in
    \item Course material and issue tracking at \url{https://gitlab.cas.mcmaster.ca/smiths/cas741}
    \end{itemize}
    \item Your projects will be hosted on GitHub
    \begin{itemize}
    \item \url{https://github.com/}
    \item Create an account, if you do not already have one
    
    \item Give the instructor (me) master access to your repo
    
    \end{itemize}
    
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Overview of the Course}
    
    \begin{itemize}
    
    \item Application of software engineering methodologies to improve the quality
      of scientific computing software
    \item \structure{What is the definition of scientific computing?}
    \item \structure{What are some examples of scientific computing and scientific
        computing software?}
    \item \structure{What is the definition of software engineeing?}
    \item \structure{What are some techniques, tools and principles for software
        engineering?}
    
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Scientific Computing (SC)}
    
    \begin{itemize}
    
    \item Scientific computation consists of using computer tools to simulate
      mathematical models of real world systems so that we can better understand and
      predict the system’s behaviour.
    \item Examples
    \bi
    \item Temperature of fuel-pin in nuclear reactor
    \item Flow of pollutant in groundwater
    \item Displacement of a structure
    \item Thickness of cast film
    \item Temperature of water in a solar water heating tank over time
    \item etc.
    \ei
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Software Engineering (SE)}
    
    \begin{itemize}
    \item An area of engineering that deals with the development of software systems that
    \begin{itemize}
    \item Are large or complex
    \item Exist in multiple versions
    \item Exist for large period of time
    \item Are continuously being modified
    \item Are built by teams
    \end{itemize}
    \item Software engineering is ``application of a systematic, disciplined, quantifiable approach to the development,
    operation and maintenance of software'' (IEEE 1990)
    \item D.\ Parnas (1978) defines software engineering as ``multi-person construction of multi-version software''
    \item Like other areas of engineering, software engineering relies heavily on mathematical techniques, especially
    logic and discrete mathematics
    \item SE might be applied to SC for software certification
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    \begin{frame}
    \frametitle{SE Tools, Techniques and Principles}
    
    \begin{itemize}
    \item Tools
    \bi
    \item Programming languages
    \item Version control software (git, svn, etc)
    \item Debugger
    \item Profiler
    \item ...
    \ei
    \item Techniques
    \bi
    \item Documentation
    \item Testing
    \item Program families
    \item Code generation
    \item ...
    \ei
    \item Principles
    \bi
    \item Information hiding
    \item Least privelege
    \item ...
    \ei
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    \begin{frame}
    \frametitle{Instructor}
    
    \begin{itemize}
    
    \item Instructor
    \begin{itemize}
    \item Dr.\ Spencer Smith ({\tt smiths@mcmaster.ca})
    \item ITB/167
    \item Drop in or make an appointment
    \end{itemize}
    
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    
    \frametitle{Introduction: Dr.\ Spencer Smith} 
    
    \begin{itemize}
     
       \item Associate Professor, Department of Computing and Software.
       
       \item B.Eng.C.S, Civil Engineering Department, McMaster University. \\
             M.Eng., Ph.D., Civil Engineering Department, McMaster University.
     
       \item P.Eng.~(Licensed Professional Engineer in Ontario).
     
       \item \structure{Teaching}: Software design, scientific computing, introduction to computing, 
         communication skills, software project management.
     
       \item \structure{Research}: Application of software engineering methodologies to improve the quality of
         scientific computing software.
     
     \end{itemize}
    
    \end{frame}   
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Introductions}
    
    \begin{itemize}
    \item Your name
    \item Degree program
    \item Academic background
    \item Experience with:
    \begin{itemize}
    \item Scientific computing
    \item Continuous math
    \item Discrete math
    \item Software engineering
    \item Software development technology
    \bi
    \item Git
    \item GitHub or GitLab
    \item LaTeX
    \item Make etc.
    \ei
    \end{itemize}
    \item What do you hope to get out of this course?
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Course Introduction}
    
    \begin{itemize}
    \item Calendar description
    \begin{itemize}
    \item Principles of software development for reliable scientific and engineering software
    \item Systematic process for development and documentation of
    \bi
    \item Requirements
    \item System architecture
    \item Detailed design
    \item Implementation
    
    \item Verification and Validation Plan
    \item Verification and Validation Report
    
    \ei
    \end{itemize}
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Course Project}
    
    \begin {itemize}
    
    \item Select a candidate SC problem
    \bi
    \item Requires approval from instructor
    \item Will accommodate your interests as much as feasible
    \item Select a project related to your research
    \item Scope needs to be feasible within one term
    \ei
    \item Milestones
    \be
    \item Software Requirements Specification (SRS)
    \item Module Guide (MG)
    \item Module Interface Specification (MIS)
    \item Implementation (and appropriate programming language)
    
    \item VnV Plan
    \item VnV Report
    
    \ee
    \item Deliverables can potentially be modified to provide project flexibility
    \end {itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    
    \frametitle{``Faked'' Rational Design Process}
    
    \begin{center}
    
    \includegraphics[scale=0.4]{../Figures/Waterfall.pdf}
    
    \end{center}
    
    See Parnas and Clements 1986 about ``Faking It''
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    \begin{frame}
    
    \frametitle{Our ``Faked'' Process}
    
    \begin{center}
    \includegraphics[scale=0.55]{../Figures/VModelOfProcess.pdf}
    \end{center}
    \vspace{-1.0cm}
    V Model
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    
    \frametitle{Our Deliverables}
    
    \begin{center}
    \includegraphics[scale=0.55]{../Figures/VModelOfProcessXOut.pdf}
    \end{center}
    \vspace{-1.0cm}
    Not all docs necessary
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    \begin{frame}
    \frametitle{Course Structure}
    
    \begin {itemize}
    
    \item Student and instructor presentations
    \item Classroom discussions
    \item Will present a subset of your documentation for in-class feedback
    \item Structure from our documentation
    \item Use GitHub issue tracker for feedback from other students
    
    \end {itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Grade Assessment}
    
    \begin {enumerate}
    
    \item Presentations and class discussion 10\%
    
    \item Quality of GitHub issues provided to classmates 5\%
    
    
    \item Problem Statement 0\%
    
    
    \item System Requirements Specification (SRS) 20\%
    
    
    \item Verification and Validation Plan 15\%
    \begin{itemize}
    \item System VnV Plan 10\%
    \item Unit VnV Plan 5\%
    \end{itemize}
    
    \item Module Guide (MG) 5\%
    
    \item Module Interface Specification (MIS) 15\%
    
    
    \item Final Documentation (including revised versions of previous documents,
    
      plus the source code and a testing reports (System and Unit)) 30\%
    
    
    \end {enumerate}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Policy Statements}
    
    \begin {itemize}
    
    \item Ideas to improve the course are welcomed
    
    \item Missed/late work please communicate in advance, or a penalty of 20 \% per
      working day
    
    \item If there is a problem with discrimination please contact the Department
      Chair, or other appropriate body
    
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    \begin{frame}
    \frametitle{Academic Dishonesty}
    
    \begin {itemize}
    
    \item Academic dishonesty consists of misrepresentation by deception or by other fraudulent means
    \item Can result in serious consequences, e.g. the grade of zero on an assignment, loss of credit with a notation on
    the transcript, and/or suspension or expulsion from the university.
    \item It is your responsibility to understand what constitutes academic dishonesty
    \item Three examples of academic dishonesty
    \begin{itemize}
    \item Plagiarism
    \item Improper collaboration
    \item Copying or using unauthorized aids in tests and examinations
    \end{itemize}
    \item Academic dishonesty will not be tolerated!
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    \begin{frame}
    \frametitle{Assigned Reading}
    
    \begin {itemize}
    
    
    \item \href{https://gitlab.cas.mcmaster.ca/smiths/cas741/blob/master/ReferenceMaterial/SoftEngForScienceBook.pdf}{\bibentry{Smith2016}}
    \item \href{https://gitlab.cas.mcmaster.ca/smiths/cas741/blob/master/ReferenceMaterial/SmithLaiAndKhedri2007fulltext.pdf}{\bibentry{SmithEtAl2007}}
    
    \item \href{https://github.com/smiths/swhs}{Solar Water Heating System Example}
    
    \end{itemize}
    
    \end{frame}
    
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    
    
    \end{document}