Instructor: Prof. Megan Owen
E-mail: megan.owen@lehman.cuny.edu
Phone: 718-960-7423
Office hours: Tuesday and Thursday, 10:15 - 10:50am and 12:40 - 1:20pm, Gillet 217, 219, or 137E
Course time: Tuesdays and Thursdays 11:00am - 12:40pm, Gillet 217

Announcements:

Installing Eclipse and Java 8

These instructions are for downloading and installing Java 8, but Java 7 will also work with the latest version of Eclipse. If you have an older computer, you may need to use an older version of both Java and Eclipse. To install Eclipse on a Windows or Mac computer, you must first download and install Java 8 from Oracle. Make sure you download the Java Development Kit (JDK), not the Java Runtime Environment (JRE).

After installing Java, follow the instructions here to download and install the Eclipse IDE for Java Developers (version 4.5 Mars or an older version) Make sure to download the correct version (32 or 64 bits) for your computer. If needed, use Google to find instructions for checking if your type of computer is 32 or 64 bits. If you are having problems installing Eclipse, check out the troubleshooting guide, see the note at the top of this page if you have a Mac, or come to my office hours.

Alternatively, Java and Eclipse are available on certain computers in the Academic IT Center and the math lab.

Link to extra help resources, practice problems, and old quizzes and exams

Textbook:

Programming in Java by Roman Lysecky, Adrian Lizarraga, Frank Vahid, and Amy McGorven (ZyBooks)
To access and purchase this textbook:
1. Sign up at https://zybooks.zyante.com
2. Enter zyBook code LehmanCUNYCMP326Fall2015
3. Click Subscribe

Outline:

Date: Topics: Handouts/Homework: Reading and Participation Activities (due before the start of class):
#1
Thurs 27 August
Review of campus computer policy and academic integrity code.
Overview of Eclipse. Begin programming in Java! Data types, variables, Java conventions, assignment statements, declaring functions, basic I/O.
Syllabus
Academic Integrity Policy
Problem set 1
(due Sat. Sept. 5)
Sections 1.2 - 1.6, 1.8, 1.11-1.13, 2.1, 6.1-6.3 (due by start of class Sept. 1)
#2
Tues 1 September
If-else statements in Java, intro to recursion Problem set 2
(due Wed. Sept. 9)
Sections 2.3-2.6, 8.1-8.2
#3
Thurs 3 September
Types, math operations in Java Problem set 3
(due Sat. Sept. 12)(due Wed. Sept. 16)
Sections 2.8-2.9, 8.5-8.6
Mon 7 September CUNY: No classes (Labor Day)
#4
Tues 8 September
Strings, keyboard input cont'd Problem set 4
(due Sat. Sept. 19)(due Wed. Sept. 23)
Sections 2.11-2.12, 3.2, 3.7-3.9
Thurs 10 September Classes follow a Monday schedule: No CMP 326 class
13-15 September CUNY: No classes
#5
Thurs 17 September
If-else and recursion with StringsPractice quiz 1 Problem set 5
(due Sat. Sept. 26)
Sections 2.16, 2.17, 2.18, 2.19, 3.2-3.3, 6.4
22-23 September CUNY: No classes
#6
Thurs 24 September
Loops in JavaQuiz 1 Problem set 6
(due Wed. Sept. 30)
Sections 3.11, 4.1-4.5, 6.5-6.8
Fri 25 September CUNY: Classes follow a Tues schedule
#7
Fri 25 September
Nested loops, intro to arrays Practice quiz 2 Problem set 7
(due Sat. Oct. 3)
Sections 4.6-4.7, 5.2-5.4
#8
Tues 29 September
Intro to classes Quiz 2 Problem set 8
(due Wed. Oct. 7)
#9
Thurs 1 October
Classes and objects continued Practice quiz 3 Problem set 9
(due Sat. Oct. 10)
#10
Tues 6 October
Classes and objects continued Quiz 3 Problem set 10
(due Wed. Oct. 14)
#11
Thurs 8 October
GUIs Practice quiz 4 Problem set 11
(due Sat. Oct. 17)
12 October CUNY: No classes (Columbus Day)
#12
Tues 13 October
GUIs and objects; arrays, including object arrays Quiz 4 Problem set 12
(due Wed. Oct. 21)
#13
Thurs 15 October
Recursion with arrays, array manipulation Practice quiz 5 Problem set 13
(due Sat. Oct. 24)
#14
Tues 20 October
Multidimensional arrays, review for midterm Quiz 5 Problem set 14
(due Wed. Nov. 4)
#15
Thurs 22 October
Combining objects, GUIs, and arrays; review for midterm
#16
Tues 27 October
Midterm, Chapters 1-7
#17
Thurs 29 October
Midterm recap, intro to project, intro to inheritance Project,
Problem set 15
(due Sat. Nov. 7)
#18
Tues 3 November
Inheritance Problem set 16
(due Wed. Nov. 11)
#19
Thurs 5 November
Abstract classes Practice quiz 6 Problem set 17
(due Sat. Nov. 14)
#20
Tues 10 November
Interfaces Quiz 6 Problem set 18
(due Wed. Nov. 18)
#21
Thurs 12 November
File I/O Practice quiz 7 Problem set 19
(due Sat. Nov. 21)
#22
Tues 17 November
Recursion review Quiz 7 Problem set 20
(due Wed. Nov. 25)
#23
Thurs 19 November
Recursion and objects Practice quiz 8 Problem set 21
(due Wed. Dec. 2)
#24
Tues 24 November
Exceptions Quiz 8 Problem set 22
(due Sat. Dec. 5)
26-29 November Thanksgiving Recess: College Closed
#25
Tues 1 December
Searching and sorting: selection sort, binary search Practice quiz 9
#26
Thurs 3 December
Searching and sorting: insertion sort, merge sort Quiz 9
#27
Tues 10 December
Review for final exam
#28
Thurs 12 December
Review for final exam, Project in-class code reviews
Thurs 17 December Final exam 11am - 1pm

Java resources: