| Course web page: Introduction to Computer Science for non-majors II James Tam | Return to the course web page |


Since this is your first exam in the class it focuses heavily on the basics of writing a program in Java rather than on Object-Oriented principles. Later exams will heavily stress the Object-Oriented principles. In some ways you can look at the first midterm as a 'crash course' of many of the concepts that you learned in your previous course but no using Java.
Lecture topics covered so far |
Approximate proportion of exam1 |
| Basic Java e.g., Creating, running programs, I/O, Variables, constants, expressions | 25% |
| Branching: Various 'if's', switch | 27.5 |
| Repetition: Pre-test loops (for, while), post-test loops (do-while) | 17.5% |
| Introduction to Object-Orientation (you might also get a few multiple choice questions from the very basic material of "Advanced Java" that were implicit in the intro to O-O section on slides 1 - 10). | 27.5% |
Multiple choice questions 23 marks |
|
| 23 questions | |
Short answer questions 17 marks |
|
| SA1: Code writing (7 marks) | |
| SA2: Code tracing (4 marks) | |
| SA3: Code tracing (6 marks) | |
1 It's based on a near-final version of the midterm (exact proportions may vary *slightly*)
| Min percent | GPA |
| 0 | 0 |
| 40 | 0.7 |
| 50 | 1 |
| 51 | 1.1 |
| 52 | 1.2 |
| 53 | 1.3 |
| 54 | 1.4 |
| 55 | 1.5 |
| 56 | 1.6 |
| 58 | 1.7 |
| 60 | 1.8 |
| 62 | 1.9 |
| 63 | 2 |
| 64 | 2.1 |
| 65 | 2.2 |
| 66 | 2.3 |
| 67 | 2.4 |
| 68 | 2.5 |
| 69 | 2.6 |
| 71 | 2.7 |
| 72 | 2.8 |
| 73 | 2.9 |
| 74 | 3 |
| 76 | 3.1 |
| 78 | 3.2 |
| 80 | 3.3 |
| 81 | 3.4 |
| 82 | 3.5 |
| 83 | 3.6 |
| 84 | 3.7 |
| 86 | 3.8 |
| 88 | 3.9 |
| 90 | 4 |
| 92 | 4.1 |
| 94 | 4.2 |
| 96 | 4.3 |