Please do the following exercises in The Art of Prolog, Second Edition, and submit a ZIP file consisting of your submission files. There should be a separate file ending in .prolog or .pl for each section. Please make sure that your solutions run in SWI-Prolog.
Section 8.2 (p. 153-154): i, ii
Section 9.2 (p. 173): i
Section 10.1 (p. 179): i, ii
Section 11.1 (p. 195): i, ii, iii
Section 11.3 (p. 202): i, ii