Learn Java in N Games

240 exam questions

0
Your rating: None

I've finally finished assembling a collection of 240 exam questions for CS2. I've divided the course into 8 sections: primitives and control structures, one-dimensional arrays, objects, multidimensional arrays, array-based linear structures, linked linear structures, trees and recursion, and graphs. I have 30 questions on each topic. My policy this semester has been to give students the questions (but not the answers) and then pick 10 questions for the exam. It seems to be working well.

Email me (drake@lclark.edu) if you'd like the questions.

Questions Download

Focus

Focus was invented by the American game designer and collector Sid Sackson in 1963. It won the prestigious Spiel des Jahres (Game of the Year) award in 1981. Players move pieces (and stacks of pieces) on a board, attempting to deny the opponent any legal move. The program will allow two human players to play against each other. There are two versions of this program: a text-based version and a graphic version. In completing this assignment, students should learn to: • build a linked structure (a deque), and • use inheritance.

Resource Title: 
Focus
Resource Source: 
Peter Drake, Lewis & Clark College
Resource Version: 
1.1

Questions

Questions is based on the parlor game Twenty Questions. The origins of the latter are unknown, but it dates back at least to the 1940s. The computer plays as the guesser. When it loses a game, it asks for information from the user to expand its knowledge. Such accumulated knowledge is lost when the program quits. There are two versions of this program: a text-based version and a graphic version. In completing this assignment, students should learn to: • write simple recursive methods, • use a linked structure to represent a binary tree, and • modify a data structure involving pointers.

You can download the questions files from here

Resource Title: 
Questions
Resource Source: 
Peter Drake, Lewis & Clark College
Resource Version: 
1.1
feedback