Midterm Part 2

The whole period, on a lab machine. Open book, no AI, no collaboration, no device but the lab computer. C on one thread.

Tuesday, November 3, 12:30 to 1:45, in Ben Franklin 103. The exam is the whole period: four programs, and the time to finish them.

It is programming, as Part 1 was: four small programs, each the size of one step of A5 through A8, written at the machine in front of you, compiled with gcc and run. Nothing on it is longer than something you have already written once.

Three rules. No AI. No collaboration. No device but the lab computer you take the exam on: phones and laptops stay away until your files are in. Open book means what that computer reaches, and what is on paper beside you.

Notes of your own in a file: upload them before the exam to the Dropbox folder on Brightspace, under Assignments, and open them from there during it. Your phone and laptop are put away, and the room’s internet reaches only Brightspace, this site and the two books, so a file that is not in that folder by 12:30 cannot reach you.

You hand it in through a quiz, as in Part 1: on Brightspace, under Quizzes, a quiz called Midterm Part 2 with one question. It opens only on the lab machines in this room. At the end, put your files in one zip, in the terminal, zip m2.zip *.c *.h Makefile; attach m2.zip to the question, and press Submit once: you get one attempt, and the quiz closes at 1:45. A program that does not compile still goes in the zip, as on the practice test.

The room’s internet is restricted for the period to Brightspace, this site and the two books. That is what open book reaches.

What it covers

C on one thread. Everything Part 1 covered, and the five weeks since:

Nothing parallel is on this exam, and no structs. Part 1’s page said structs would be here; they come later, with the threads, which begin the week after this exam.

The practice test

Practice test for Midterm Part 2, Thursday, October 29 is the same kind: same room, same hand-in, problems of the same size, three of them in forty minutes, and it counts for nothing. It is the only way to find out what you cannot yet do while there is still time to fix it.