Prolog Quiz
You will be presented by three problems to be solved using Prolog. You should write a solution to each problem following the specification very carefully, and test it using your own queries, through the use of the "VALIDATE" button. You may test your program as many times as you desire before clicking on the "SUBMIT" button that will then grade it against our queries. Make sure that prior to submitting each Prolog program for grading, that you have removed any query that you have used in your validation activities. Click the START button to get the first problem; other problems will follow automatically as you submit each solution.


Copyright © Xinhuo Yang, 2001.
This Javascript is a conversion of the PASCAL program originally from Lloyd Allison at Monash University, Melbourne, Australia.
The description of the capabilities of this interpreter are available from Monash - click here.

Last updated 2002/03/13