JMU JMU - Department of Computer Science
Help Tools
Study-Aids


In general, exams will contain three kinds of questions: short answer (e.g., true-false, multiple choice, matching, fill in the blank), code tracing (i.e., you are given a code fragment and asked to trace its execution), and programming (i.e., you are asked to write code to accomplish a particular task).

This page will, as the semester progresses, contain links to sample exam questions.

Note that the answers to the sample questions will not be made available. This to help you avoid focusing too much attention on the specifics of these questions. Instead, you should try and answer different variants of each question. Then you should discuss the questions and answers with other students enrolled in the course.

(Of course, you can easily check your answers to the code-tracing and programming questions by executing the code.)

Copyright 2019