CS 5 - Structured Programming and Problem Solving

Harvey Mudd College
Spring 2000

Professor: A. Khakpour

Office: Trailer 9, CMC;   khakpour@cs.hmc.edu;   x78506

Office Hours:

Tutors:   Jacob Creed ;   jcreed@hmc.edu ;   x76335 ;   Monday 9-12 p.m.

                Lubomira Stoilova (Mira) ;   lstoilova@hmc.edu;   x71440 ;   Sunday 6-9 p.m.

                Edward Miller ;  ecmiller@hmc.edu ;   x72017;   Monday 9-12 p.m.

                Samuel Ahn;   sahn@hmc.edu;  x71815;   Thursday 12:30-4:30 p.m.
 

Graders: Elizabeth Reynolds;   ereynolds@hmc.edu ;  x76592

                Edward Miller ;  ecmiller@hmc.edu ;   x72017

                Aaron Boyer;   aboyer@cs.hmc.edu;   x74315
 

Course Text: "Java Software Solutions", by Lewis & Loftus, 2nd ed., Addison-Wesley.

Examples from Lewis and Loftus

Link to Author's web page

Author's keyboard class Copy this to the directory containing your other java programs. Compile it with javac Keyboard.java.

Solutions

Catalog Description:

Introduction to problem solving using the computer. Algorithms, data representation, and structuring. Use of programming languages and operating systems. Specification, testing, debugging, and documentation. Computing infrastructure at the college. 3 credit hours.

Outline:

Chapter 1: Computer Systems

Chapter 2: Objects and Primitive Data

Chapter 3: Program Statements

Chapter 4: Writing Classes

Chapter 5: Enhancing Classes

Exam1, Mar. 6

Spring Recess, Mar. 13-17

Chapter 6: Arrays and Vectors

Chapter 7: Inheritance

Chapter 8: Exceptions and I/O Streams

Chapter 9: Graphical User Interfaces

Exam2, Apr. 17

Chapter 11: Recursion

Chapter 12: Data Structures

Final Exam, May 8, 7:00-9:00 p.m.
 

Homework:
 
1 2 3 4 5 6 7 8
HW1 1.19 1.20 1.21 1.22
HW2 2.1 2.2 2.4 2.6 2.10 2.12 2.15
HW3 2.3 2.5 2.9 2.11 2.13 2.21 3.1 3.8
HW4 3.2 3.3 3.4 3.5 3.9 3.14 3.22
HW5 Bank Trng 4.1 3.20 4.5
HW6 5.1 5.3
HW7 6.1 6.2 6.3 6.4 6.5
HW8 Drive
HW9 7.1 7.2 7.3 7.8
HW10 Drive Clks Except 8.1 8.2
HW11 9.1 Labels Flow Grid Border
HW12 9.2 9.8
HW13 11.1 11.2 11.4
HW14 12.6

Grading: Notes:

Lecture Slides

Topic

Date

Presentation

.pdf file

Chapter 1 Mon. 1/24 Start presentation Download
Chapter 2 Mon. 1/31 Start presentation Download
Chapter 3 Mon. 2/7 Start presentation Download
Chapter 4 Mon. 2/14 Start presentation Download
Chapter 5 Mon. 2/21 Start presentation Download
Chapter 6 Mon. 3/20 Start presentation Download
Chapter 7 Mon. 3/27 Start presentation Download
Chapter 8 Mon. 4/3 Start presentation Download
Chapter 9 Mon. 4/10 Start presentation Download
Chapter 10 Omit Start presentation Download
Chapter 11 Mon. 4/24 Start presentation Download
Chapter 12 Mon. 5/1 Start presentation Download