Section | Description | Total marks for Section |
1) Miscellaneous | Catch-all section. Types of questions includes: fill in the blank, multiple choice, true/false, matching, definitions etc. | 20 |
2) Reading code | You will be given some code and must figure out what is happening with it e.g., code traces | 15 |
3) Writing code | Based upon an existing program or code fragment, you will be asked to write some code to somehow extend this existing code. The code that you will build upon will be released ahead of time (see the heading below "Code that will actually be used in your exam". | 15 |
50 marks total |
In terms of the lecture notes your midterm will cover the first four sections of notes (i.e., up to and including data structures but excluding B.N.F. & parsing) as well the material covered during lecture time. In addition, any of the basic concepts from CPSC 231 such as loops, functions, recursion etc. are also fair game on this exam. In the latter case it doesn't mean that you have to write Pascal code but it does mean that you should understand their equivalents in Java.
The midterm will be held during the first 50 minutes of Thursday's (March 6) class. It will be held in the same room as the lecture.
Both Katrin and I are releasing, ahead of time, the code from the third section of our exams (code writing). In the exam you will be using some question(s) that uses this code as a starting point - you will have to write some more code based on these base programs.
Writing code: Java code for program one
Writing code: Java code for program two
Here are two links to some "exam-type" questions. You can go to the main 233 course web page to get a sample of the types of questions that Katrin Becker will ask. The links below include the type of questions that I could ask on the midterm. Because Katrin and I pool our midterm questions (i.e., my exam will include some of her questions) it is a good idea to have a look at both links.
MS-Word format (may be viewable using Star Office on the Unix computers in the main Computer Science lab)
Text-file format (may not look nice but if all else fails you can still view the sample questions this way)