Loyola College in Maryland

CS 201 - Computer Science I
Spring 2009


Loyola College > Department of Computer Science > Dr. James Glenn > CS 201 > Homework
Homework Due Date Reading Assignment
1 1/14/2009   Write a list of instructions for making a peanut butter and jelly sandwich.
2 1/23/2009 Java 6 Illuminated:§ 1.1, 1.4-1.6
Computer Science: Ch. 0
  • J6: §1.7 (pp. 35-40): Exercises 9, 11, 12, 27
  • CS: §0.6 (pp. 16-18): Social Issues 1, 12
  • Write pseudocode for determining if four points form a square. Assume that each point is given by its x- and y-coordinates and that the points are given in clockwise order. Your pseudocode should identify squares even if the sides are not parallel to the axes.
  • Among the several errors encountered during Lab 2, indicate one that is a compiler error, one that is a run-time error, and one that is a logic error.
Quiz #1 Review 1/26/2009 (but not to hand in) Java 6 Illuminated: §1.1, 1.4-1.6; 2-1.2.4
Computer Science: Ch. 0
Quiz #1 from Fall 2008 (pdf)
3 1/30/2009 Java 6 Illuminated: Ch. 2
J6: §2.7 (pp. 85-92): Exercises 1, 2, 3, 7, 10, 12, 13, 16, 17, 27, 28, 33, 41, 42, 43
4 2/6/2009 Java 6 Illuminated: §7.1-7.7, Ch. 3
  • J6: § 7.18 (pp. 446-462): Exercises 19-26
  • J6: § 3.19 (pp. 162-172): Exercises 1, 4, 15, 31, 42, 52, 53
Quiz #2 Review 2/9/2009 (but not to hand in) Java 6 Illuminated: Ch. 3, §7.1-7.7 (skim)
html (solutions)
5 2/16/2009 Computer Science: §1.1-1.7
CS: Ch. 1 (pp. 73-77): Exercises 1, 7, 15, 20, 26ad, 27ae, 30ab, 31ab, 34ab, 35ab, 36a, 37a, 40
Exam #1 Review 2/16/2009 (but not to hand in) Java 6 Illuminated: Ch. 1-3
Computer Science: Ch. 0-1
html (solutions)
6 2/27/2009 Computer Science: §1.6-1.7, 2.1-2.3, App. C
CS: Ch. 1 (pp. 73-77): Exercises 34ab, 35ab, 36a, 37a, 40; Ch. 2 (pp. 113-120): Exercises 2, 3, 4, 6, 8, Social Issues 1
7 3/11/2009 Java 6 Illuminated: Ch. 4, § 5.1-5.4
J6: § 4.7 (pp. 200-206): Exercises 2, 4, 6, 8, 16, 19; § 5.14 (pp. 266-278): Exercises 2, 13, 20, 21, 39
Quiz #3 Review 2/13/2009 (but not to hand in) Java 6 Illuminated: Chs. 4, 5
html (solutions)
8 3/20/2009 Java 6 Illuminated: Chs. 5, 6
J6: § 5.14 (pp. 266-278): Exercises 17, 19, 49; § 6.14 (pp. 357-370): Exercises 5, 9, 11, 20, 27, 30, 37
9 3/27/2009 Java 6 Illuminated: Chs. 6
J6: § 6.14 (pp. 357-370): Exercises 21, 29, 46, 48, 52, 54, 55
Exam #2 Review 3/27/2009 (but not to hand in) Java 6 Illuminated: Ch. 4-6 html (solutions)
Lab Exam Review 4/6/2009 (but not to hand in) Java 6 Illuminated: Ch. 1-6 Fall 2008 Lab Exam (solutions)
10 4/15/2009 Computer Science: § 7.1-7.6
CS: Ch. 7 (pp. 365-368): Problems 4, 5, 7, 30, 32, 33; Social Issues 3
11 4/27/2009 J6 Illuminated: Ch. 7,8
J6: § 7.18 (pp. 446-462): Exercises 30, 31, 37; § 8.10 (pp. 545-564): Exercises 13-16, 18, 19, 20, 24, 28, 30
Final Exam Review 4/27/2009 (but not to hand in) Java 6 Illuminated: Ch. 1-8
Computer Science: Ch. 0, 1, 2, 7
html (solutions)

Valid HTML 4.01 Transitional