3 hours, during lab on Wednesday, September 30, 3-6pm
Location: NRB 228
No makeups will be considered without an official University excuse
The exam will consist of two parts:
Written part:
50 minutes
Closed book, closed notes
You are allowed a one-sided 8 1/2 x 11 note sheet, hand-written
No electronic devices of any kind are allowed
Programming part:
100 minutes
Open web, open notes
This will be like a mini-programming assignment.
You may use code from your past programming assignments or from the course web site.
You will submit your final program(s) into the Moodle exam 0 dropbox.
Your program will be graded on correctness, clarity (including comments), design, and efficiency.
You will lose a substantial number of points if your program(s) do not compile or if they crash on typical inputs.
You can use a lab machine or your own laptop.
No communication with any non-staff members is allowed.
This includes all forms of real-world and electronic communication (talking, email, twitter, IRC, facebook, SMS, posting on forums, sign language, ESP, smoke signals, etc).
Material covered:
Introduction to Programming in Java, 1.1 - 1.5, 2.1
Exercises from book and in-class activities through 9/25
Lectures 0-8
Programming assignments 0-3
Detailed topics:
Process of compiling and executing a Java program, source code versus byte code
Interpreting compile and run-time errors, difference between the two
Tracing program execution on paper (i.e. given a program figure out what lines execute in what order, what gets output, etc)
Basic data types: int, double, char, boolean, String