CSC 1100 Lecture 3: CSC1100-DanO-Session03Notes-2019-0115
1 of 5
CSC 1100 – Problem Solving and Programming
Session 3 Notes – 15 January 2019
Administrative
Today’s session
Chapter 2
– C++ template
– Software lifecyle
– Program components
– Comments
– Whitespace
– Preprocessor directives
Session Topics
C++ template
● The C++ template shows the layout that every program you write should have.
● See C++ template on Canvas.
Software lifecycle
● Programming is part of a larger process.
● A software lifecycle is an organized approach to developing software.
● Here are the two most common lifecycle definitions:
Waterfall model
● The waterfall model began around 1970.
● The waterfall model is based on models from the manufacturing and construction
industries.
find more resources at oneclass.com
find more resources at oneclass.com
2 of 5
CSC 1100 – Problem Solving and Programming
Session 3 Notes – 15 January 2019
Agile model
● Principles of the agile model were published in 2001.
● The agile model consists of:
✓ An iteration lasting from 2-4 weeks. An iteration is one loop around the
diagram below.
✓ A daily “standup” meeting to report status and potential issues.
find more resources at oneclass.com
find more resources at oneclass.com
Document Summary
The c++ template shows the layout that every program you write should have. Programming is part of a larger process. A software lifecycle is an organized approach to developing software. Here are the two most common lifecycle definitions: The waterfall model is based on models from the manufacturing and construction industries. Principles of the agile model were published in 2001. An iteration is one loop around the diagram below. A daily standup meeting to report status and potential issues. Is usually terminated with a special character (; in c++). A program is a sequence of computer instructions that: A program is written in one or more programming languages. A function is a named group of statements that perform a task. A program consists of one or more functions. A statement is a single instruction that: A function consists of one or more statements. Syntax is the set of rules determining what a legal programming statement is.