CS 111
Fall 2022
  • Home
  • Lectures
  • Labs
  • Problem Sets
  • Resources
  • Syllabus
  • Schedule
  • Staff
  • Office Hours
  • Collaboration
  • Participation
  • Blackboard
  • Python Tutor
  • Piazza
  • Gradescope

Old version

This is the CS 111 site as it appeared on December 20, 2022.

Labs

Other relevant information:

  • Configuring Spyder
  • Using the virtual desktop
Lab 0: Preliminaries
complete on your own ASAP!
Lab 1: Getting started
solutions: task 2, task 3, task 4
Lab 2: Tracing and debugging; strings, lists and functions
solutions: tasks 1 and 4, task 2, task 3
Lab 3: Tracing functions; recursion
solutions: task 0, task 1, task 2, task 3
Lab 4: List comprehensions; more recursion
solutions: tasks 1 and 2, task 3, task 4, optional challenge
Lab 5: Binary representation of data
complete on your own for practice
solutions: task 1, tasks 2 and 3
Lab 6: Digital circuits
solutions: task 1; task 2: formula, circuit; task 3: formulas, circuit
Lab 7: More circuits; loops
solutions: task 1 (preliminary questions, circuit), task 2, task 3
Lab 8: More loops; references; interactive programs
solutions: task 0, tasks 1 and 2, extra-practice
Lab 9: 2-D lists; debugging; image processing
solutions: task 1, task 2, extra-practice: 1, 2, 3, 5
Lab 10: Object-oriented programming; dictionaries
solutions: task 0, task 1, task 2, task 3
Lab 11: Object-oriented programming, part II
solutions: card.py, hand.py, lab11_client.py
Lab 12: Finite-state machines
solutions: task 1 (questions, FSM), task 3

Last updated on January 6, 2023.