Introduction to Computer Programming - CSCI-UA.0002-008 - Fall 2016

Schedule & Notes

WED 9/7, Class #1

Topics

  • Introductions
  • About Programming
  • Programming tools
  • Reading / Writing Programs

Due Today

  • Um. Obvs, nothing.

Assignments / Readings

Readings

  • Read Starting Out with Python - Chapter 1

Assignments Due Monday, 9/12, before class

MON 9/12, Class #2

Topics

  • Values, Types, Operations, Variables
  • Input / Output
  • Calling Functions

Assignments / Readings

Readings

Module, Quiz and Readings Due Monday, Sep 14th, before class

Homework #1 Due Monday, Sep 19th, at 11PM

(Submit via NYU Classes)

  1. mad_libs_lyrics.py - 2 points
  2. exercises.py - 3 points
  3. tree.py - 2 points
  4. temperature.py - 4 points
  5. miles.py - 4 points
  6. foods.py - 5 points

Example output for tree.py:

       /\
      /  \
      /  \
     /____\
       ||

   /\
   ""
  /""\ 
  """"
 /""""\
 """""" 
   ||

WED 9/14, Class #3

Topics

  • Values, Types, Operations, Variables Continued
  • Built-in Functions
  • Formatting
  • Errors
  • Debugging

MON 9/19, Class #4 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

Homework #01

Slides

Warm-up

  • multiple string operations in a single expression
    • len() function (not necessary for homework)
  • review formatting again
    • formatting a %
    • formatting decimal places
    • length of string
    • aligning everything right
    • aligning everything left
    • the argument given is a string! (try passing in a variable)
    • interactive program - how do you want me to format this…
    • it returns a string, which leads us to…
  • review print
    • print a formatted string with other strings
    • note that print doesn't care about type
  • demo homework programs

Assignments / Readings

Homework #2 Due Sunday, Sep 25th, at 11PM

  • we'll do go over potential solutions to multiply together!
  • for the remainder of the homework
    • write your own code
    • (though, I expect that multiply will be the same one that we mostly implement in class)
  1. multiply.py (partially implemented in class together!)
  2. grade_bot_3000.py
  3. bauble_boutique.py

WED 9/21, Class #5

Topics

  • Conditionals
  • Boolean Logic
  • Modules (math, random, sys)

MON 9/26, Class #6 (Programming Assignment)

Topics

  • In-class programming assignment

Due on Sunday before Class

  • Homework #2

Slides

WED 9/28, Class #7

Topics

  • Modules (math, random, sys) Continued
  • While Loops
  • Accumulator Variables

MON 10/3, Class #8 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

Homework #3

WED 10/5, Class #9

Topics

  • While Loops Continued
  • For Loops Preview

Assignments / Readings

WED 10/12, Class #10 (Review)

MON 10/17, Midterm #1

WED 10/19, Class #12

Topics

  • For Loops Continued
  • Nested Loops
  • Writing Your Own Functions

Due Today

MON 10/24, Class #13 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

  • Homework

WED 10/26, Class #14

Topics

  • Writing Your Own Functions Continued
  • Testing
  • Scope
  • Strings

Due Today

Assignments / Readings

MON 10/31, Class #15 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

  • 12:30pm - Extended Homework Due Date

Slides

WED 11/02, Class #16

Topics

  • Strings Continued, Lists

Due Today

Assignments / Readings

Readings

  • Read Starting Out with Python - Chapter 7 - Lists

Assignments

  • Complete the Self Paced-Learning Module #8
  • Take quiz #8 on NYU Classes - Module #8 - Due Mon, 11/7

MON 11/07, Class #17

Topics

  • Lists

Due Today

  • Quiz / Module #08

Assignments / Readings

WED 11/09, Class #18 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

MON 11/14, Class #19 (Review)

Topics

  • Review Session for Midterm #2

Due Today

Slides

Slides

Midterm #2 Practice

These questions do not indicate the exact topics, number of questions or difficulty level of the questions on the exam (the list practice has a very high number of challenging problems which is not representative of the actual exam).

Assignments / Readings

WED 11/16, Midterm #2

MON 11/21, Class #21

Topics

  • Lists Continued
  • Graphics (Turtle Module)

Due Today

MON 11/28, Class #22 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

Slides

WED 11/30, Class #23

Topics

  • File I/O
  • Exceptions

Due Today

MON 12/05, Class #24 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

Module #09 and Quiz #09

Slides

Assignments / Readings

Homework #9 Due Sunday, Dec 11th, at 11PM

Resources for Homework #9

WED 12/07, Class #25

Topics

  • Dictionaries

Due Today

Assignments / Readings

MON 12/12, Class #26 (Programming Assignment)

Topics

  • In-class programming assignment

Due Today

Slides

TUE 12/13, Class #27

WED 12/14, Class #28 (Review)

Topics

  • Review Session for Final Exam

Wednesday, December 21st

  • time 12:00PM - 1:50PM
  • room WWH 317

CSCI-UA.0002-008 - Introduction to Computer Programming - Fall 2016