UIINK56 Practicum in Logic Programming

Faculty of Philosophy and Science in Opava
Summer 2024
Extent and Intensity
0/8/0. 2 credit(s). Type of Completion: z (credit).
Teacher(s)
RNDr. Šárka Vavrečková, Ph.D. (seminar tutor)
Ing. Tomáš Vícha (seminar tutor)
Guaranteed by
RNDr. Šárka Vavrečková, Ph.D.
Institute of Computer Science – Faculty of Philosophy and Science in Opava
Prerequisites
Logic and Logic Programming
Course Enrolment Limitations
The course is offered to students of any study field.
Course objectives
We build on the Logic and Logic Programming course and focus on programming techniques in the logic programming language Prolog.
Learning outcomes
Students will be able to:
- identify basic PROLOG data types;
- define facts and rules of specific simple examples;
- use recursive list functions, arithmetic and other built-in PROLOG functions;
Syllabus
  • 1. Prolog programming language. Specifics, clause forms, facts, rules, queries.
  • 2–3. Prolog syntax. Resolution, use of recursion.
  • 4.–5. Arithmetic and logical operations, testing data types. Calculations and recursion.
  • 6. Inputs and outputs.
  • 7.–9. Lists, operations on lists.
  • 10.–11. Use of lists, permutations, array simulation, sorting algorithms, graph simulation.
  • 12–13. Advantages of declarative programming in solving various types of problems.
Literature
    required literature
  • VAVREČKOVÁ, Šárka. Praktikum z logického programování. Skripta do předmětu. Skripta jsou průběžně aktualizována. Dostupné na: https://vavreckova.zam.slu.cz/obsahy/log2/skripta/praktikum-prolog.pdf
    recommended literature
  • SWI-Prolog Reference Manual [online]. SWI-Prolog.org. Průběžně aktualizováno, platné pro aktuální verzi Prologu. Dostupné na: https://www.swi-prolog.org/pldoc/doc_for?object=manual
  • GALLIER, Jean H. Logic for computer science: foundations of automatic theorem proving. Second edition. Mineola, New York: Dover Publications, 2015. ISBN 978-048-6780-825.
  • NIEVERGELT, Yves. Logic, mathematics, and computer science: modern foundationswith practical applications. Second edition. New York: Springer, 2015. ISBN 978-1-4939-3222-1. info
  • BRATKO, Ivan. Prolog programming for artificial intelligence. 4th ed. New York: Addison-Wesley, 2012. ISBN 978-0-321-41746-6. info
Teaching methods
Seminars in a computer lab
Assessment methods
Credit:
1. Compulsory attendance at seminars min. 75%.
2. Written form of verification of study results.
Language of instruction
Czech
Further comments (probably available only in Czech)
Study Materials
The course can also be completed outside the examination period.
Information on the extent and intensity of the course: Cvičení 8 HOD/SEM.
The course is also listed under the following terms Summer 2020, Summer 2021, Summer 2022, Summer 2023, Summer 2025.
  • Enrolment Statistics (recent)
  • Permalink: https://is.slu.cz/course/fpf/summer2024/UIINK56