CSC111 Class Page 2015b

From dftwiki3
Revision as of 08:18, 23 September 2015 by Thiebaut (talk | contribs) ( )
Jump to: navigation, search

--D. Thiebaut (talk) 11:12, 24 August 2015 (EDT)



Main Page | Syllabus | Weekly Schedule | Links & Resources |Piazza





 


Week 1 Sept 7    


Topics: Introduction, Python, Idle, Piazza, Moodle submission Lab/Hw Reading

  • Friday
    • Review of the lab
    • Variables
    • assignment,
    • variable names
    • camelCase notation
    • Exercises
    • Lecture Notes




 


Week 2 Sept. 14    


Topics: Chapter 2: variables, definite loops, input Lab/Hw Reading
  • Monday: (Lecture presented by Prof. Joe O'Rourke)
    • Variables: simultaneous assignment
    • Where do variables live?
    • Programming: from problem to solution: an iterative process
    • definite loops:
      • looping through items in a list
      • the range() function: allows iteration through various lists of numbers


  • Friday
  • Numbers of the day:
  • Read Chapter 2 in Zelle.




 


Week 3 Sept. 21    


Topics: Arithmetic operators, math functions, main(). Lab/Hw Reading
  • Monday:
  • Finish the grade program from Friday ( Programs developed in class)
  • 4 minutes from Grier's video: When computers were human. Start at time=28m12s.



WomenCalculatingWWII.jpg
Women at work tabulating during World War II (Shorpy)


  • Wednesday
  • Review the tellerMachine.py program
  • Printing formatted integers and floats
  • Program organization: from now on, we will be using a main() function.
  • int(), round(), float(), abs() ==> the idea of robustness
  • Rule for all programs: add a blank line between input section and output section.
  • Accumulating results in loops. Example: computing the average age of students in the class.
  • Accumulating strings in a loop: Generage a string of 5 groups: "**--**--**"
  • Programs developed in class

  • Friday
  • Read Chapter 3 in Zelle.




 


Week 4 Sept. 28    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 5 Oct 5    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 6 Oct. 12    


Topics: Lab/Hw Reading
  • Monday: Fall Break

  • Wednesday

  • Friday: Midterm Exam
  • Lab
  • Homework




 


Week 7 Oct 19    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 8 Oct. 26    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 9 Nov. 2    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 10 Nov 9    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 11 Nov 16    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 12 Nov 23    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday: Thankgiving Break

  • Friday: Thankgiving Break
  • Lab
  • Homework




 


Week 13 Nov 30    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 14 Dec 7    


Topics: Lab/Hw Reading
  • Monday:

  • Wednesday

  • Friday
  • Lab
  • Homework




 


Week 15 Dec 14    


Topics: Lab/Hw Reading
  • Monday: Last Class
  • Final Exam







Links and Resources


Graphics


  • Zelle's graphic library can be found here
  • A page with color names supported by the graphics library.


On-Line Python books


  • disocovermagazine.com blog. Check out the answers posted by many readers. They contain some interesting links that you may find useful!


Python keywords


The list of all the reserved words of the Python language
and del for is raise assert elif from lambda return break else global not try class except if or while continue exec import pass yield def finally in print.


Python Programs in Textbook


  • All the programs of Zelle's Python textbook


Misc


  • If you decide to work in pairs for the lab, you need to follow the protocol for 'pair programming' as discussed in this article.