Functional and Logic Programming — ae4b33flp

Summary

This course introduces students into the techniques of functional programming in the LISP (or more precisely SCHEME) and HASKELL language and logic programming in the PROLOG language. Both languages are declarative in that the programmer symbolically describes the problem to be solved, rather than enumerating the exact sequence of actions to be taken. In PROLOG, one describes the problem by specifying properties of objects and relations thereamong through logic formulas. In LISP, the problem description takes the form of function definitions. Both languages have found significant applications in artificial intelligence fields, such as agent systems or symbolic machine learning. Motivating tasks from these domains will be used throughout the course.

Credit requirements

The tutorials consist of two halves (Scheme + Prolog). Each is evaluated separately according to following rules:

  • During the term, students will be asked to:
    • Solve the assignment.
      • There will be 3 tasks in the functional part. To be marked as successful, students must obtain 6 „functional“ points out of 10. Unsuccessful tasks are awarded 0 points. 1 functional point translates into 5/12 normal point so that the maximum of 30 functional points translates into 12.5 normal points.
      • In the logical part, there is 1 bigger task. Students can gain at most 12.5 normal points.
    • Write a test. Students can gain 12.5 normal points in each part of the course.
  • The credit is given to students who achieve at least 12.5 normal points from each part of the course.

The (normal) points obtained during the semester are transferred to the exam.

Assignments

Scheme

Exam

Students who receive the credit (based on points from the tutorials) are allowed to take the exam. The written exam has a theoretical part and a practical part (programming). Additional points can be obtained during the oral exam.

For the exam a maximum of 50 points can be awarded. A minimum of 12.5 points must be achieved both in the functional and logical part for a passing grade.

The final grade is assigned according to the sum of tutorials and exam points.

ECTS grade Pass Fail
A B C D E F
Points 100-90 89-80 79-70 69-60 59-50 49-0

Literature

  • Brian Harvey and Matthew Wright: Simply Scheme: Introducing Computer Science, MIT Press, 1999, now available online
  • Bryan O'Sullivan, Don Stewart, and John Goerzen: Real World Haskell, Paperback: 700 pages, O'Reilly, November 2008, English, ISBN-10: 0596514980, ISBN-13: 978-0596514983 now available online
  • Peter Flach: Simply logical, John Wiley 1994, xvi + 240 pages, now available online

Teachers

Functional programming
Lecturer Tutorial instructors
Jiří Vyskočil jjakubuv.jpg
Jiří Vyskočil Jan Jakubův
Logic programming
Lecturer Tutorial instructors
Filip Železný Gustav Šourek Radomír Černoch
Filip Železný Gustav Šourek Radomír Černoch
 
Groups:
courses/ae4b33flp/start.txt · Last modified: 2017/02/14 11:43 by cernorad