SAMS 2017 - Programming Course

Schedule for Section C


Week 1

Topics: Basics + Data types + Functions + Conditionals + Intro to loops

Notes: Week 1 and Week 2 notes from here.

Lecture 1.1 slides
Lecture 1.2 slides
Lecture 1.3 slides

Homework 1.1
Homework 1.2

Week 2

Topics: How computers work + Strings + Nested loops + Style

Notes: Here are notes on strings. And here is the style guideline.

Lecture 2.1 slides
Lecture 2.2 slides

Homework 2.1
Homework 2.2

Week 3

Topics: Lists

Notes: Here are notes on lists.

Lecture 3.1 slides

Homework 3.1

Week 4

Topics: 2D Lists, Intro to Graphics

Notes: Here are notes on 2D lists and graphics. Word search example is here.

Lecture 4.1 slides

Homework 4.1

Week 5

Topics: Event-based programming and animations

Notes: Here are notes on event-based animations.

Examples

  • Barebones
  • Basic timer, mouse, keyboard events
  • One box falling
  • Multiple objects on screen
  • Raining circles
  • A more sophisticated example
  • More Examples (from Wednesday lab)

  • Mode Demo
  • Grid Demo
  • Undo/Redo Demo
  • Images Demo
    To run this demo, first download playing-card-gifs.zip and unzip that file, so the folder playing-card-gifs is at the same level as this code.
  • Week 6

    Topics: Monte-Carlo method

    Lecture 6.1 slides
    Bonus Lecture slides