browser icon
You are using an insecure version of your web browser. Please update your browser!
Using an outdated browser makes your computer unsafe. For a safer, faster, more enjoyable user experience, please update your browser today or try a newer browser.

Labs


Lab Activities

Labs are designed to deepen understanding of current assignments and APT topics and provide additional insights when needed. Although you’ll collaborate in pairs or small groups during labs, every student is required to submit an individual lab form. Be sure to bring a computer to lab each week.

Special deadlines due to Add/Drop:

  • Lab 1: Extended to 9/12
  • Lab 2: Extended to 9/17

Subsequent labs should be submitted on time.


Labs

Warm-upLabTopicsSolutions
NoneLab 1• Introductions
• Winning Strategies
Lab 1 Solution
NoneLab 2• Installing Python Template
• Modifying Nim Program
• Gravity APT
Lab 2 Solution
Warm-upLab 3• Conditionals (if, elif, else)
• String slicing and manipulation
• Getting started with the Faces assignment
Lab 3 Solution
NoneLab 4• String and List methods
• Accumulator Pattern
• Pointers and Mutation
Lab 4 Solution
NoneLab 5• Exam 1 Review Lab 5 Solution
NoneLab 6• Counting Stars
• Files
• While loops
Lab 6 Solution
NoneLab 7• List Comprehensions
• Nested Loops
• Basic Sets
Lab 7 Solution
Warm-upLab 8• Basic Dictionaries
• A Different Game
• Poker Odds
Lab 8 Solution
NoneLab 9• Exam 2 ReviewLab 9 Solution
None Lab 10• BordaCount
• Dictionary to Dictionary
• Lambda Expressions
• Sorting in the MedalTable APT
Lab 10 Solution
None Lab 11• Rock and Roll Songs
• Analyzing the Python Modules
• (Optional) Part 3: Be Creative
Lab 11 Solution
NoneLab 12• Reflection
• A Little on Debugging
• Debugging Exercises
Lab 12 Solution
NoneLab 13 (Optional to attend)• Office HoursN/A

Lab Sections

SectionTimeLocationUTA 1UTA 2
18:30 - 9:45LSRC A155Jackson CookeMichael Wang
210:05 - 11:20LSRC A156Dylan MitchellIsha Shah
310:05 - 11:20BioSci 113Nolan ZhongAthena Wells
410:05 - 11:20BioSci 130Aloye OshotseDevon Lesperance
510:05 - 11:20Physics 235Ashley ChoMegan Fong
611:45 - 1:00LSRC A156Cayla ParkRachel Collins
711:45 - 1:00Physics 235Janet JiangKate Newbold
811:45 - 1:00Allen 103Brandon LopezRyan Hamilton
91:25 - 2:40Reuben-Cooke 129Kevin AlvarengaBela Aguilar
101:25 - 2:40Old Chemistry 101Nolan PotterYulia Savine
133:05 - 4:20French Science 2237Alistair SimmonsRadhika Subramani

Lab Submission Details

Warm-up activities are due before your Friday lab section of the week they are released. All labs are due by 11:59 pm ET on the Sunday following the lab session. If you can’t attend a lab, you can still complete the lab and answer the associated questions for partial credit. Submit your answers via the provided Google form by the Sunday deadline.


Regrade Requests

If you believe there’s an error in grading (be it a lab, apt, or assignment), submit the regrade request form within one week of the grade being posted.


Lab Sections

You should be enrolled in one of the following lab sections, which are held on Fridays.