Oct 17, 2021  
2021 - 2022 Catalog 
2021 - 2022 Catalog
Add to Portfolio (opens a new window)

CST 180 - C++ Programming

Credits: 3
Instructional Contact Hours: 3

Uses the C++ language to solve software problems. Develops solutions to computing problems through algorithm design, development, implementation, and testing. Includes control structures, arrays, files, strings, pointers, and fundamental object-oriented programming.

Prerequisite(s): None
Corequisite(s): None
Lecture Hours: 45 Lab Hours: 0
Meets MTA Requirement: None
Pass/NoCredit: No

Outcomes and Objectives
  1. Design software solutions for a variety of problems.
    1. Create a logic plan to map design of a software solution.
    2. Read and interpret algorithms represented in pseudocode or flowchart form.
    3. Interpret requirements and specifications for a software problem to initiate accurate design of a computer program.
    4. Construct program code to implement program design specifications.
  2. Demonstrate computer literacy skills to successfully use software development environments.
    1. Utilize an integrated development environment to create a project workspace.
    2. Enter and edit C++ source code using a text editor.
    3. Manage multiple project, data, and source code files.
    4. Use a compiler to check program diagnostics and correct syntax errors.
    5. Implement a software application on more than one operating system.
  3. Apply basic structuring concepts of C++ to build working programs.
    1. Describe the basic program format and structure of a C++ program.
    2. Describe and accurately apply rules for variable and identifier naming in C++.
    3. Define and apply C++ primitive data types including the integer and floating point data type families.
    4. Describe results and potential side effects for using mixed data type operations.
    5. Effectively use and distinguish between variables and constants.
    6. Define the uses and value of global constants.
    7. Recognize usage of preprocessor directives and header files for required functionality.
    8. Implement user-friendly console input and output with C++ programs.
    9. Format program output using appropriate console formatting manipulators.
    10. Describe C++ arithmetic operators including operator precedence and associativity.
    11. Distinguish between operands and unary, binary, and tertiary operators.
    12. Apply C++ arithmetic operators to build and evaluate arithmetic expressions.
    13. Define issues with integer and floating-point division.
    14. Convert basic mathematical formulas to C++ arithmetic expressions.
    15. Utilize standard C++ function library including math and string functions.
    16. Define and utilize the C++ Boolean data type for logical operations.
    17. Describe C++ relational operators and use them to construct relational expressions.
    18. Describe C++ logical operators (AND, OR, NOT) including their truth tables.
    19. Apply C++ logical operators to construct compound logical expressions.
    20. Build selection statements with appropriate C++ if/else/switch constructs.
    21. Define the most appropriate use of while, do/while, and for loops.
    22. Build repetition statements with C++ to construct iterative algorithms.
    23. Define and apply the basic random number generation feature available in C++.
  4. Design modular programming solutions.
    1. Implement programming problem sub-tasks into user-defined functions.
    2. Describe rules for C++ function implementation including the use of prototypes.
    3. Distinguish between void and value-return functions and correctly design functions using both.
    4. Distinguish between value and reference parameters and define the uses and restrictions of using both.
    5. Effectively pass value and reference parameters to and from functions.
    6. Distinguish between global and local variables and define variable scope.
    7. Define the value and purpose of separation of user-defined function specifications and implementations into multi-file projects.
    8. Implement functions using separate specification (.h) and implementation (.cpp) files.
  5. Use data organization techniques.
    1. Allocate arrays and properly define index ranges for array processing.
    2. Describe the risks and precautions necessary for safe array processing.
    3. Process data elements of an array using looping algorithms.
    4. Describe use of arrays for basic list processing algorithms.
    5. Describe fundamental searching algorithms including the linear search and binary search.
    6. Describe and apply fundamental sorting algorithms.
    7. Design and implement algorithms to process two-dimensional arrays using nested for-loops.
  6. Build software solutions that apply input/output features.
    1. Open, read, process, and close a sequential text input file stream.
    2. Utilize loops to read and process the contents of a text file.
    3. Write program output to a text output file.
    4. Compare and contrast text files with binary files.
    5. Compare and contrast sequential access files with direct access files.
    6. Allocate pointer variables and access data using indirection.
    7. Perform basic pointer operations including assignment, address-of, and dereferencing.
    8. Pass pointers to and from functions.
    9. Apply C++ pointers for dynamic data allocation with appropriate use of keywords “new” and “delete.”
    10. Design and implement solutions using record structures.
    11. Correctly utilize a record structure including use of member selections of record fields.
    12. Pass record structures to and from functions.
    13. Allocate C++ character strings and manipulate strings using string character array processing.
    14. Utilize standard C++ string functions to assign, compare, and concatenate strings.
    15. Apply string functions and methods to solve character string manipulation problems.
  7. Build software solutions that apply fundamental object-oriented programming concepts.
    1. Define and discuss the object-oriented approach to programming.
    2. Recognize specific terminology related to object-oriented programming.
    3. Compare and contrast between procedural and object-oriented programming paradigms.
    4. Define modularity and procedural abstraction.
    5. Describe the purpose of information hiding.
    6. Identify limitations of global variables.
    7. List advantages of encapsulation as related to object oriented programming.
    8. Discuss relationship of objects and classes.
    9. Design an abstract data type from specifications.
    10. Build a C++ class as an implementation of an abstract data type.
    11. Implement a C++ class including both specification and implementation files.
    12. Effectively apply a C++ class as data object for a specific problem.
  8. Perform critical analysis to create C++ software solutions.
    1. Analyze alternative solutions to a given programming problem and select the best approach.
    2. Develop and implement a variety of testing strategies to verify correctness of C++ programs.
    3. Diagnose and debug syntax, run-time, linker, and logic errors to create a working and correct software solution.
    4. Document program source code for clarity and readability using accepted documentation standards including comments, indentation, and other techniques.
    5. Integrate and re-use previously working program code into new software development.
    6. Develop systematic test plans, create test cases and test data to verify program correctness.
    7. Execute tests and correct logic errors based on test results.
    8. Build user-friendly computer programs for a variety of real-world problems.

Add to Portfolio (opens a new window)