Module 4a: C++ Programming for the C programmer (Level 1). (1 cr)
This module will draw attention to the differences between the C programming language and the C++ programming language at the level of knowledge commonly referred to as CS1. As such, it will focus on: 1) the use of cin, cout, and endl to replace scanf, printf and \n, 2) the use of I/O streams and their relationship to cin and cout through derived classes, and 3) the definition and elementary use of the C++ object class and member functions (using the ADT as an intermediate step).
The learner is expected to have the following preparation:
knowledge of a C compiler and the ability create and run simple programs
the ability to write C functions and the difference between pass-by-value and pass-by-reference arguments
the ability to use selection (if-then-else and switch) and repetition (while, do-while, and for) constructs correctly
Partnership courses satisfying this module: CCV CIS 2042, VTC 2260, Tech Center AP Programming pre 2003-4 with passing score on AP A exam
Evaluation for prerequisite skills is based on the comprehensive exam for the C module:
a multiple choice test covering the notions, rules, exceptions, and typical uses of the prerequisite skills at a 70% level
a demonstration of the construction of a program using all the prerequisite skills
The module maps the difference between a typical C language first course and a typical C++ first language course (xx.yy to xx.zz in the lattice)
To demonstrate knowledge and competence in the module, the learner will:
pass a multiple choice test covering the notions, rules, exceptions, and typical uses of the new material at a 85% level
write, debug, and submit two (2) programs demonstrating each of the new topics (note that this may be done with more than two programs if programs do not utilize all module topics) that correctly perform the task requested.