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.

geo.pl  (file about states, city, of north america)

family.pl


chapter02: Constructing a prolog program. Powerpoint, pdf
capitals.pl
interac.pl
test.pl
learner.pl
kb.pl
menudemo.pl
getyesno.pl
car.pl

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