Exercises

Exercises

Several of the exercises involve extending or adapting existing examples. The files you will need to edit can be downloaded here.

Note that for technical reasons, some files have been uploaded with a ".txt" extension, which means they will open in your system's default text editor. On saving, you may need to rename them to remove the ".txt" extension.

Prolog

Right-click and choose "Save as..." or "Save Link as..." to save them. On saving, you will need to rename them to remove the ".txt" extension.

prolog0.pl

prolog1.pl

diagnosis1.pl

args1.pl

Sceptic

Right-click and choose "Save as..." or "Save Link as..." to save them.

thermostat1.sc

implies1.sc

controller1.sc

kinship1.sc

kinship2.sc

Cogent

The Cogent examples can be found within the installation provided for the course, see Installing and running Cogent.

Tallis

The sample files for Tallis exercises will be uploaded soon.

AttachmentSize
controller1.sc1.83 KB
kinship1.sc2.97 KB
kinship2.sc2.65 KB
implies1.sc2.16 KB
thermostat1.sc1.18 KB
prolog0.pl.txt152 bytes
prolog1.pl.txt1.38 KB
diagnosis1.pl.txt5.08 KB
args1.pl.txt1.77 KB