- Semester
- Area Elective
- Type
- Elective
- Credit
- 3
- ECTS
- 5
- Language
- İngilizce
- Contact hours
- Lecture 3 · Practice 0 · Lab 0
On this page
Course Objective
The objective of this course is to teach different logic programming concepts via programming practices realized by using different logic programming languages. The students will be able to compare how different logic programming concepts are handled in different type of languages. The students get a chance to apply their knowledge by completing homework assignments written in example logic programming languages.
Course Content
Lisp programming: symbolic expressions, elementary functions, Lambda notation, forms, functions, list structures, Prolog programming: facts, rules, relationships; data structures; backtracking; input/output; built-in predicates.
Prerequisites
None
Delivery and Teaching Methods
- Face to face
- Lecture
Learning Outcomes and Contribution to Programme Outcomes
- 1Gain necessary knowledge for LISP/Prolog programming.
- 2Discuss main constructs of logic programming languages.
- 3Comprehend the basic differences between logic programming and imperative, functional, and object-oriented languages.
- 4Identify practical/suitable usage areas for logic programming.
Contribution level ranges from 0 (none) to 5 (highest).
| PO | Programme outcome | Contribution level |
|---|---|---|
| PO1 | Gain sufficient knowledge in mathematics, science and computing; be able to use theoretical and applied knowledge in these areas to solve engineering problems related to information systems. | 3 |
| PO2 | To be able to identify, define, formulate and solve complex engineering problems; to be able to select and apply appropriate analysis and modeling methods for this purpose. | 0 |
| PO3 | Designs a complex system, process, device or product under realistic constraints and conditions to meet specific requirements; applies modern design methods for this purpose. | 0 |
| PO4 | To be able to develop, select and use modern techniques and tools required for the analysis and solution of complex problems encountered in information systems engineering applications; to be able to use information technologies effectively. | 0 |
| PO5 | Designs and conducts experiments, collects data, analyzes and interprets results to investigate complex engineering problems or research topics specific to the discipline of information systems engineering. | 0 |
| PO6 | Can work effectively in disciplinary and multidisciplinary teams; can work individually. | 0 |
| PO7 | a. Communicates effectively both orally and in writing; writes effective reports and understands written reports, prepares design and production reports, makes effective presentations, gives and receives clear and understandable instructions. b. Knows at least one foreign language. | 0 |
| PO8 | To be aware of the necessity of lifelong learning; to be able to access information, to be able to follow developments in science and technology and to be able to renew himself/herself continuously. | 0 |
| PO9 | a. Acts in accordance with the principles of ethics, gains awareness of professional and ethical responsibility. b. Gains knowledge about the standards used in information systems engineering applications. | 0 |
| PO10 | a. Gains knowledge about business life practices such as project management, risk management and change management. b. Gains awareness about entrepreneurship and innovation. c. Gains knowledge about sustainable development. | 0 |
| PO11 | a. To be able to acquire knowledge about the universal and social effects of information systems engineering applications on health, environment and safety and the problems of the era reflected in the field of engineering. b. Gains awareness of the legal consequences of engineering solutions. | 0 |
Weekly Topics
| Week | Topic |
|---|---|
| 1 | Logical Agents |
| 2 | First-Order Logic |
| 3 | Inference in First-Order Logic |
| 4 | Inference in First-Order Logic |
| 5 | Clauses, Predicates, Satisfying Goals, Operators and Arithmetic (In Prolog) |
| 6 | Input Outputs /Loops /Preventing Backtracking (In Prolog) |
| 7 | List Processing String Processing (In Prolog) |
| 8 | Syntax, Semantics, Functions, Variables (in LISP) |
| 9 | Syntax, Semantics, Functions, Variables (in LISP) |
| 10 | Control Structures, Macros (in LISP) |
| 11 | Numbers, Characters, Strings, Collections, File I/O (in LISP) |
| 12 | Object Reorientation (Generic functions, Classes) (in LISP) |
| 13 | Object Reorientation (Generic functions, Classes) (in LISP) |
| 14 | Practical Applications (in LISP) |
Assessment
| Method | Number | Weight |
|---|---|---|
| Midtermexam | 1 | %25 |
| Homework | 2 | %15 |
| Project | 1 | %30 |
| Finalexam | 1 | %30 |
| Total | %100 | |
ECTS Workload
| Activity | Number | Duration (hours) | Total |
|---|---|---|---|
| Out-of-Class Study Time | 16 | 2 | 32 |
| Projects | 1 | 10 | 10 |
| Final Exam Preparation | 1 | 15 | 15 |
| Lecture Hours (Including exam week: 16 x lecture hours) | 16 | 3 | 48 |
| Assignments | 2 | 5 | 10 |
| Midterm Exam Preparation | 1 | 10 | 10 |
| Total workload (hours) | 125 | ||
| ECTS equivalent (workload / 30) | 4.2 | ||
Resources
- Textbook Seibel, P., “Practical Common LISP”, 2005, Springer.
- Other M.Bramer, “Logic Programming with Prolog”, 2005, Springer, ISBN: 1-85233-938-1.
- Other L.Sterling, E.Shapiro, “The Art of Prolog: Advanced Programming Techniques”, (MIT Press Series in Logic Programming),
- Other http://www.atilim.edu.tr/~hurevren/COMPE462/Sebesta_Ch16.ppt
- Other http://common-lisp.net/
- Other Artificial Intelligence : A Modern Approach (Second Edition)., Stuart Russell and Peter Norvig, Prentice-Hall, 2003, ISBN: 0-13-790395.