C++ for the C programmer

National Science Foundation
Foundations of the Future
Vermont State Colleges and Technical Centers

 

Module 4a: C++ Programming for the C programmer (Level 1). (1 cr)

  1. 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).
  2. The learner is expected to have the following preparation:
    1. knowledge of a C compiler and the ability create and run simple programs
    2. the ability to write C functions and the difference between pass-by-value and pass-by-reference arguments
    3. the ability to use selection (if-then-else and switch) and repetition (while, do-while, and for) constructs correctly
  3. Partnership courses satisfying this module: CCV CIS 2042, VTC 2260, Tech Center AP Programming pre 2003-4 with passing score on AP A exam
  4. Evaluation for prerequisite skills is based on the comprehensive exam for the C module:
    1. a multiple choice test covering the notions, rules, exceptions, and typical uses of the prerequisite skills at a 70% level
    2. a demonstration of the construction of a program using all the prerequisite skills
  5. 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)
  6. To demonstrate knowledge and competence in the module, the learner will:
    1. pass a multiple choice test covering the notions, rules, exceptions, and typical uses of the new material at a 85% level
    2. 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.

 

Updated 7/20/04 Contact: Mike Bozonie for information