LABS
Fast Links: Lab Sections and Course Assistants | Lab Assignments
Each lab will be posted here for your reference along with sample answers after the labs are all over. Labs participation counts for 5% of your grade. There are 12 labs so you can miss 2 labs without penalty. This does not include the lab exam dates (see below). If you miss a lab, you are responsible for understanding the material you missed. You must go to the lab for your assigned section in order to get credit for lab participation.
Two lab exams will be given (see schedule below) that will test your ability to write simple Ruby programs given a limited amount of time and resources. No makeups will be allowed except as allowed in the official course policy. The lab exams are worth a total of 10% of your grade.
IMPORTANT RULES FOR ALL LABS
In order to receive credit for lab, you must attend your lab section and submit your work during that lab. You cannot attend another lab section, and you cannot submit from elsewhere (e.g. your dorm room). We want you to go to lab since you will get additional information from your course assistant that will help you, and you will be able to work with other students to share ideas and learn how to solve problems more effectively. It is also important to go to lab and use the Linux machines since your lab exams will be run on these machines so you need to familiarize yourself with this environment.
If you go to a different lab section or submit the work early or late, you will receive a 0. You are allowed to drop 2 labs without penalty, so please do not ask for makeups. Look ahead at your schedule to see if you will be missing a lab due to another event and plan on dropping that lab. If you drop a lab, you are still responsible for reviewing the material covered. (Note: You must be in attendance for lab exams. Lab exams cannot be dropped.)
Lab Assignments
Instructions for Electronic Handin
Lab 1 | Thursday, Jan 17 | Lightbot | Sample Answers |
Lab 2 | Thursday, Jan 24 | Intro to Ruby and irb | Sample Answers |
Lab 3 | Thursday, Jan 31 | Arrays and Loops | Sample Answers |
Lab 4 | Thursday, Feb 7 | More Searching and Sorting | Sample Answers |
Lab 5 | Thursday, Feb 14 | Debugging Practice | Sample Answers |
Lab 6 | Thursday, Feb 21 | Fractals | Sample Answers |
LAB EXAM 1 | Thursday, Feb 28 | Questions (version A) | Sample Answers (version A) |
Lab 7 | Thursday, Mar 7 | Hash Tables | Sample Answers |
Lab 8 | Thursday, Mar 21 | Bitmap Images | Sample Answers |
Lab 9 | Thursday, Mar 28 | Cellular Automata | Sample Answers |
Lab 10 | Thursday, April 4 | Monte Carlo Method | |
Lab 11 | Thursday, April 11 | Graphics in Ruby | Sample Answers |
Lab 12 | Thursday, April 25 | Programming a Game | Sample Answers |
LAB EXAM 2 | Thursday, May 3 |
Lab Sections and Course Assistants
You are required to go to your assigned lecture and lab. Since part of your course grade depends on lab participation, you must go to your assigned section to get lab credit. To email your CA directly, you can send mail to their andrew ID "at" (@) andrew.cmu.edu .
SECTION | DAY/TIME | ROOM | COURSE ASSISTANT | ANDREW ID |
A | R 9:30AM-10:20AM | GHC 5205 |
Jonathan Yee Kathy Yu |
jyee1 kyu1 |
B | R 10:30AM-11:20AM | GHC 5205 |
Jeffrey Yan Benjamin Lam |
jyan bklam |
C | R 11:30AM-12:20PM | GHC 5205 |
Benjamin Lam Gabriel Hobeika |
bklam gph |
D | R 12:30PM-1:20PM | GHC 5205 |
Lawrence Tsang Jack Biggs |
ltsang jbiggs |
E | R 1:30PM-2:20PM | GHC 5205 |
Andrew Yee Corinne Clinch |
ajyee cclinch |
F | R 2:30PM-3:20PM | GHC 5205 |
Yihuan Zhou Heidi Yang |
yihuanz hty |
G | R 3:30PM-4:20PM | GHC 5205 |
Forrest Richmond Yihuan Zhou |
rrichmon yihuanz |
H | R 9:30AM-10:20AM | GHC 5201 |
Michael Hansen Alekhya Gampa |
mhansen1 agampa |
I | R 10:30AM-11:20AM | GHC 5201 |
Avia Weinstein Corinne Clinch |
aweinste cclinch |
J | R 11:30AM-12:20PM | GHC 5201 |
Vivian Chang Carrie Purta |
vchang cpurta |
K | R 12:30PM-1:20PM | GHC 5201 |
Vishal Jeet Gabriel Hobeika |
vjeet gph |
L | R 1:30PM-2:20PM | GHC 5201 |
Patrick Yurky Soyoung Yoon |
pyurky syoon1 |
M | R 2:30PM-3:20PM | GHC 5201 |
Eshan Chordia Eric Gottlieb |
echordia egottlie |
N | R 3:30PM-4:20PM | GHC 5201 |
Eric Gottlieb Alekhya Gampa |
egottlie agampa |