Lectures‎ > ‎

Week07

Midterm Review

  • General guidelines:
    • You will have the entire class period (1 hour 45 minutes)
    • Closed book.
    • No laptops, phones, or other computing devices.
    • You may bring a single sheet of notes front and back (you cannot share this)
    • One person out to the bathroom at a time.
  • Values, Variables, and Types
  • Expressions
    • What does this code snippet print to the console?
  • Functions
    • defining functions
    • parameters and arguments
    • calling functions
    • returning values
    • convert a code snippet into a function
  • Global and local variables
  • Conditional statements
  • Iteration
    • while loops
  • Printing variables
    • Commas
    • String concatenation
    • Format strings
  • Getting input
    • input() and raw_input()
    • HTML form input
  • Import
  • Python errors
    • Syntax errors
    • Runtime errors
    • Semantic errors
  • Linux/UNIX basics
    • The file system
    • Directories: relative and absolute
      • mkdir, cd, ls
    • cat
    • rm
    • rmdir
    • cp
  • Unit conversion
  • HTML (very basic)
  • CGI programming with Python
    • printing HTML
    • Extracting form variables
  • Web directories
  • Lists
ċ
matrix_code.py
(3k)
Greg Benson,
Oct 2, 2012, 4:41 PM
Ċ
Greg Benson,
Oct 2, 2012, 11:59 AM
Comments