Dec 21, 2024  
Undergraduate College Catalog 2024-2025 
    
Undergraduate College Catalog 2024-2025

COMP 118 - Object-Oriented Programming


An introduction to the Object-Oriented Programming (OOP) paradigm. Emphasis is placed on a review of purely procedural programming with a transition to the use of objects, specifically the use of the C++ class mechanism. Coverage will include detailed probes of memory used in the elementary data structures of variables, arrays, and lists, including when allocated on either the runtime stack or heap. Topics will include pointers, recursion, operator overloading, and the use of inheritance for code reuse and extensibility. Solutions will emphasize good software engineering skills, including the steps that lead to verify “program correctness.” Specifically, how to write good (internal) documentation in your programs, including logical invariants for your loops and pre- and post-conditions standards for documenting functions and methods.

Prerequisites
COMP 115  with a grade of C- or higher, or permission of instructor.

Credits 4



Area
Math and Computer Science

Foundation
Quantitative Analysis

Compass Attributes
Quantitative Analysis