CS 111
Fall 2017

Labs

Lab 0: Preliminaries
complete on your own ASAP!
Lab 1: Getting started
solutions: task 2, task 3, task 4
Lab 2: Tracing and debugging; practice with lists and functions
solutions: task 0, task 1, task 2, task 3
Lab 3: Recursion and list comprehensions
solutions: task 0, task 1, task 2, task 3, task 4
Lab 4: More recursion!
solutions: task 1, task 2, task 3, task 4
Lab 4b: Binary representation of data; boolean logic (optional)
solutions: task 0, task 1, task 2, task 3-1 and 3-2, task 3-3
Lab 5: Digital circuits
solutions: task 1; task 2; task 3-1; task 3-2; task 3-3: truth table/formula, circuit
Lab 6: Assembly language
solutions: task 2, task 3, task 4
Lab 7: Loops
solutions: task 0, task 1, task 2
Lab 8: References; 2-D lists
solutions: task 0, task 1, task 2, task 3
Lab 9: Object-oriented programming
solutions: task 0, task 1, task 2
Lab 10: Object-oriented programming, part II
solutions: card.py, hand.py, lab10_client.py
Lab 11: Finite-state machines
solutions: task 1 (questions, FSM), task 3