Courses
CS 127A: Program Design & Development
| Objective |
- Introduce students to programming in C++ and ensure that they can produce
well-designed programs (100-200 lines of code).
|
| Pre-Conditions |
|
Post-Conditions
(Topics) |
- [1.5 weeks] functions, stream I/O, value parameters [CS127b]
- [1.5 weeks] primitive types (int, double, bool), operators (assignment,
arithmetic, logical, relational), precedence of operators, if/else [CS127b]
- [1.5 weeks] for loops, scope/lifetime of variables, reference parameters
[CS127b]
- [1.5 weeks] basic design issues: information hiding, specification vs
implementation, avoiding redundancy, minimizing dependencies [CS127b] [CS342]
- [1.5 weeks] while loops, using simple predefined classes (member functions,
constructors) [CS127b]
- [1.5 weeks] file and character processing, details of strings and streams
[CS127b]
- [2 weeks] arrays and typical array operations: initialize, insert, delete,
simple sorting and searching [CS127b]
- [2 weeks] structures, complex data structures (e.g., arrays of structs)
[CS127b]
- [1 week] recursion [CS127b]
- [1 week] pointers and linked lists (no programming, problem on final exam)
[CS127b]
|
Authored by Stuart Reges.
Last revised on 29 April 1997 by John Hartman.