Java for the C++ programmer

 

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

 

Module 4c: Java for the C++ programmer.

  1. This module will draw attention to the differences between the C++ and Java programming language at the level of knowledge commonly referred to as CS1. As such, it will focus on: 1) the use System.in/.out to replace cin, cout, and endl used in C++, 2) the alternatives for I/O, and 3) the Java 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. Patnership courses satisfying this module: CCV CIS 2271, Tech Center AP Programming starting year 2003-4 with AP exam level A
  4. Evaluation will be 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 Java first language course
  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