CS 150 - Spring 2017

Computing for the Sciences

Announcements

Final exam: Thu 5/18, 7-10pm, or Fri 5/19, 9am-noon, MBH 505.
You may attend either slot. The exam is closed book, closed notes, no computers or electronic devices allowed.
You may bring: (1) the final "cheat sheet", and (2) up to two sheets of notes, letter-size, double sided.

Schedule

DateTopic           Reading              Problems           Other      
2/13   Course info, intro to CS and Python, example, log                     Ch 1, 2 set 1 - solutions Prelab 1
2/15 Lab 1 - Functions, example      
2/20 Functions, constants, docstrings, scope, examples, log Ch. 3.1-4, 3.6-9, 4.3-4 set 2 - solutions  
2/22 Turtle graphics, for loop, randomness, examples, log Ch. 6.1, 9.3 set 3 - solutions Prelab 2
2/24 Lab 2 - Turtle graphics, Results      
2/27 Loops, strings, examples, log Ch 9.3, 7.1-3 set 4 - solutions  
3/1 String methods, objects, examples, log Ch 6-6.1 set 5 - solutions Prelab 3
3/3 Lab 3 - Encryption      
3/6 Booleans, conditionals, user input, examples, log Ch 5 set 6 - solutions  
3/8 More conditionals, while, examples, log Ch 5, 9.6-7 set 7 - solutions Prelab 4
3/10 Lab 4 - Math whiz      
3/13 Lists, list methods, examples, log Ch 8-8.6 set 8 - solutions  
3/15 Lists, files, notes, examples, log Ch 8-8.6, 10-10.2 set 9 - solutions Prelab 5
3/17 Lab 5 - Data for Everyone     Sample midterm, solutions
3/20 Midterm review, answers Reading catch-up    
3/22 Objects and references, notes Ch 8.5 set 10 - solutions Test project 1
3/24 Lab - Work session      
Spring break
4/3 Midterm solutions, sets, log Ch 11.1 set 11 - solutions midterm survey, responses
4/5 Sets cont'd, Tuples, dictionaries, examples, log Ch 11.1-11.3 set 12 - solutions Prelab 6
4/7 Lab 6 - Hangman      
4/10 Dictionaries cont'd, matplotlib, examples, log Ch 11.2-11.4, Pyplot tutorial  set 13 - solutions  
4/12 Modules, examples, log Ch 6.1-6.2 set 14 - solutions Prelab 7
4/14 Lab 7 - Zipf's law, test files      
4/17 Command-line, files, URLs, examples, log Ch 10-10.5 set 15 - solutions Prelab 8
4/19 Lab 8 - Weather report      
4/24 Recursion, examples, notes, log Think Python 5.8, 6.5-6.7 set 16 - solutions  
4/26 More recursion, examples, log   set 17 - solutions Prelab 9
4/28 Lab 9 - Recursion      
5/1 In-class lab: Matlab Matlab basics Finish Matlab lab Test project 2
5/3 Matlab programs, examples, log   set 18 - solutions Prelab 10
5/5 Lab 10 - Matlab      
5/8 R, examples, log R basics set 19 - solutions  
5/10 Searching and sorting, examples, xsortlab, notes Ch 12, 13 set 20 - solutions  
5/12 Representing numbers, notes on binary numbers      
5/15 Final exam review, answers     Sample final, solutions

Final exam: MBH 505, Thu 5/18, 7-10pm or Fri 5/19, 9am-noon (you can attend either slot).

Resources