ProgLang 2012

Example of solution to a quiz last year :D. Page1, Page2

HOMEWORK Solution page 1, page 2

chapter01: Prolog, an introduction

(pdf version is here)

picture file showing how prolog backtracks.  (file about states, city, of north america)

chapter02: Constructing a prolog program. Powerpoint, pdf

chapter03: data structure - list. Powerpoint, pdf (you need to fill in the blanks yourself) 

chapter04: Using Cut (just for your info), and AI problem example: Word2007, pdf