
Reading your notes feels like studying. For a programming exam it mostly isn’t. This guide collects what real courses tell their own students about their exams, and what four university learning centers say about how to prepare.
We are the engineering team at DoMyProgrammingHomework.io. Every quote is from a course or university page we read on December 1, 2026. Your own course’s rules are the ones that count.
First, find out what kind of exam it is
| Course | Format, in the course’s words | What you may bring |
|---|---|---|
| UC Berkeley CS 61A | “The final exam, worth 75 points (paper-based)” | The course provides its study guides |
| UC Berkeley CS 61B | “We’ll even write code with our hands on paper during exams” | A reference card is provided |
| Stanford CS106A | “you write short phrases of code on paper.” | Closed-note, with a printed list of Python functions |
| Stanford CS106B | “This exam is on paper, using pen/pencil.” | “one 8.5x11 sheet of your own notes” |
| Carnegie Mellon 15-112 | “generally be on paper”, “without the use of other resources.” | No other resources. Its quiz rules ban calculators and devices |
| Michigan EECS 280 | “in-person, on-paper, at a scheduled time.” | Midterm: one note sheet, double-sided |
| Washington CSE 121 | “The exam will be conducted on paper.” | One sheet of your own notes |
| Washington CSE 123 | “The exam will be conducted on paper.” | One sheet, “both the front and back sides” |
| Princeton COS 126 | “Write neatly and legibly, using a dark pen or pencil.” | Midterm: a one-page sheet, “one side, handwritten by you” |
| Cornell CS 1110 | “You will be expected to write code for simple functions, given a specification.” | Not stated for this term |
| Harvard CS50 | “three one-hour quizzes administered during lecture”. No final exam | Not stated |
| MIT 6.100 | Microquizzes “in-class using a computer”. No final exam | “You may NOT use any course materials as aids. You may NOT use the Internet.” |
| Illinois CS 124 | Weekly quizzes in a testing center: “write and debug working code in 50 minutes”. No final exam | Not stated |
Three things to take from it.
Paper is normal. Nine of the 13 say the exam is written by hand. MIT and Illinois test on a computer, and neither has a final exam. Berkeley’s CS 61A also runs one midterm in a computer testing center.
The rules on notes differ a lot. Carnegie Mellon allows no other resources. Stanford’s CS106B and both Washington courses allow a sheet of your own notes. Find your course’s rule this week, because it changes how you study.
Some courses have no final at all. Harvard’s CS50 ends with a project: “The climax of this course is its final project.”
What changes when there is no compiler
On paper, nothing tells you about a missing bracket. Stanford’s CS106B warns its students: “You will not have a compiler that can point out syntax errors.”
The good news is that graders know this.
- Stanford CS106A: “We will not generally grade off for syntax.”
- Stanford CS106B: “we will be quite lenient with errors that are syntactic rather than conceptual”.
- Washington CSE 123: “Something like a minor syntax error will not necessarily lead to a reduced grade.”
It still has to be real code. Washington again: “Answers must be written as proper Java code”. So the skill being tested is writing a correct function from a blank page, and tracing code in your head. Neither improves by reading.
What the courses tell their own students
Don’t study by reading solutions. Stanford CS106A: “The key is, you need to practice with the blank sheet, writing the code out, not just looking at the solution code.” And: “As in sports, you need to practice in game-day conditions.”
Practice under exam conditions. Stanford CS106B’s advice, written by one of its lecturers: “The only exam-specific preparation is practice under exam-like conditions (i.e. without IDE).” Washington CSE 123: “We strongly suggest that you try to solve all of these problems yourself, on paper, without a computer, and without looking at the answer key until you’re done.”
Do past exams, and review them. Berkeley CS 61B has a study tips page, which says its advice comes from personal experience: ““Do practice exams” is probably the most common tip for successful exam prep.” They add: “Print out the past exam and do the exam on paper while timing yourself.”
Check your handwritten answers on a computer afterwards. A second advice page for CS106B: “don’t just hand-write things and call it a day.” Type the solution in and run it on some test cases. That is how you find out whether what you wrote would have worked.
The exam grows out of the coursework. Berkeley CS 61A: “Students who understood the homework will be well-prepared to succeed on the quiz.” Michigan EECS 280: “We recommend preparing for the final by implementing projects without assistance from AI”. MIT says of students who lean on other people’s work: “they will almost surely struggle with the quizzes”.
It can’t be built in one night. Stanford CS106B: “The mastery for the exams isn’t created by a night of cramming, it is built up throughout the quarter.”
What the learning centers say
Four universities’ academic support centers make the same points, for any subject.
| Topic | What they say |
|---|---|
| Testing yourself | University of North Carolina: “Quizzing yourself is a highly effective study technique.” |
| Technical courses | University of North Carolina: “For technical classes, work the problems and explain the steps and why they work.” |
| Re-reading | University of North Carolina: “Re-reading leads to quick forgetting.” |
| Familiar is not learned | Stanford: “Familiarity is not necessarily comprehension!” |
| Spacing | Cornell: “Spaced practice is the opposite of cramming!” |
| Cramming | Harvard: “Cramming the night before an exam isn’t effective.” |
| Practice tests | Cornell: “If your test is closed book, don’t use any resources. (That includes answer keys!)” |
| Sleep | Stanford: not sleeping enough “is physiologically counterproductive to learning and thinking clearly.” |
Cornell’s Learning Strategies Center gives the reason for spacing in one sentence: “People learn faster and perform better if they work in brief blocks of time spread out over longer periods of time, rather than in a few lengthy “cram” sessions.”
A plan for the week before
This plan is ours. We built it from the advice above.
- Find the format and the rulesPaper or computer, what you may bring, what it covers, and where the past exams are.
- Take one past exam coldOn paper, timed, before you study anything. Berkeley’s tips suggest it “when you first start studying”, to guide the rest.
- Mark it honestly and list what you missedStanford’s advice for the days before: “Focus your study time on your weakest areas.”
- Work problems from a blank pageOne topic at a time, by hand. Then type your answer in and run it.
- Make your note sheet early, if one is allowedWashington’s tip: “creating the cheat sheet early can be a very useful form of studying”.
- Take a second past exam under full conditionsSame time limit, same sheet, no phone. Redo the questions you got wrong the next day.
- Stop and sleepThe night before is for rest, not for new material.
Cornell’s version is a five-day plan: “Plan to spend about 2 hours studying on each of the five days.” Two hours a day for five days is the same ten hours as one long night. You keep more of it.
| Time left | Do this | Skip this |
|---|---|---|
| A week | The full plan above | Re-reading every lecture |
| Three days | One past exam, your weak topics, a second past exam | Topics you already do well |
| One day | One past exam, then its solutions, then sleep | A third and fourth exam |
The last row follows Berkeley’s tips for a time crunch: “don’t do too many exams. But rather do one exam, look at the solution, and REDO the exam the next day.”
Where to find past exams
Start with your own course site. Many courses publish them. Cornell’s CS 1110: “we have posted the exams from previous semesters.” Stanford’s CS106A: “We publish old exams on the course site, as these are excellent for studying.” Berkeley’s CS 61B, Washington’s CSE 121 and 123 and Princeton’s COS 126 keep archives as well, and Harvard’s CS50 posts practice quizzes.
Prefer exams from your own course and instructor. Berkeley’s tips: “Prioritize doing past exams from the same instructor to get a better gauge of the difficulty.”
The night before
Sleep. Washington’s CSE 121 tips put it plainly: “An hour more of sleep is better than an hour more of studying”. Harvard’s Academic Resource Center: “Exercise and sleep both improve memory”.
If you are tempted to stay up anyway, read should you pull an all-nighter before a programming deadline? The numbers on what a night without sleep does to you apply to exams too.
How much the final is worth
In many programming courses, exams carry more of the grade than the assignments, and a few courses require you to pass the final to pass the course. We compared 16 real syllabi in how introductory programming courses are graded. If you are worried about where the grade will land, see is a D a passing grade in college?
What we do, and what we don’t
We don’t take exams for anyone, and we won’t help during one. That would be cheating, and these exams are built to prevent it.
Where we help is the work around the exam. Finals week is often when the last project is due too. Send it to us, and a senior engineer writes or fixes it, tests it and explains the code line by line. An explanation you can follow is also exam preparation. See coding project help, programming assignment help and debug my code.
Questions students ask
How do you study for a coding final?
Practice writing code under the exam’s conditions. Take a past exam on paper, timed, without notes you won’t have, and look at the solution only when you finish. Stanford’s CS106A tells students to practice with a blank sheet, writing the code out, not just looking at solution code.
Are programming exams written on paper?
Often. Of 13 courses we checked for fall 2026, 9 say their exams are on paper, including courses at Berkeley, Stanford, Carnegie Mellon, Michigan, Washington and Princeton. MIT’s 6.100 and Illinois CS 124 test on a computer, and neither has a final exam.
Do you lose marks for syntax errors on a paper coding exam?
Usually not for small ones. Stanford’s CS106A says it will not generally grade off for syntax, and Washington’s CSE 123 says a minor syntax error will not necessarily lead to a reduced grade. The answer still has to be real code, not pseudocode.
Can you bring notes to a programming final?
It depends on the course. Stanford’s CS106B allows one 8.5 by 11 sheet of your own notes, and Washington’s CSE 123 allows one sheet, both sides. Carnegie Mellon’s 15-112 exams are taken without other resources. Check your own course’s rule early.
How many days before a final should I start studying?
Start several days out. Cornell’s Learning Strategies Center recommends a five-day plan of about 2 hours a day, and says people learn faster in brief blocks spread over time than in a few long cram sessions.
Is cramming for a final effective?
Not very. Harvard’s Academic Resource Center says cramming the night before an exam isn’t effective, and that information crammed right before a test does not get embedded in long-term memory in reliable ways. Stanford’s CS106B says exam mastery is built up throughout the quarter.
Should I use a cheat sheet if one is allowed?
Yes, and make it early. Berkeley’s CS 61B study tips say the process of writing the cheat sheet is a great way to organize and review the concepts, and suggest creating it early so you can use it while doing past exams.
Sources
- UC Berkeley CS 61A, Fall 2026: syllabus and resources
- UC Berkeley CS 61B, Fall 2026: policies, exam study tips and exam archive
- Stanford CS106A: final prep and midterm prep
- Stanford CS106B, Autumn 2026: final review, review advice 1 and review advice 2
- Carnegie Mellon 15-112 syllabus, Fall 2026
- Michigan EECS 280, Fall 2026: course site and syllabus
- University of Washington, Autumn 2026: CSE 121 exam, CSE 121 tips, CSE 123 exam and CSE 123 study tips
- Princeton COS 126, Fall 2026: syllabus and exam archive
- Cornell CS 1110 exams, Fall 2026
- Harvard CS50, Fall 2026: syllabus and quizzes
- MIT 6.100 course information, Fall 2026
- University of Illinois CS 124 syllabus, Fall 2026
- University of North Carolina Learning Center: studying 101 and preparing for finals
- Cornell Learning Strategies Center: the five-day study plan, effective study strategies and what to do with practice exams
- Stanford Center for Teaching and Learning: misguided study techniques and week prior test prep
- Harvard Academic Resource Center: study strategies and memory and attention
The note-sheet rules for Michigan and Princeton come from their midterms, because the rules for the finals were not posted. The seven-step plan is our own.
Upload the prompt and see a predicted budget in under a minute. A senior engineer confirms the final price.


