CMP 230 and CIS 166 both cover introductory programming in Python. The programming and assessments differ, but instructors are knowledgable in the content for both classes, and you are welcome and encouraged to attend any of office hours, tutoring hours, and review sessions (anouncements will be sent via Blackboard to students registered in the class). Note that the university has approved the renumbering of CMP 230 to CMP 167 in Spring 2014. The course appears as CMP 167 in some official documents and will appear on transcripts and CUNYFirst with the new number as of Spring 2015.

Course(s): Time:Instructor:E-mail:Office Hours
CMP 167MW, 9am-10:40am, G 219Dr. Eric Forderic.ford1W 4-6pm, G137I
CMP 167MW, 11am-12:40pm, G 221Mr. Gerome Ferreirageromelehman@gmail.comMW 1-1:30, G 303
CMP 167MW, 6-7:45pm, G 221Dr. Eric Forderic.ford1W 4-6 pm, G137I
CMP 167TTh, 9am-10:40am, G 219Prof. Katherine St. JohnstjohnT,Th 10:40-noon (starts in G 219, then G137)
CIS 166TTh, 11am-12:40pm, G 221Mr. Jeff Gitlinjgitlin.lehman@gmail.comT 10-10:30am, Th 1-1:30pm in G 303
CMP 167TTh, 1-2:40pm, G 219Prof. Megan Owenmegan.owenT, Th 2:40-4:10pm (starts in G 219, then G 137)
CIS 166TTh, 6-7:45pm, G 221Mr. Claudio Falconfalcon.claudio@gmail.comalternating T/Th after class
Unless noted, all email addresses are @lehman.cuny.edu.

Announcements:

Useful Links:

Outline:

Date: Topics: Handouts: Reading: Quiz Topics:
#1
28/29 January
Review of campus computer policy and academic integrity code,
Introduction to Python programs:printing and simple functions, variables, assignment statements
Syllabus,
Programming Assignments,
Lab 1
Academic Integrity Policy,
Chapters 1 & 2
Academic Integrity
#2
2/3 February
Problem solving and the design process variables, assignment statements, swapping values;
Definite Loops; Computing with numbers: data types, using the math library
greet example
chaos example
Lab 2
Chapters 2 and 3 Chapter 1
#3
4/5 February
More on libraries, type conversions, handling large numbers, using variables as accumulators convert example
Chapter 3 Lab 1 and Chapter 2
#4
9/10 February
Simple Graphics: using the built-in turtle library Running Total example
factorial example
String accumulator example
Lab 3
Think chapter on turtles Chapter 3
12 February Lincoln's Birthday: Campus Closed/No Classes
#5
11/17 February
Turtle Graphics: using color, displaying text, and basic drawing Think chapter on turtles Lab 2 and Chapter 3
16 February President's Day: Campus Closed/No Classes
#6
18/19 February
Computing with strings: simple string processing Lab 4 Chapter 5 Programming Quiz: Programs 1-5
#7
23/24 February
Computing with strings: multi-line strings and file processing Chapter 5 Lab 3 and Turtle Graphics
#8
25/26 February
Computing with strings: file processing Lab 5 Chapter 5 Turtle Graphics and Chapters 3 and 5
#9
2/3 March
Computing with strings: formatting and pattern matching Chapter 5 Lab 4 and Chapter 5
#10
4/5 March
Designing programs with nested lists; Defining Functions: functions and parameters happy example
Lab 6
Chapters 5 and 6 Programming Quiz: Programs 6-10
#11
9/10 March
Defining Functions: return values and modifying input parameters jam example (F11 #4) Chapter 6 Lab 5 and Chapter 5
#12
11/12 March
Defining Functions: designing programs with functions Lab 7 Chapter 6 Programming Quiz: Programs 11-15
#13
16/17 March
Decisions: if-statements and elses Chapter 7 Lab 6 and Chapter 6
#14
18/19 March
Multi-way decisions F13 #5 example
Lab 8
Chapter 7 Programming Quiz: Programs 16-20
#15
23/24 March
Designing programs with decisions Chapter 7 Lab 7 and Chapter 6
#16
25/26 March
Exception Handling; Indefinite Loops S12 #8 example
Lab 9
Chapters 7 and 8 Programming Quiz: Programs 21-25
#17
30/31 March
Loops and Booleans: indefinite loops, boolean variables and expressions Chapter 8 Lab 8 and Chapter 7
#18
1/2 April
More on loops: interactive loops, sentinel values Lab 10 Chapter 7 Programming Quiz: Programs 26-30
3-11 April Spring Recess: No Classes
#19
13/14 April
Loops and Booleans: file loops, nesting loops Chapter 8 Lab 9 and Chapters 8 and 9
#20
15/16 April
Designing Programs with Decisions and Indefinite Loops Lab 11 Chapter 8 Chapter 8
#21
20/21 April
Introduction to Simulation and Design: analysis and specification Chapter 9 Programming Quiz: Programs 31-35
#22
22/23 April
Simulation and Design: top down design, bottom up implementation, prototyping; Random Numbers Lab 12 Chapter 9 Chapters 8 and 9
#23
27/28 April
More on Simulation and Design Chapter 9 Chapter 9 and Lab 11
#24
29/30 April
Defining Classes Lab 13 Chapters 9 and 10 Programming Quiz: Programs 36-40
#25
4/5 May
More on Defining Classes Chapter 10 Chapters 9 and 10 and Lab 12
#26
6/7 May
Data Collections Lab 14 Chapter 11 Programming Quiz: Programs 41-45
#27
11/12 May
More on Data Collections: Dictionaries Chapter 11 Chapters 10 and 11, and Lab 13
#28
13/14 May
Review Chapters 1-11 End-of-semester survey

You may take the final during any of the following times:
Monday, 18 May 8:30am-10:30am
6:15-8:15pm
Tuesday, 19 May 1:30-3:30pm
6:15-8:15pm
Wednesday, 20 May 11am-1pm
Thursday, 21 May 8:30-10:30am
11am-1pm



(Last updated: 24 May 2015)