This exam is due Tuesday, November 4, at 5pm. Please submit your text answers electronically as the cs1man "assignment" called midterm.
The time limit on this exam is five hours. However, you are permitted to take the exam in non-consecutive sessions which add up to five hours, providing that you do not attend any CS 1 lecture, lab session, or recitation session between the time you start and the time you finish, and that you adhere to all of the rules below for the entire time between the time you start and the time you finish.
Note also that if you run out of time before you finish your exam, you may write on your exam where you ran out of time and continue after that. We will probably award partial credit for work done after the time limit, but don't overdo it (if it takes you too long, you're probably going to get it wrong anyway).
This is a closed-book exam.
This is a no reference exam, with these exceptions:
You may consult your lab submissions or a copy of them, as well as any responses from your TA to those submissions, during this exam.
You may consult the PDF versions of the CS 1 lectures. However, do not print out the lectures on the CS cluster printer (in Jorgensen room 154) unless you already have done so -- we don't want the CS cluster printer getting hammered during midterm week. If you own a printer you can print them out on that.
You may consult the Scheme standard, located here, if you want to check on the definition of any Scheme procedure. Be careful about this, though; you don't want to spend your exam time browsing through a lot of reference material (use the index!).
This is a closed interpreter exam. You may not use DrScheme or any other Scheme interpreter.
Here is how your exam should be formatted. Note that we will deduct a significant proportion of your midterm grade (up to 1/4 of the total grade) if you violate any of these rules. If you have any questions about these rules, contact us before starting the exam and we'll clarify them.
Type up your exam in any plain text editor of your choice.
We recommend that you use an editor like emacs that can
match parentheses, but you can use vi, pico, or
any other editor that can save text in plain text format.
You are not allowed to use DrScheme to write your exam, even if you just intend to use it as a text editor. Therefore, you might want to spend a little time before you start the exam getting familiar with another text editor.
Your midterm exam should all be in a single plain text file
called "midterm.txt" (that exact name; not
"cs1midterm", "midterm",
"mymidterm" or anything else). You should write your full
name and your CS cluster login name in the first couple of lines of the
file.
Do not submit code in non-plaintext form; Microsoft Word documents and PDFs are examples of non-plaintext formats. Again, Microsoft Word documents and PDFs are not acceptable submission formats! If you do not know what format your editor saves its files in, you should ask someone more knowledgeable (like your TA) to help you.
Make sure that all of the lines in your midterm file have no more than 80 characters in a line. We have to print it out to grade it, and our printer will truncate lines that are more than 80 columns. Most text editors will show you what column you're on as you're editing, so this will help you keep the line lengths to a maximum of 80 characters.
If you did not read the preceding formatting rules, go back and read them now. Remember: you will lose a lot of marks for not following the rules!
We recommend that you use an editor that matches parentheses (like
emacs), but know that we are not grading you on whether
your code is "perfect"; we have Scheme interpreters to tell us that.
Instead, we are looking for correctness at a higher level. A missing
parenthesis here or there will not affect your score (but don't overdo
it).
There is no collaboration on this exam. Show us what you know. Do not discuss the exam with anyone before the final due date for it, even if you both have turned in your answers already.
You may not attend any CS 1 lecture, recitation, or review session between the time you start the exam and the time you complete it. You should complete the exam before you attend it, start the exam after you attend it, or not attend it.
The exam will receive a floating-point score between 0.0 and 6.0, based on your performance across all of the problems. Each section is worth an equal amount (1.5 out of 6.0). The exam is thus worth 6.0 marks out of a maximum of 61.0 marks for the entire course, or about 10% of your final grade.
If you need a clarification of anything on the exam after you've started writing it, you may send email to Mike, Donnie, or Joseph. You can pause your exam while you wait for us to answer.
Go here to take the midterm.