Module 17 Study Guide
Learning Objectives (Prolog, CPL Ch.16)
- Write Prolog predicates that use lists and pattern matching
- Write Prolog predicates that use the
ispredicate, integer arithmetic, and integer comparisons
- Understand how the Prolog interpreter’s inference engine works and how the ordering of clauses can affect performance
- Write recursive predicates on trees in Prolog using list tuples
Please complete the lab. You may begin it any time. You should try to finish it by Wednesday so you can start working on the programming assignment.
Please complete the project and submit your code on Canvas by the due date.