JMU CS240 - Algorithms and Data Structures
Help Policies Solutions Syllabus Tools
Study-Aids


Sample Exam Questions: 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).

Sample Questions for Exam 1

Sample Questions for Exam 2

Sample Questions for Exam 3

Sample Questions for the Final Exam

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