CMSY 141 Computer Science I

This course provides an introduction to the C++ programming language - from basic algorithm development to object-oriented programming. Upon successful completion, students will be able to write C++ programs of moderate complexity and length which include standard data types, control structures, user-written and library functions, arrays, pointers, structures, recursion, stream I/O, and simple classes and objects.

Credits

4

Prerequisite

Pre- or corequisite: MATH 181 and eligible to enroll in ENGL 121

Hours Weekly

3 hours lecture, 2 hours lab weekly

Course Objectives

  1. 1. Demonstrate the use of an IDE to create a C++ program.
  2. 2. Declare and use variables of different data types.
  3. 3. Prepare programs which process input received from the keyboard and/or a text file and write output to
    the screen and/or a text file.
  4. 4. Demonstrate the use of selection constructs: if/else, conditional operator, and switch.
  5. 5. Demonstrate the use of looping constructs: while, do while, and for loop.
  6. 6. Create programmer-defined functions and use functions from the C++ standard library.
  7. 7. Demonstrate an understanding of arrays and how to use them using both array notation and pointer
    notation.
  8. 8. Demonstrate a basic understanding of recursive functions.
  9. 9. Demonstrate an understanding of pointers and the use of pointers in dynamic memory allocation.
  10. 10. Create programmer-defined structures, unions, and enumerations.
  11. 11. Prepare programs using classes and objects.
  12. 12. Demonstrate an understanding of constructors, destructors, instance and static members, friends of
    classes, and basic operator overloading.

Course Objectives

  1. 1. Demonstrate the use of an IDE to create a C++ program.
  2. 2. Declare and use variables of different data types.
  3. 3. Prepare programs which process input received from the keyboard and/or a text file and write output to
    the screen and/or a text file.
  4. 4. Demonstrate the use of selection constructs: if/else, conditional operator, and switch.
  5. 5. Demonstrate the use of looping constructs: while, do while, and for loop.
  6. 6. Create programmer-defined functions and use functions from the C++ standard library.
  7. 7. Demonstrate an understanding of arrays and how to use them using both array notation and pointer
    notation.
  8. 8. Demonstrate a basic understanding of recursive functions.
  9. 9. Demonstrate an understanding of pointers and the use of pointers in dynamic memory allocation.
  10. 10. Create programmer-defined structures, unions, and enumerations.
  11. 11. Prepare programs using classes and objects.
  12. 12. Demonstrate an understanding of constructors, destructors, instance and static members, friends of
    classes, and basic operator overloading.