TABLE OF CONTENTS
Table of contents
Table of contents
Table of contents
|
|
|
|
|
| Th 06/05 | Introduction, course policies, coding standards, number systems, computer operations, data objects, identifiers, expressions, & statements. | pp. 1-60 | NONE |
| Tu 06/10 | C++ streams, programming style, debugging | pp. 60-85 | Homework: Exercises 1 & 4 on p. 28
Computer Problem 1: Enter and run the program shown on pp. 21-23 [Posted on 06/03/97] |
| Th 06/12 | Functions, scopes & lifetimes | pp. 87-120 | Homework: Exercises 9, 10, & 11 on p. 79 |
| Tu 06/17 | Refining object-oriented designs, class libraries | pp. 120-158 | Computer Problem 2: Design and implement a solution to Exercise 13(b.) shown on pp. 30-31. Show your results for the following test cases: r=2, h=8; r=5, h=10; r=3.5, h=6.8 [Posted on 06/10/97] |
| Th 06/19 | Decision behavior, Boolean expressions, typedefs, switch statements | pp. 159-180 | |
| Tu 06/24 | Conditional operator, recursion | pp. 180-209 | |
| Th 06/26 | Iteration behavior: loops | pp. 211-268 | |
| Tu 07/01 | List objects, arrays, sorting & searching | pp. 269-306 | Computer Problem 3: Design and implement a solution to Exercise 26 on pp. 208-209. Show your results for the following values of net taxable income: $1,500, $3,000 , $5,000, $8,000, and $15,000. [Posted on 06/20/97] |
| Th 07/03 | HOLIDAY - NO CLASS | ||
| Tu 07/08 | Strings, multidimensional arrays | pp. 307-340 | |
| Th 07/10 | Structs, classes, constructors | pp. 341-379 | |
| Tu 07/15 | Classes with class type member data | pp. 379-428 | Computer Problem 4: Design and implement a solution to Exercise 29 on pp. 339-340. Show your results for the following set of final examination grades: 54, 86, 67, 74, 92, 88, 58, 77, 67, 78, 95, 52, 77, 74, 67, 88, 90, 88, 70, 62. [Posted on 07/07/97] |
| Th 07/17 | First class objects, inlining | pp. 429-470 | |
| Tu 07/22 | Storage management for objects, references, dynamic array creation | pp. 471-498 | Extra Credit: E-mail me one of the current Campus Comedy jokes
from the Reader's Digest website before 10:00 a.m. on July 22.
Computer Problem 5: Design and implement a solution to Exercise 23 on pp. 427-428. [Posted on 07/15/97] |
| Th 07/24 | First class strings, classes with pointer data | pp. 499-542 | |
| Tu 07/29 | Inheritance and reuse, single & multiple inheritance | pp. 543-576 | Computer Problem 6: Define a class ClockTime whose objects store a time in hours, minutes, and seconds; use the 24-hour system to avoid having to otherwise distinguish between A.M. and P.M. Equip class ClockTime with the constructor ClockTime(int h=12, int m=0, int s=0) along with the following operators: +, -, +=, -=, ++, <<, and >>. Operators + and - add and subtract times as follows: imagine a clock set to the time of the first operand, then turn is forward or backward by the number of hours, minutes, and seconds given in the second operand. Operator ++ represents a clock tick: the expression ++t advances the reading of ClockTime object by one second and returns the new time. Operator >> reads three integers and interprets them as hours, minutes, and seconds; operator << prints a time in the form 12:55:30. Name your class files clktime.h and clktime.cpp. I will link them with a driver program to verify their proper operation. Here is a sample driver program for you to practice with. It may or may not resemble the one I actually use to test your clktime class. [Posted on 07/22/97] |
| Th 07/31 | Applications of class hierarchies | pp. 577-614 | |
| Tu 08/05 | NO CLASS | pp. 615-647 | |
| Th 08/07 | Abstract base classes | pp. 648-690 | |
| Tu 08/12 | Container classes & linked lists | pp. 691-782 | |
| Th 08/14 | Case study: Typesetter class | pp. 783-823 | Computer Problem 7: Here is your last computer problem assignment in Envoy format. Don't wait to the last minute before starting this one. [Posted on 07/30/97] |
Table of contents
Final exam: NONE
Table of contents
Academic MisconductThe academic misconduct policy for CS 120 can be found in the course policies.
Academic misconduct at the University is determined by the faculty member under whom such misconduct occurs. The penalty for cheating and other forms of misconduct is also determined by the faculty member. This penalty may be an "F" in the course, but lesser penalties may be given at the discretion of the faculty member. The student has the right to appeal the charge of academic misconduct in accordance with the Final Grade and Appeals Procedure.
Each programming assignment for Engineering 102 should be treated as a laboratory report. The following items should be turned in for each assignment:
Table of contents