CPSC 122
This is the first course in object oriented programming using C++. The concepts of data as objects will be introduced and classes, hierarchies and other object oriented concepts are used to design real-world object oriented programs
Credits: 3
Hours:
Total Hours: 90
Lecture Hours: 45
Laboratory Hours: 45
Total Weeks: 15
This course is offered online: No
Prerequisites: One of Principles of Math 12, Foundations 12, Pre-Calculus 12, Math 050 or CPSC 111
Learning Outcomes:
- How to compile and run a simple program
-
How to declare variables
-
How to write arithmetic expressions
-
How to write statements that read from keyboard
-
How to define simple functions
-
How to benefit from procedure abstraction
-
How to work with local and global variables
-
How to create classes and objects
-
How to define member functions
-
How to define constructor member functions
-
How to define reader and writer member functions
-
How to benefit from data abstraction
-
How to protect member variables from harmful reference
-
How to define classes that inherit variables and functions
-
How to design classes and class hierarchies
-
How to perform tests using numerical predicates
-
How to write one-way and two-way conditional statements
-
How to combine Boolean expressions
-
How to write iteration statements
-
How to process data in files
-
How to work with arrays of numbers
- How to work with arrays of class objects
-
How to create file streams for input and output
-
How to write multi-way conditional statements
-
How to use enumerations to improve readability
-
How to write functions that return character strings
-
How to use call-by-reference parameters
-
How to overload the output operator
-
How to produce tabular displays
-
How to write statements that read character strings from files
-
How to test string characters
-
How to deposit character strings into class objects
-
How to organize and compile a multiple-file program
-
How to write recursive functions
- How to solve definition ordering problems with function prototypes 27
-
How to create new class objects at run time
Grading System: Letters
Passing Grade: D (50%)
Percentage of Individual Work: 90
Percentage of Group Work: 10
Course Offered in Other Programs: Yes
Other Programs: Associate of Arts Degree, University Arts and Sciences certificates
Textbooks: Textbooks are subject to change. Please contact the bookstore at your local campus for current book lists.