Module: Data Structures

Advanced data & control structures: sets, dictionaries, and list comprehensions

Learning Outcomes

Programming Python

Implement algorithms in python.

Use & apply the 7 basic skills of computer programming

  1. Variables: storing information (numbers, text)
  2. Math & Logic: writing & evaluating expressions
  3. Input/Output (IO): getting information from the user (or a file/DB) and displaying information to the screen graphically or with the console
  4. Conditions: changing what code statements are executed under different scenarios (i.e., if the day is Sunday, sleep in; otherwise, get up at 6 am)
  5. Loops: repeat code statements (e.g.: while the sink is dirty, keep scrubbing)
  6. Functions: grouped set of statements to accomplish a task based on parameters (e.g.: given f(x)=x+5 then f(2) would be 7)
  7. Lists: store multiple pieces of information (e.g.: an array that stores the integers 1-5 or the letters of the alphabet)

Readings

Dictionaries

Think Python Chapter 11

10 pages by 3/30

Word Play

Think Python Chapter 9

5 pages by 4/6

Imperative Programming

CS5 Chapter 5

30 pages by 4/13

Experiential Learning

HW10: Code Academy

Student Becomes the Teacher

PHW11

Dictionaries