|
Nov 21, 2024
|
|
|
|
2022-2023 College Catalog [ARCHIVED CATALOG]
|
CIS 131 - Programming and Problem Solving II 4 Credits, 4 Contact Hours 4 lecture periods 0 lab periods
Continuation of CIS 129 . Includes data structures and data representation, complex problem solving, procedural abstraction, and complex arrays with structured elements. Also includes object oriented programming, exception handling, file input and output, debugging, and testing.
Prerequisite(s): CIS 129 Gen-Ed: Meets AGEC-S Options requirement
Course Learning Outcomes
- Build data structures and data representation.
- Develop programs that read input from data files and build new output data files.
- Build programs that use recursion to solve simple problems.
- Solve complex problems and create programs.
- Design programs using sorting and searching algorithms in arrays.
- Create Object Oriented Programs with several levels of inheritance, constructors and destructors.
Performance Objectives:
- Review data structures and data representation.
- Discuss procedural abstraction.
- Create parameter passing with procedures and functions.
- Develop programs that read input from data files.
- Produce programs that build new output data files.
- Design programs that add records to existing output data files.
- Produce programs that add and update records in binary typed files.
- Solve complex problems and create programs.
- Design programs using sorting and searching algorithms in arrays.
- Create Object Oriented Programs with several levels of inheritance, several constructors and destructors.
- Create programs with several instances of exception handling.
- Develop a test plan.
- Troubleshoot a problem using debugging methods.
- Create programs using complex arrays with structured elements.
Outline:
- Revisit Data Structures and Data Representation
- Elementary data types
- Character
- String
- Integer
- Real
- Boolean
- Structured data types and data abstraction
- File
- Record
- Array
- Single dimension
- Multidimensional
- Procedural Abstraction
- Procedure code module
- Statement extension
- Actions upon objects
- Recursion
- Data Files
- Reading input from data files
- Building new output data files
- Adding to existing output data files
- Adding and random updating of data records in binary typed data files
- Object Oriented Programming
- Creating complex classes using abstract classes, inheritance and composition
- Creating overloaded methods, constructors and destructors
- Data encapsulation
- Exception Handling
- Creating programs using simple exception handling, propagation
- Using generic and specific try-catch blocks
- Using “finally block”
- Debugging and Testing
- Creating test data using black box, white box, robustness testing methods
- Creating a test plan
- Boundary conditions
- Program debugging
- Creating a program which can be debugged
- Using concepts such as step into, step over, breakpoints, run and continue
- Troubleshooting a problem to pinpoint error
- Document program
- Complex Arrays with Structured Elements
- Sorting
- Searching
- Divide and conquer algorithms
- Solving complex problems/create programs using C# or Java
- Introducing complexity: best case, worst case, and average case
- Solving problems in pseudocode and/or flowcharts
- Input file data to print, input file data to array and sort array, array to print
- Translating the pseudocode/flowchart into code
|
|