Caution! You are looking at an out-of-date version of this website from Fall 2016.
To access the current version, click here.

EXAMS

The best way to prepare for COS 126 exams is to do previous exams. We strongly encourage you to challenge yourself do each exam in its entirety before looking at the solutions. If you have any questions about the exams, ask on Piazza. Note that the course changes from semester to semester, so some topics from previous exams may not be relevant. You are responsible only for the material covered in this semester's video lectures, assigned readings, programming assignments, and precepts.

Programming Exam 1 Written Exam 1 Programming Exam 2 Written Exam 2
Fall 2016 Programming Exam 1
Election.java
2012.txt
hogwarts.txt
Written Exam 1
Solutions
Programming Exam 2
ColorHSB.java
web.txt
wiki.txt
Written Exam 2
Solutions
Spring 2016 Programming Exam 1
GStatistic.java
loadedDie1.txt
loadedDie2.txt
Written Exam 1
Solutions
Programming Exam 2
RollingStats.java
rollingStats.txt
Submit!
Written Exam 2
Solutions
Fall 2015 Programming Exam 1
Count1.java
Count2.java
Written Exam 1
Solutions
Programming Exam 2
Files
Language.java
PostfixL.java
Written Exam 2
Solutions
Spring 2015 Programming Exam 1
Aliquot.java
Perfect.java
Cuddly.java
Cycle.java
Written Exam 1
Solutions
Programming Exam 2
Diamond.java
Ngon.java
NgonArt.java
Written Exam 2
Solutions
Fall 2014 Programming Exam 1
F14Part1.java
F14Part2.java
F14Part3.java
Written Exam 1
Solutions
Programming Exam 2
RandomPokerHands.java
PokerHand.java
PokerHandCount.java
Written Exam 2
Solutions
Spring 2014 Programming Exam 1
Practice this exam here.
SnowStats.java
SnowMelt.java
Written Exam 1
Solutions
Programming Exam 2
Ballot.java (Array Ver.)
Ballot.java (Queue Ver.)
Election.java
Written Exam 2
Solutions
Fall 2013 Programming Exam 1
Part1.java
Part2.java
Part3.java
Written Exam 1
Solutions
Programming Exam 2
Practice this exam here.
MiniPro.java
MiniPro2.java
Written Exam 2
Solutions
Spring 2013 Programming Exam 1
FoodPart1.java
FoodPart2.java
Written Exam 1
Solutions
Programming Exam 2
Person.java
TigerBook.java
Written Exam 2
Solutions
Fall 2012 Programming Exam 1
HatsPart1.java
HatsPart2.java
Written Exam 1
Solutions
Programming Exam 2
CA.java
PictureCA.java
Written Exam 2
Solutions
Spring 2012 Programming Exam 1
FindFood.java
Written Exam 1
Solutions
Programming Exam 2
PList.java (Stack Ver.)
PList.java (Linked List Ver.)
Written Exam 2
Solutions
Fall 2011 Programming Exam 1
BirthdayPart1.java
BirthdayPart2.java
Written Exam 1
Solutions
Programming Exam 2
Tower.java
CoveragePicture.java
Coverage.java
Written Exam 2
Solutions
Spring 2011 Programming Exam 1
HuntingtonHill.java
Written Exam 1
Solutions
Programming Exam 2
LR.java
Written Exam 2
Solutions
Fall 2010 Programming Exam 1
PlotMean.java
PlotTukey.java
Written Exam 1
Solutions
Programming Exam 2
Range1D.java
Range2D.java
Intersections.java
Written Exam 2
Solutions
Spring 2010 Programming Exam 1
Tstat.java
Written Exam 1
Solutions
Programming Exam 2
BinaryInteger.java