Programming Languages and Programming Methodologies (B-KUL-H02A3A)

4.0 ECTS English 45.5 First termFirst term Advanced Cannot be taken as part of an examination contract
POC Artificial Intelligence

Prolog is a well-known important representative of logic programming languages which form together with the functional languages the so-called declarative languages. The course aims at introducing the Prolog language, at understanding substantial Prolog programs, and at learning to write and debug Prolog programs.

Some familiarity with algorithms and data structures. Knowledge of some programming language.

Text book
Multimedia

Activities

2.5 ects. Programming Languages and Programming Methodologies: Lecture (B-KUL-H02A3a)

2.5 ECTS English 19.5 First termFirst term
POC Artificial Intelligence

  • Study of the syntax of Prolog and the procedural meaning of Prolog programs. Study of data structures (lists, trees, ...), of data representation (as terms or as predicates), and their use in the context of some problem solving examples.
  • Study of builtins (a.o. for operators, arithmetic, input-output, findall,...), modules, cut, and negation.
  • Study of more advanced programming techniques such as open-ended structures, failure-driven iteration, metainterpreters, definite clause grammars.
  • Study of extensions of basic Prolog systems (possible candidates are constraint logic programming, programming with delays).
  • Practical exercises with a Prolog system will be an indispensable part of the course.

 

This course uses a kind of guided independent learning.
Every week the students have to prepare a part of the course (typically some sections in the handbook).  In addition, they get a number of questions about the prepared material.  They can hand in their answers (e.g. by e-mail).
During the weekly sessions students get the opportunity to ask questions/further explanations about the studied material.  We typically make also some more, related exercises in an interactive setting. 
Sometimes the next topic is briefly introduced.

PROLOG Programming for Artificial Intelligence,
Ivan Bratko
Addison Wesley, third edition 2001.
ISBN 0201-40375-7

1.5 ects. Programming Languages and Programming Methodologies: Exercises (B-KUL-H02K4a)

1.5 ECTS English 26.0 First termFirst term
POC Artificial Intelligence

The exercise sessions are  related to the material of the course.

11 exercise sessions: part of the exercise sessions are in a PC-labo, the rest are classical ones.

Evaluation

Evaluation : Programming Languages and Programming Methodologies (B-KUL-H22A3a)

Mode of evaluation : Written
Category : final examination during examination period
Type of evaluation : Closed book

Written exam focussing on exercises.
Closed book.