Assignment 3: Recursion and Structures in Prolog


Due Friday, October 14 at 11:59 PM

Goals for This Assignment

By the time you have completed this work, you should be able to:

Provided files:

Step-by-Step Instructions

Step 1: Read Chapters 8-9 of the Amzi! Adventure in Prolog Tutorial, and Complete Related Exercises

There is only a single big step for this assignment: read chapters 8-9 of the Amzi! Adventure in Prolog Tutorial. Links to the individual chapters are on the left side of the screen.

Exercises for chapters 8-9 are provided in the following files:

You must complete all of the above exercises. It is recommended to first read a chapter, then complete the exercises for that chapter, as opposed to trying to read in bulk and then complete the exercises in bulk.

While the turnaround time on this assignment is pretty short, this reading should take a proportionally small amount of time.

Step 2: Turn in Your Answers Using Canvas

Log into Canvas, and go to the COMP 410 class. Click “Assignments” on the left pane, then click “Assignment 3”. From here, you need to upload the following files:

In addition, if you collaborated with anyone else, be sure to download collaborators.txt and write the names of the people you collaborated with in the file, one per line. Please submit this file along with the other files.

You can turn in the assignment multiple times, but only the last version you submitted will be graded.