MS-201: Computer Programming in C++

Tentative Schedule
Winter 2001-2002
Week Period Topics Reading Assignment Lab

#1

Lecture 1 Course introduction
Prerequisite assessment
Intro to MFC Ch. 1. Electronic Submission.
Quiz 1.
Lecture 2 Computing terminology
Object-oriented design and UML
pages 1-23*.
Lecture 3 C++ fundamentals: included files, comments, fundamental objects, declarations, definitions, constants, names, lvalues/rvalues pages 24-46*.

#2

Lecture 1 C++ fundamentals: expressions, operator precedence, integer/floating arithmetic pages 79-89. Intro to software development process
Lab 1:  Quadratic Formula
Lecture 2 Assignment, const definitions, increment/decrement, static casts, input/output statements pages 668-671*.
Lecture 3 string class basics, Tag-team programming pages 941-947.
#3 Lecture 1 Control constructs: Boolean operations, if statement, conditional operator (?:), enumerated classes pages 59-69, 109-114, 176-179. Lab 2:  Counting Change
Lecture 2 Iteration: for, while, do/while pages 69-79, 91-99, 105-107.
Lecture 3 Tag-team programming  
#4 Lecture 1 Control constructs: switch statement, use cases pages 99-109, 114-133. Lab 3:  Nested Logic (Bandits problem)
Lecture 2 Review/Tag-team programming  
Lecture 3 Exam I  

Christmas Break (2 weeks)

#5 Lecture 1 Class basics
Libraries: iostream, iomanip, fstream
pages 675-690, 758-772. Lab 4:  User-defined functions (temperature conversion)
Lecture 2 Function usage
Libraries: cmath, cctype, cassert, cstdlib, ctime
pages 158-176.
Lecture 3 Tag-team programming  
#6 Lecture 1 Programmer-defined functions, scope, global data objects
Multi-file programs (.h, .cpp)
pages 179-185. Lab 5:  Arrays and sorting (Bubble sort)
Lecture 2 Parameters: value, reference, constant, default
Function overloading
pages 196-206*.
Lecture 3 Program design using functions/Tag-team programming  
#7 Lecture 1 Graphical user interface programming
Microsoft Foundation Classes (MFC)
Intro to MFC Chapters 2-4 Lab 6:  Vectors and 2-dim data structures (Tables and Matrices)
Lecture 2 Exam II  
Lecture 3 Array fundamentals, C-style character strings, passing arrays to functions, n-D arrays pages 240-279, 345-352.
#8 Lecture 1 Container classes
Standard Template Library (STL), vector class, sort algorithm
pages 972-993, 1028-1031. Final Project: Text Formatting
Lecture 2 String manipulation, string class member functions pages 947-958.
Lecture 3 Tag-team programming  
#9 Lecture 1 String streams pages 960-964.
Lecture 2 Lab project design issues  
Lecture 3 STL list class, comparing vector and list pages 993-997.
#10 Lecture 1 STL iterators pages 978-983.
Lecture 2 Tag-team programming  
Lecture 3 Final review  
#11 Exam week Final exam    
This page was last updated on April 22, 2003 ; send comments to Dr. Jeffrey J. Blessing