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.
Hours Weekly
3 hours lecture, 2 hours lab weekly
Course Objectives
- Demonstrate the use of an IDE to create a C++ program.
- Declare and use variables of different data types.
- 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.
- Demonstrate the use of selection constructs: if/else, conditional operator, and switch.
- Demonstrate the use of looping constructs: while, do while, and for loop.
- Create programmer-defined functions and use functions from the C++ standard library.
- Demonstrate an understanding of arrays and how to use them using both array notation and pointer
notation. - Demonstrate a basic understanding of recursive functions.
- Demonstrate an understanding of pointers and the use of pointers in dynamic memory allocation.
- Create programmer-defined structures, unions, and enumerations.
- Prepare programs using classes and objects.
- Demonstrate an understanding of constructors, destructors, instance and static members, friends of
classes, and basic operator overloading.
Course Objectives
- Demonstrate the use of an IDE to create a C++ program.
- Declare and use variables of different data types.
- 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.
- Demonstrate the use of selection constructs: if/else, conditional operator, and switch.
- Demonstrate the use of looping constructs: while, do while, and for loop.
- Create programmer-defined functions and use functions from the C++ standard library.
- Demonstrate an understanding of arrays and how to use them using both array notation and pointer
notation. - Demonstrate a basic understanding of recursive functions.
- Demonstrate an understanding of pointers and the use of pointers in dynamic memory allocation.
- Create programmer-defined structures, unions, and enumerations.
- Prepare programs using classes and objects.
- Demonstrate an understanding of constructors, destructors, instance and static members, friends of
classes, and basic operator overloading.