ENG236 Computer Programming
General
Information
Lecturer: Dr. Rocky K. C. Chang Office: PQ829;
Phone: 27667258; Office hours: by appointment
Assistant: Gary Yu
Student helpers: Seifer, Keith
Venue: CF004
Classes:
Assessment
3 written tests:
20%
3 programming tests: 30%
Project: 30%
Quizzes and homeworks: 20%
Your midterm standing (the latest status)
Project
Last year's projects: A signreversal puzzle, a diseaseinfection puzzle [a sample] and a bucketemptying puzzle
This year's projects: A cakecutting game, a cornering game, and a movingtheQueen
A
Tentative Teaching Plan
Classes 
Covered in lectures 
Quizzes / tests 
Homework / inclass exercises 
Basic
Programming Constructs 

(1) 3 Sept. 
None 
Exercises 2.1, 2.2 (solution) 

(2) 7, 10 Sept. 
None 
Exercises 3.1a, 3.1b, 3.2a, 3.2b (solution) 

(3) 14, 17 Sept. 
Written quiz 1 (solution) 
Exercises 3.3a, 3.3b (Solution) 

(4) 21, 24 Sept. 
Written quiz 2 (solution) 
Exercises 3.4, 3.5 (solution) 

(5) 28 Sept. (1 Oct. is a holiday) 
Design of a
structured program 

Exercises 3.6, 3.6b (solution) 
(6) 5, 8 Oct. 
Preparation for written test 1 and programming test 1 
 Written quiz 4 (solution)  Mock programming test (solution) 
Exercises 4.1 (solution) 
(7) 12, 15 Oct. 
Programming test 1 
 Mock written test on 12 Oct  Programming test 1 on 15 Oct. (solution) 
Exercises 4.2 (solution) 
17 Oct. 2:303:30pm PQ305  Written Test 1 (solution)  
Basic
Object Oriented Programming 

(8) 19, 22 Oct. 
Written quiz 5 (solution) 
Exercises 5.2a, 5.2b, and 5.2c (solution) 

(9) 29 Oct. (26 Oct. is a holiday) 
Written quiz 6 (solution) 
Exercises 5.3, 5.3b (solution) Exercises 6.1 (solution) 

(10) 2, 5 Nov. 
Pointers (continued) 
Exercises 6.1b, 6.1c (solution) 

(11) 9, 12 Nov. 

Wirtten quiz 8 (solution) Written quiz 9 (solution) 
Exercises 6.2, 6.2b, 6.2c (solution) 
(12) 16, 19 Nov. 
Written quiz 10 (solution) Written quiz 11 (solution) Written quiz 12 (solution) 
Exercises 6.2d, 6.2e, 6.3 (solution) 

(13) 23, 26 Nov. 
None 
Programming quiz 13 on 23 Nov (solution) Written quiz 14 on 26 (solution) 

(14) 30 Nov, 3 Dec. 
None 
Programming test 2 on 30 Nov (solution) 

5 Dec. (2:303:30pm) PQ305 
Written test 2 
Classes 
Covered in lectures 
Quizzes / tests 
Homework / inclass exercises 
Input/output, data structures, and GUI 

(1) 12 Jan. 
None 
Exercise 7.1 (solution) 

(2) 19 Jan. 
Stream I/O, part II 
None 
Exercise 7.2 (solution) 
(3) 26 Jan. 
Written quiz 15 (solution) 
Exercise 8.1 (solution) 

(4) 2 Feb. 
Written quiz 16 (solution) Miniproject week 1 
Exercise 9.1 (solution) 

(5) 9 Feb. 
Written quiz 17 (solution) 
Exercise 9.2 (solution) 

(6) 23 Feb. 
Miniproject week 3 
Exercise 9.3 (solution) 

(7) 2 Mar. 
No lecture 
Prog. quiz 18 (solution) Miniproject week 4 
Exercise 9.4 (solution) 
(8) 9 Mar. 
Creating a multipleform interface (backofcard, diamond, heart, club, spade) 
Miniproject week 5 

(9) 16 Mar. 

Written quiz 19 Miniproject week 6 

(10) 23 Mar. 
Mock programming test (solution) 
Miniproject week 7 

27 Mar. (Sat) 2:303:30pm
PQ 305 
Written Test 3 o Written test 3 0607 o Written test 3 0708 o Written test 3 0809 

(11) 30 Mar.  Programming test 3  Miniproject week 8  
(12) 13 Apr. 
Project consultation (no class) 
Miniproject week 9 

(13) 20 Apr. 
Project consultation (no class) 
Miniproject week 10 

(14) 27 Apr. 
Submitting
the project report and demonstration (no class) 
Miniproject week 11s 
