| Course Type | Elective Course |
| Course Level | Bachelor's Degree |
| Year of Study | - |
| Semester | - |
| ECTS | 5 |
| Name of Lecturer(s) |
- |
| Learning Outcomes |
At the end of this course, the students;
- should be able to understand the basics of Prolog language
|
| Mode of Delivery | Face to face |
| Prerequisites | No |
| Recommended Optional Programme Components | None |
| Course Description | Using logic to specify computations: Prolog syntax: Data Objects, Terms, Atoms, Numbers, Variables, Structured Terms, Lists, Program Components, Predicates and clauses, Facts, Queries, Analogies, Getting Started with Prolog, Semantics of Prolog programs, Unification, Resolution -- how programs are executed, List operations, Control predicates: The cut (!), If-then-else (->), Meta-logical predicates: Term comparison, Term inspection, Term composition / decomposition. Extra-logical predicates: Input and output, Program modification, Negation, Prolog operators, Arithmetic |
| Course Contents |
| WEEK |
TOPICS |
|
1st Week |
Using logic to specify computations |
|
2nd Week |
Data Objects |
|
3rd Week |
The relationship between information, bandwidth and noise |
|
4th Week |
Terms, Atoms |
|
5th Week |
Numbers, Variables |
|
6th Week |
Structured Terms |
|
7th Week |
Lists |
|
8th Week |
MIDTERM |
|
9th Week |
Program Components |
|
10th Week |
Queries |
|
11th Week |
Control predicates |
|
12th Week |
Resolution -- how programs are executed |
|
13th Week |
Term comparison |
|
14th Week |
I/O, Program modification |
|
| Recommended or Required Reading | Michael Covington, Donald Nute, Andre Vellino, "Prolog Programming in Depth", 1997. Prentice Hall. Kim, Steven H. (1991). "Knowledge Systems through Prolog". New York, New York: Oxford
University Press, Inc. Moss, Chris. (1994). "Prolog++: The power of Object-Oriented and Logic Programming". Addison-Wesley Publishing Company Inc. Tom Conlon, "Learning Micro Prolog", 1985. Addison Wesley, ISBN: 0-201-11241-8 Clatk, K.L., and McCabe, F.G., "Programming in Logic", 1984. Prentice Hall. Feigenbaum, E., "The Fifth Generation", 1983. Addison Wesley. Kowalski, R., "Logic for Problem Solving", 1979. North Holland Press. |
| Planned Learning Activities and Teaching Methods |
- Lecture
- Questions/Answers
- Case Study
- Problem Solving
|
| Assessment Methods and Criteria |
|
Quantity |
Percentage (%) |
| Mid-term |
1 |
30 |
| Assignment |
5 |
10 |
| Quiz |
5 |
10 |
| Total(%) |
|
50 |
| Contribution of In-term Studies to Overall Grade(%) |
|
50 |
| Contribution of Final Examination to Overall Grade(%) |
|
50 |
| Total(%) |
|
100 |
|
| Language of Instruction | Turkish |
| Work Placement(s) | No |