Nov 23, 2024  
2018-2019 Course Catalog 
    
2018-2019 Course Catalog [ARCHIVED CATALOG]

Add to Portfolio (opens a new window)

CIS 161 - C++

Credits: 3
Lecture Hours: 3
Lab Hours: 0
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 a simple C++ program
    2. Save the program code to disk
    3. Compile/Link the program to produce a working application program
  2. Demonstrate mastery of common editing tasks
    1. Search for and replace text
    2. Perform the tasks of cutting and pasting blocks of text
    3. Switch between different parts of the IDE
  3. Modify the Integrated Development Environment
    1. Designate current, working directories
    2. Set compiler flags and options
    3. Demonstrate the use of the debug utility within the IDE
  4. Design a C++ program to perform number-base conversions
    1. Use C++’s primitive data types
    2. Use cout and cin, from the iostream class, to get data into a working program and produce information on the screen and printer
    3. Investigate the different uses of the assignment operator
    4. Identify appropriate header files to be included in the program
    5. Use the #include compiler directive
    6. Examine the use of functions in C++
    7. Demonstrate how to write prototype functions
  5. Examine the uses of relational and logical operators
    1. Distinguish between the various relational operators, including their order of precedence
    2. Use relational operators to implement program loops
    3. Show the difference between “for()”, “while()”, and “do?wh ile()” loops
    4. Demonstrate the “if()” and “switch()” selection functions
    5. Differentiate between the various logical operators, incouding their order of precedence
    6. Write a program that demonstrates the use of relational and logical operators
    7. Show how to use the “break” and “continue” keywords
  6. Investigate the concept of a data structure
    1. Distinguish between “definition” and “declaration” of a data structure
    2. Show how to access structure members
    3. Show how to access structure members
    4. Demonstrate the use of enumerated data types
  7. Outline the various components of a C++ function
    1. State the purpose of
    2. Illustrate passing arguments to functions
    3. Investigate returning values from functions
    4. Distinguish between passing by value and passing by reference
    5. Demonstrate function overloading
    6. Discuss in-line functions
    7. Distinguish between the various types of storage classes
    8. Demonstrate the ability to write C++ functions that accept arguments and return a value to the calling routine
  8. Analyze the concept of C++ classes and objects
    1. Describe the advantages of using classes in C++.
    2. Show how objects are used to hide data while allowing the programmer access to the data through member functions
    3. Demonstrate how to specify 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. Distinguish between objects as records and objects as new data types
    7. Show how to pass objects as arguments of functions
    8. Show how to return objects from functions
  9. Examine the array data type
    1. Demonstrate how to define an array
    2. Manipulate array elements through the use of indexes
    3. Produce multi-dimensional arrays
    4. Produce arrays of structs and arrays of objects
    5. Pass arrays to and from functions
    6. Use arrays of characters to create a string data type
    7. Distinguish between string constants and string variables
    8. Show how to use an array of strings
  10. Illustrate how to use operator overloading to extend the C++ language
    1. Overload unary and binary operators
    2. Show how to use overloaded “+” to concatenate strings
    3. Discuss the principles of data type conversion
  11. Investigate the concept of inheritance to derive classes from one or more base classes
    1. Specify a base class
    2. Describe the use of the keyword, “protected” as an access specifier
    3. Illustrate the role of base class constructors in derived classes
    4. Show how to override base class member functions
    5. Describe how to use the scope resolution operator
    6. Discuss the idea of class hierarchies
    7. Distinguish between public and private inheritance
    8. Review the advantages and pitfalls of multiple inheritance
    9. Discuss the purpose of container classes
  12. Examine the use of pointers in C++
    1. Explain the idea of addresses and pointers
    2. Discuss the address-of operator
    3. Practice declaring pointer variables
    4. Initialize pointers
    5. Dereference pointers to get at the data pointed to
    6. Distinguish between pointer variables and pointer constants
    7. llustrate the use of pointers with arrays and strings
    8. Demonstrate the use of the “new” and “delete” operators to manage computer memory
    9. Discuss the differences between heap and stack allocated memory
    10. Discuss the use of pointers-to-objects
    11. Discuss how pointer arithmetic is tied to hardware architecture
  13. Illustrate C++ file Input/Output functions through “stream” classes
    1. Show how to input/output strings, characters and binary objects
    2. Discuss file pointers
    3. Distinguish between the various error handling functions in the stream classes
    4. Manipulate file I/O through the use of redirection
  14. Introduce error handling and the Standard Template Library (STL)
    1. Discuss basic error handling procedures
    2. Demonstrate the try/catch block
    3. Introduce the STL
    4. Demonstrate the use of a container



Add to Portfolio (opens a new window)