Please make note of our exam dates in the Course Info handout because we do not allow make-up exams (other than for OAE or student athletics).
If you want to try out your solutions to problems in CodeStepByStep:
The system for final exam regrades is the same as on the midterm. If you disagree with the grading of a programming problem, such as if you think your solution actually does work, or that your solution is more nearly correct than it was given credit for, you must download our code ZIP Qt Creator code project, which will contain runnable testers for the exam problems. Type your code into the project .cpp file, fixing any trivial syntax problems. Run it for yourself and see how nearly correct your solution is. Or you can use CodeStepByStep to run and test your code.
If after running the code files you still think your grade is incorrect, fill out this form. We will not accept any exam for a regrade unless the form is filled out in entirety, and we will not re-evaluate grading of the correctess of any programming questions without a typed copy of your solution being shown to us first.
Also note: When you submit an exam for a regrade, we will regrade your entire exam. If we notice anywhere that you were mistakenly given too many points, we will also correct this. So it is possible (though less likely) that a regrade request will result in you receiving a lower mark than what you started with.
All midterm regrade requests (other than simple score addition errors) must be submitted to the instructor no later than 7 days after the start of next quarter (Spring 2018, in this case).
Same as on the midterm exam (see rules below).
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want more practice problems, here are links to some past exams given in 106B by other instructors. They don't exactly match the current exam format, so they may be of limited use. Some of the problems on these tests don't match the topics, difficulty level, and/or type of questions we currently plan to ask. These links are provided merely as a convenience to help you study.
The actual exam will have roughly 10 total problems. Those problems will be selected from the following categories. For each category, you may be asked to read code (look at a piece of existing code and answer questions about it, such as writing its output), and/or write code (write a piece of code such as a function or short program that solves a problem about that topic).
ListNode
objects from lecture, or a similar linked list class
BinaryTree
class from lecture or a similar binary tree class
TreeSet
or ArrayList
GWindow
class
=
operator, copy constructors, and deep copying
ArrayList<T>
If you want to test out your solutions in CodeStepByStep, here are direct links to each problem:
If you are an SCPD student who took the exam remotely with a proctor, you received a different midterm exam that does not exactly match the one on this page. Go to the SCPD page to download a copy of that exam and its answer key.
* Stats below are curved scores, and they do reflect our curve as explained below.
pts | % | |
---|---|---|
MEDIAN | 52 | 83.9% |
MEAN | 49.3 | 79.6% |
MAX | 62 | 100% |
STDEV | 9.0 | 14.5% |
Curve?: No curve. We were satisfied with the existing scores, so we will not be curving the scores to add points. Remember that all students' grades are fit to a distribution at the end of the quarter, so your grade may still be higher than the minimum guarantees listed on the course information handout.
Low Grades: Another topic some students ask about is: If their score was lower than they hoped, how much effect will that have on their grade, or what are their options, etc.? Most of the information to answer this can be found on this web site. The course info sheet lists the relative grading weight of homework vs. midterm vs. final exam, so you can use that to compute the rough effect on your grade of a particular midterm score. Also look at our FAQ page for info about pass/fail grading options, drop dates, and other information.
Picking up your exam: We do not return the paper exams, but you can see the digital scan of your exam in the GradeScope system once exam scores are published. You should log in (or create account as needed) using your Stanford email account.
We work hard to grade consistently and correctly, but sometimes we make mistakes in grading. If you disagree with the grading of your exam, such as if you think your solution actually does work, or that your solution is more nearly correct than it was given credit for, the procedure for regrades is the following:
If your complaint is about the correctness of your solution to a programming question, you must download our Qt Creator code project (below), which will contain runnable testers for the midterm problems. Type your code into the project .cpp file, fixing any trivial syntax problems. Run it for yourself and see how nearly correct your solution is.
If after running the code files you still think your grade is incorrect, fill out this form. We will not accept any exam for a regrade unless the form is filled out in entirety, and we will not re-evaluate grading of the correctess of any programming questions without a typed copy of your solution being shown to us first.
Also note: When you submit an exam for a regrade, we will regrade your entire exam. If we notice anywhere that you were mistakenly given too many points, we will also correct this. So it is possible (though less likely) that a regrade request will result in you receiving a lower mark than what you started with.
All midterm regrade requests (other than simple score addition errors) must be submitted to the instructor no later than Week8 Fri, at 5pm.
Sample midterm exam(s) posted here are intended to be very similar to the actual midterm. The number of problems and type of problems on the actual exam will be much like what is seen on these practice exams. You can test your answer by typing it into Qt Creator or CodeStepByStep.
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
If you want to work on this practice exam's problems in CodeStepByStep, here are direct links to each problem:
#include
statements in your exam code.
The actual midterm exam will have roughly 8-10 total problems. Those problems will be selected from the following categories. For each category, you may be asked to read code (look at a piece of existing code and answer questions about it, such as writing its output), and/or write code (write a piece of code such as a function or short program that solves a problem about that topic).
Vector
, Grid
, Stack
, Queue
, Set
, Map
, HashSet
, HashMap
, or Lexicon
; understanding tradeoffs between various data structures
iomanip
library (e.g. setw
, setprecision
)
GWindow
class or any other code related to graphical user interfaces (GUIs)
Here is a handout created by a past CS 106B instructor with her advice about how to study for, and take, a CS 106B exam. Note that not all of the information and policies in this handout are correct for the current quarter; for example, in Julie's quarter the exam was open-notes, but the exam this quarter is not.
Week1 Sun 9:00 AM Week4 Tue 9:00 AM No other exam information has been posted yet. There will be an announcement on the main course web page when exam information is posted.
You are expected to follow the Stanford Honor Code.
If this is an assignment that allows pairs, the same rules apply to each team. For example, do not look at assignment solutions that do not belong to your team, and do not give your solution to anyone outside of your team.
Remember that we run similarity-detection software over all solutions, including this quarter and past quarters, as well as any solutions we find on the web.
If you need help solving an assignment, we are happy to help you. You can go to the LaIR, or the course message forum, or email your section leader, or visit the instructor / head TA during office hours. You can do it!
See Course Information handout for full Honor Code policies, or email us if you have any questions.