CS 149: Programming Fundamentals 
James Madison University, Fall 2017 Semester 

Exam #3 logistics and preparation

The final exam will consist of the same two parts (written and coding), and you will have 120 minutes to complete them both. You may allocate as much time as you like to either portion, but you must complete the written exam first. You are encouraged to study all previous activities and labs, textbook chapters and reading quizzes, and programming assignments. Work through the following sample exams.  The solutions will NOT be posted.  Note: in Autolab - no hints will be given only scores for the coding exam.

This Reference Sheet is the only outside resource you should consult.


Primary Practice Exams:


Extra Practice exams

 Sample Written Exam (Fall 2015)     Sample Code

 Sample Coding Exam (Fall 2015)

Written Exam


Students will be able to...
  • Recognize vocabulary/concepts from Ch1-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.


  • 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


Students will be able to...
  • Meet any objectives from Final PA and previous PA's
  • Implement a constructor, equals, toString.
  • Compute results from an array of objects.


  • You must use a Linux lab machine and log in with the student account. It's strongly recommended that you practice the sample exam in the lab so there will be no surprises on exam day.

    • Here is an Eclipse project for your to untar on the lab machines in the /home/student directory when logged in as student account.
  • During the exam, you may only access the provided reference sheet material.

  • You may only run the following programs: Eclipse, JGrasp, DrJava (or other simple 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 Autolab. You may not use Autolab for any other purpose (e.g., looking at code from prior assignments) during the exam.

Back to Top