Dec 26, 2024  
2024-2025 Course Catalog 
    
2024-2025 Course Catalog
Add to Portfolio (opens a new window)

CIS 161 - C++

Credits: 3
Lecture Hours: 2
Lab Hours: 2
Practicum Hours: 0
Work Experience: 0
Course Type: Voc/Tech
Students will examine the structure of typical C++ programs, explore the concepts of object-oriented programming and design business applications in C++.
Competencies
  1. Utilize an Integrated Development Environment (IDE)
    1. Write, compile, link and execute a simple C++ program to produce a working application
    2. Use the native debugging tools
  2. Perform basic C++ syntax, coding structures and operations
    1. Use C++’s primitive data types as variables and constants including data type conversion (casting)
    2. Use the iostream class for appropriate input and formatted output (cin, cout)
    3. Investigate the different uses of the assignment operator (=, +=, x=y=z)
    4. Distinguish among relational operators
    5. Use relational and logical operators to write repetitive control structures (for, while, do..while)
    6. Use relational operator to write selection control structures (if, if..else, switch)
    7. Include logical operators in control structures
    8. Demonstrate error handling and input validation
    9. Use sentinel values, break and continue to control program flow
  3. Investigate the concepts of structures and enumerations
    1. Distinguish between structure objects and a structure’s definition
    2. Show how to access a structure’s members
    3. Demonstrate the use of enumerated data types
  4. Outline the various components of a C++ function
    1. Illustrate passing arguments to functions and returning values from functions
    2. Distinguish between passing by value and passing by reference
    3. Demonstrate function overloading
    4. Write in-line functions
    5. Write prototype functions
    6. Demonstrate the ability to use functions to refactor code
    7. Demonstrate the use of pointers as function parameters
  5. Examine arrays
    1. Define and process a one-dimensional array
    2. Define and process multi-dimensional arrays
    3. Define and process arrays of object-oriented data
    4. Pass arrays to and from functions
    5. Demonstrate the use of arrays with pointers
  6. Analyze the concept of C++ classes and objects
    1. Demonstrate the advantages of using classes in C++
    2. Identify when to apply public, private and protected
    3. Write and use mutators and accessors
    4. Demonstrate object initialization using constructors
    5. Use constructor overloading
    6. Write code organized in header and source files
    7. Show how to use objects as function arguments and return types
  7. Create code using inheritance and polymorphism
    1. Design a program using base and derived classes
    2. Write functions that override base class member functions
    3. Demonstrate the use of virtual to enable runtime polymorphism
    4. Diagram class hierarchies and relationships between classes
    5. Design an object-oriented program using is-a versus has-a relationships
  8. Examine the use of pointers in C++
    1. Explain the idea of addresses and pointers
    2. Illustrate the use of the reference operator (&)
    3. Declare and initialize pointers
    4. Dereference pointers
    5. Demonstrate use of relational operators in pointer comparisons
  9. Illustrate C++ file input/output through stream classes
  10. Demonstrate code readability, application testing and communication to other developers
    1. Demonstrate the use of comments, good code layout and coding conventions
    2. Develop strategies for testing your program including the use of unit testing framework

Competencies Revised Date: 2020



Add to Portfolio (opens a new window)