Lab25: Practice for the final exam

Good Code  

http://xkcd.com/844/

As with the other exams in CS 149, the final exam consists of two parts (written and coding). Each part will be worth 100 points. You may complete them in any order.

Instructions

  1. Download the following pdf file: Coding3.pdf
    The format of next week's exam will be similar.
  2. Submit via Web-CAT anytime before next week.
  3. Work through last year's written exam problems.

Let me know if you have any questions, and good luck!

-------------------------------------------------------------------------

Written Exam

Objectives

Students will be able to...

  • Recognize vocabulary/concepts from Ch9-12.
  • Predict the return value of basic String methods.
  • Declare and instantiate objects (e.g., Color, Die).
  • Write class definitions based on UML diagrams.
  • Identify common programming mistakes in 149.
  • Draw a memory diagram for a complex program.

Logistics

  • This is a closed-book, closed-notes, no-calculator exam. Do not refer to any materials other than the exam itself. 
  • Do not look at anyone else's exam. Do not talk to anyone but the instructor during the exam. Turn off all cell phones, etc. 
  • Use the restroom and take care of personal needs before you arrive. If you need to leave during the exam, ask for permission. 

-------------------------------------------------------------------------

Coding Exam

Objectives

Students will be able to...

  • Meet any objectives from PA5 and PA6.
  • Implement a constructor, equals, toString.
  • Compute results from an array of objects.

Logistics

  • You must use a Linux lab machine and log in with your JMU account (not student). It's strongly recommended that you practice the sample exam in the lab so there will be no surprises on Friday. 
  • During the exam, you may access materials on the course website including prior activities, lab instructions, and the textbook. However, you may not watch any of the videos or click on links to external websites. 
  • You may also reference the Java API documentation on Oracle's website. In particular, you may want to review the String class
  • You may only run the following programs: DrJava (or other editor), a terminal, and a web browser. All windows should be arranged so that the instructor can see what you're doing. 
  • The use of any pre-existing code (other than that provided as part of the exam), other documents/pages/sites, and/or other programs will be considered a violation of the Honor Code. 
  • At the end of the exam, you will submit your code via Web-CAT. You may not use Web-CAT for any other purpose (e.g., looking at code from prior assignments) during the exam.

Back to Top