Lecture Notes 15: Review and Practice for Midterm
Part 1: Midterm, what to expect?
Self-Scheduled Exam info
First, self-scheduled exam info can be found
here
Exam structure
the following are approximate relative numbers:
- 1x Indicating the type of variables
- 2x Identifying the type of errors (syntax / exception / logic ) in code
- 3x Multiple choice questions after tracing programs
- 4x Indicating printout after tracing a program
- 1x rewrite a loop from for to while and from while to for
- 1x write a complete function given an annotated specification
Part 2: Midterm Practice Test
- The test has 9 questions worth 18 points.
- The first 4 questions are MCQa (fast ~ 4 minutes total or 1-min each)
- The next 4 questions are Tracing (slow ~ 8 minutes total or 2-min each)
- The last question is Design (very slow ~ 8 minutes total or 8-min for the whole question)
- We'll spend a max of 30 min in this test
- You should shoot for 20 min
To answer:
- Take out a piece of paper & something to write with (pencil is best)
- Start when I indicate by opening the file "Midterm-practiceTest" in Moodle
- Stop when I indicate, no matter where you left off
Then we solve it together.
Part 3: Practice Exercises from you
What do you want to discuss?
Before next class (TBD)
[Due for everyone] Study and arrive early
[Optional] TODO