This course is designed to introduce computer programming in C++. Emphasis will be placed on structured procedural programming with an introduction to object-oriented programming. C++ data types, identifiers, programming constructs, functions, pointers, structures, Classes and arrays will be covered in detail with examples.
Course dates and Schedule: http://deanza.fhda.edu/calendar/winterdates.html
Week 1: Read Chapter 1 and 2 |
Programming language overview, Compare and contrast procedural versus object oriented programming languages. describe flow chart, Software development cycle, Testing and execution. Describe a general C++ program structure and its syntax. | |
Week 2: Read Chapter 1 and 2 |
Why C++, What is C++, How C++, Structure of C++ program, C++ data types, variables, printing to console/standard output, reading from console/standard input (cin/cout). Describe C++ include directive, Cout/Cin and its syntax. |
|
Week 3: Read Chapter 3 and 4 | C++ expressions, Formatting input/output, C++ operators, relational operators, control statements, if, switch, examples. Illustrate constants, variables, definition and declaration, Discuss primitive data types. Discuss operators, expression formats. |
|
Week 4: Read Chapter 3 and 4 | C++ operators review, relational operators, control statements, if, switch, examples. Decision statemnets and their purpose and structure. Syntax of if switch control statements and their formats, Relational operators Logical operators, Expanding the 'if' with 'else' and 'else if' , The 'switch' statement | |
Week 5: Read Chapter 5 and 6 |
C++ loops, while, do-while, for loop, C++ Functions | |
Week 6: Read Chapter 5 and 6 |
Review Chapters 1 - 5. Discuss various programs to help seal understanding of C++ syntax. Illustrate using programs from textbook Chapters 1-5 as a review | |
Week 7: |
Introduce C++ blocks and functions. Midterm: Feb 19 | |
Week 8: Read Chapter 5 and 6 |
C++ functions/methods in programs for clarity and efficiency in code development. Discuss Passing arguments to parameters, Pass by value , Pass by reference , Software engineering: modular programming to help understand the purpose of functions | |
Week 9: Read Chapter 7 |
Introduction to One-dimensional Arrays, Accessing array elements - Initialization | |
Week 10: Read Chapter 7 |
Accessing array elements - Initialization , Processing array contents Application of arrays - Sequential search, Selection sortC++ pointers, Pointers and Arrays | |
Week 11: Read Chapter 10 |
Review of arrays and functions; String API, C-Strings examples, Introduce C++ pointers | |
Week 12 |
Review and Finals: Mar 26, at 6:15PM |