COMP 141: Computer Science I, Spring 2013

Administrivia

Resources

Schedule

Date Topic Required Reading Notes Assignments Out Slides
1/9 Intro, algorithms, abstraction       slides
1/11 Started python, print statement 2.1-2.3 program1.py    
1/14 Data types, literals, variables 2.5 program2.py    
1/16 Input from the keyboard 2.6 program2-new.py, program3.py MPL Assignment 1, due 11:59pm 1/23.  
1/18 Comments, math operations 2.7 program4.py Project 1, due on Moodle 11:55pm 1/28.  
1/23 Functions 3.1-3.3 rap.py, cookies.py   slides
1/25 Local variables, functions that take arguments 3.4, 3.5 tricky.py, avg.py   slides
1/28 Graphics I   tricky2.py, firstgraphics.py MPL Assignment 2, due 11:59pm 2/1.
Assignment canceled; wrong problems assigned.
 
1/30 Graphics II   graphics2.py Project 2, due on Moodle 11:55pm 2/6.  
2/1 If-else statements 4.1-4.3      
2/4 If-elif-else statements 4.5, 4.6 birthday.py    
2/6 Functions that return values   time.py, returnval.py   slides
2/8 Practice with functions and if-else     MPL Assignment 2, due 11:59pm 2/11.  
2/11 While loops 5.1, 5.2 postage2.py, name.py    
2/13 Exam 1        
2/15 General algorithm for any while loop   comparenames.py, atm.py Project 3, due on Moodle 11:55pm 2/22.  
2/18 Loops that count   countloop.py    
2/20 For loops 5.3 countloop2.py, f2c.py    
2/22 Calculating a running total (James Bond) 5.4 jamesbond.py    
2/25 Input validation loops & sentinels 5.5, 5.6 totalscores.py, totalscores2.py, totalscores3.py, productscores.py, validscores.py    
2/27 Nested loops 5.7   Project 4, due on Moodle 11:55pm 3/6.
and MyProgrammingLab Assignment 3, due 3/4 11:55pm.
 
3/1 Saving previous values in loops   productscores2.py, james3.py, james2.py, diff.py, drawlines.py, drawlines2.py    
3/4 Reading from files I 7.1      
3/6 Reading from files II 7.2      
3/8 (No class, professor out of town)        
3/18 Reading from files III     Project 5, due on Moodle 11:55pm 3/25.
slides
3/20 Strings I 9.1     slides
3/22 Strings II 9.2     slides
3/25 Strings III 9.3     slides
3/27 Exam 2        
3/29 No class - Easter break        
4/1 Strings wrapup     Project 6, due on Moodle 11:55pm 3/8.
MPL "Assignment Strings" due before class on Friday, 3/5.
 
4/3 Lists I 8.1-8.3      
4/5 Lists II 8.4-8.6      
4/8 Lists III 8.7 slides
4/10 Lists IV (Angry Birds) Project 7, due on Moodle 4/17, 11:55pm.
4/12 Binary numbers 1.3
4/15 Lists wrapup
4/17 2-d lists, tic-tac-toe 8.8 Project 8, due on Moodle 4/27, 11:55pm. slides
4/19 Tic-tac-toe w/ graphics
4/22 Running time of algorithms slides
4/24 Sorting slides