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