Mar 29, 2024  
2020-2021 Course Catalog 
    
2020-2021 Course Catalog [ARCHIVED 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 (cout, cin)
    3. Investigate the different uses of the assignment operator (=, +=, x=y=z)
    4. Identify and include appropriate preprocessor directives
    5. Distinguish among relational operators
    6. Use relational and logical operators to write repetitive control structures (for, while, do..while)
    7. Use relational operator to write selection control structures (if, if..else, switch)
    8. Include logical operators in control structures
    9. Demonstrate error handling and input validation
    10. Use sentinel values, break and continue to control program flow.
  3. Investigate the concept of a structure
    1. Distinguish between the definition and the declaration of a structure
    2. Show how to access structure 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. Analyze the concept of C++ classes and objects
    1. Demonstrate the advantages of using classes in C++.
    2. Use objects for information hiding
    3. Write a class and declare an object
    4. Illustrate the use of the public, protected and private keywords
    5. Initialize objects through the use of constructor functions
    6. Demonstrate appropriate use of header and source files
    7. Show how to pass objects as arguments of functions and return objects from functions
  6. 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
  7. Create code using inheritance
    1. Design a program using base and derived classes
    2. Design a program that illustrates the use of public, private and protected members
    3. Demonstrate the use of copy constructor to create objects
    4. Differentiate between a programmer defined copy constructor and a default copy constructor
    5. Diagram class hierarchies and relationships between classes
    6. Discuss the allowance of multiple inheritance and the implications
  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



Add to Portfolio (opens a new window)