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