CM 151, Fall 2012

Introduction to Computational Science


 
Matthew E. Taylor (Matt)
taylorm@lafayette.edu
AEC 522
 
Syllabus: Fall 2012

Python

Required Book:
    Python Programming: An Introduction to Computer Science (2nd Edition)
    John Zelle
    ISBN: 1590282418


Some potentially useful links:
Some Pratice for Midterm 1:
 


Lecture Schedule
Date
Topic
Assignment
Week 1: 8/28 What is this class about?  
  General structure of a program Upload picture of yourself to Moodle
Week 2: 9/4 imPortant Programming Python Parts  
  Designing programs  
Week 3: 9/11 Design pratice and math Read up through chapter 2
  Math and functions  
Week 4: 9/18 Functions and Objects Finish chapter 3
  Graphics  
Week 5: 9/25 Graphics: Text Input  
  Strings / Lists Finish reading chapter 4
Week 6: 10/2 Strings (part 2) By 11:59pm on Monday 10/1, upload a question and answer to Moodle that you think is difficult but could potentially be on the exam.
 
Exam 1
 
Week 7: 10/9
Fall Break
 
  Functions  
Week 8: 10/16 Functions part 2 and midterm answers  
  Conditionals    
Week 9: 10/23 Conditionals Part 2  
While / Indefinite loops Finish Chapter 7
Week 10: 10/30 NO CLASS: NO POWER  
  NO CLASS: NO POWER  
Week 11: 11/6 Review Lab 6 / Lab 7
Booleans
 
  Booleans and loops To discuss on Thursday (nothing to hand in):
p. 229: #2
p.p. 230-232: #1, 5, 9, 14, 17
Week 12: 11/13 Raquetball  
  Test Prep Finish reading chapter 9.
 
To discuss on Thursday (nothing to hand in):
Chapter 8:
Discussion #3
Programming: #1, 3, 4, 13, 14, 15
From Lab: re-write the Goldbach conjecture problem using a while loop
 
Chapter 9:
Multiple Choice: #1, 8
Discussion: #1, 2
Programming Exercises: #1, 2, 5, 7, 8, 10, 11
Week 13: 11/20
Exam 2
 
 
Thanksgiving
 
Week 14: 11/27 Review midterm 2
Lists
 
  Last of Lists
List Example Code
2D Array demonstration
 
Week 15: 12/4 Final Material
 
  Course Summary Homework: post a question and answer (not in the book) to moodle by class on Thursday
 
Chapter 11:
Programing Exercises: #1, 4, 6, 8, 10, 18
12/10 Monday, Office Hour: 10:30-noon  
12/13 Thursday, noon-3pm:
Final Exam
 
12/17 Monday, noon-3pm:
Final Exam
 

 


Lab Schedule
Date Begun
Topic
Due Date
8/30 Lab 1: Getting Started 11:59pm on Wednesday, 9/5
9/6 Lab 2: Simple Programs 11:59pm on Wednesday, 9/12
9/13 Lab 3: Working with Math and Using Functions 11:59pm on Wednesday, 9/19
9/20 Lab 4: Graphics 11:59pm on Wednesday, 9/26
9/27 Lab 5: Strings 11:55pm on Friday, 10/12
10/11 Lab 6: Functions 11:55pm on Wednesday, 10/17
10/18 Lab 7: Decisions and loops 11:55pm on Wednesday, 10/24
10/25 Project 1 11:55pm on Wednesday, 11/14
11/8 Lab 8: Salubrious Simple Simulations 11:55 on Friday, 11/16
11/27 Project 2 11:55pm on Friday, 12/14