Midterm Info

General Info

  • Midterm exam on Friday, March 8th during class time
  • Rooms
    In other SFU Surrey Building, attached to the mall. Based on last name:
    • Last Name A-O: SRYC 2740
    • Last Name P-Z: SRYC 2750
  • You will have 50 minutes to complete the exam. Timing can be tight on the midterm, so watch your time.
  • You may not be able to write exam if you arrive more than 30 minutes late.
  • Makeup exam possible with instructor permission; need not have a doctor's note. Email on day of exam to notify of illness.
  • Sample midterm, and the solution; content may vary between offerings.

Material

  • Course material summary
  • Lectures: see Course Material Summary for slide decks covered
  • Textbook material not covered in lecture is not testable; textbook may give better understanding of topics we did cover.
    • Suggested review questions listed below from the textbook (covers full semester, just look at questions from covered sections). List of questions generated for a previous semester, so the focus of the course will have shifted slightly since then.
  • Assignments 1-3 (see topic list).

Resources in Exam

  • No aids permitted, such as: calculators, textbooks, dictionaries, cell-phones, smart-watches, poll-the-audience, or ask-a-friend.
  • I will be happy to explain non-technical terms.

Possible Question Types

  • Multiple choice. Warning: These can be challenging!
  • Short answer
  • Write, understand, and explain Java programs
  • Work with UML and CRC diagrams
  • Exam is written on paper: no computers

Exam Directions

  • Find a seat with an exam.
    • Do not sit near your friends or study-mates: they think like you do!
    • If you like to look around, then sit at the front.
  • Take out:
    • Your Student ID
    • Writing tools: pens, pencils, eraser, whiteout...
    • Water bottle, cookies...
  • Put everything else at the front of the room.
    • Cell phones and smart-watches off and at front. Not for checking time.
  • Fill out the front of the exam.
  • Any academic dishonesty may lead to a grade of 0 for the entire exam.
    • Touching a cell phone / smart-watch during the exam will be considered academic dishonesty.
  • Communicate only with a TA or the instructor.
    • Do not look around room at other students.
    • When thinking, look up, not around the room.
  • Cover your paper as much as reasonably possible.
  • You have 50 minutes once told to begin.
  • You may not leave the exam during the first 30 minutes, or the last ~10 minutes.

Suggested Review Questions

These are some suggested review questions from the previous version of the course textbook: Object Oriented Design & Patterns (2nd Ed) by Cay Horstmann. These questions may help you assess how well you understand each topic; they are not meant to be samples of the exact type of questions that you will be asked on tests. In addition to these, you should also review the assignment questions, plus lecture notes. Some chapters listed relate to content after the midterm.

  • Solutions
  • Chapter 1: Java Crash Course
    • Exercises: 1.20, 1.23.
  • Chapter 2: OOD Process
    • Exercises: 2.1, 2.3, 2.6, 2.7, 2.8, 2.10, 2.12, 2.17, 2.18, 2.20 (big).
  • Chapter 3: Guidelines for Class Design
    • Exercises: 3.6, 3.7, 3.8, 3.10, 3.11, 3.16, 3.22, 3.26. Fair amount of code: 3.12, 3.13, 3.14.
    • 3rd ed. recommended exercises: 4, 5, 6(good), 7(good), 8, 9, 10, 12, 16, 17, 20, 21
  • Chapter 4: Interface types and Polymorphism
    • Exercises: 4.1, 4.4, 4.5, 4.7, 4.8, 4.11, 4.12, 4.13, 4.14, 4.17, 4.18, 4.19.
  • Chapter 5: Patterns and GUI Programming
    • Exercises: 5.1, 5.2, 5.3, 5.4.
  • Chapter 6: Inheritance and Abstract Classes
    • Exercises: 6.1, 6.3, 6.5, 6.7, 6.9, 6.12, 6.20, 6.21, 6.23.

Good luck!

Midterm Info