Module 1: Running Code

Solving problems with automation and abstraction

Language Topics

  • Variables, data types and arithmetic
  • Function calls, method calls and importing modules
  • Sequences: strings and lists
  • Looping over lists (for)

Textbook chapters 1, 2 and 3

Tue, Aug 30

Automation and algorithms

Course overview (25)

The Roomba Challenge (15)


Assignments

Thu, Sep 1

Problem-solving in Python

Picobot assignment follow-up

Introduction to Python


Assignments

Fri, Sep 2

Lab

Nonsense (accounts, sections, stand-alone)

picobot discussion


Lab assignments (due Thu)

Tue, Sep 6

Problem-solving in Python

ACM update?

Roomba wrapup

Python by example

  • Textbook chapters 1 and 2
  • Expressions, statements, evaluation
  • Variables and assigment
  • Functions, parameters and return values
  • Data types and conversion functions

Graphics Example

Arithmetic Exercise


Assignments

  • Finish labs (due Thu)
  • Re-submit picobot through blackboard (due Thu)
  • Bring complete arithmetic exercise (due Thu)

Thu, Sep 8

Data

Arithmetic wrap-up

Broke spies

Sequences and loops

  • Textbook chapter 3

Price Calculation Problem


Assignments

  • Work out the equation relating burger sales to burger price (bring to lab)

Fri, Sep 9

Lab

Pre-course inventory

Finishing the Price Calculation Problem


Lab assignments (due Thu)

Tue, Sep 13

Abstraction

Course survey

Modules and Objects


Assignments

  • Additional Lab: Collage (due Fri by lab time)

Thu, Sep 15

Processing Data

Exam questions? Exam covers:

  • Arithmetic expressions
  • Variables, assignment, input, printing
  • Conversion functions (string to int, etc)
  • Using functions from other modules
  • Lists, strings and simple loops

Cipher Text

Fri, Sep 16

Lab

Module 1 Exam

Exam Recap


Lab assignments (due Thu)

-->