- Semester
- Area Elective
- Type
- Technical 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 | Gains adequate knowledge in mathematics, science, and subjects specific to the software engineering discipline; acquires the ability to apply theoretical and practical knowledge of these areas to complex engineering problems. | 4 |
| PO2 | Gains the ability to identify, define, formulate, and solve complex engineering problems; selects and applies proper analysis and modeling techniques for this purpose. | 4 |
| PO3 | Develops the ability to design a complex system, process, device, or product under realistic constraints and conditions to meet specific requirements; applies modern design methods for this purpose. | 5 |
| PO4 | Demonstrates the ability to select, and utilize modern techniques and tools essential for the analysis and determination of complex problems in software engineering applications; uses information technologies effectively. | 4 |
| PO5 | Develops the ability to design experiments, gather data, analyze, and interpret results for the investigation of complex engineering problems or research topics specific to the software engineering discipline. | 0 |
| PO6 | Demonstrates the ability to work effectively both individually and in disciplinary and interdisciplinary teams in fields related to software engineering. | 3 |
| PO7 | Demonstrates the ability to communicate effectively in Turkish, both orally and in writing; to write effective reports and understand written reports, to prepare design and production reports, to deliver effective presentations, and to give and receive clear and understandable instructions. | 0 |
| PO8 | Gains knowledge of at least one foreign language; acquires the ability to write effective reports and understand written reports, prepare design and production reports, deliver effective presentations, and give and receive clear and understandable instructions. | 0 |
| PO9 | Acquires an awareness of the necessity of lifelong learning; the ability to access information, follow developments in science and technology, and continuously improve oneself. | 0 |
| PO10 | Acts in accordance with ethical principles and possesses knowledge of professional and ethical responsibilities. | 0 |
| PO11 | Knows the standards used in software engineering practices. | 0 |
| PO12 | Knows about business practices such as project management, risk management and change management. | 0 |
| PO13 | Gains awareness about entrepreneurship and innovation. | 0 |
| PO14 | Gains knowledge on sustainable development. | 0 |
| PO15 | Has knowledge about the universal and societal impacts of software engineering practices on health, environment, and safety, as well as the contemporary issues reflected in the field of engineering. | 0 |
| PO16 | Acquires awareness of the legal consequences of engineering solutions. | 0 |
| PO17 | Applies knowledge and skills in identifying user needs, developing user-focused solutions and improving user experience. | 5 |
| PO18 | Gains the ability to apply engineering approaches in the development of software systems by carrying out analysis, design, implementation, verification, validation, and maintenance processes. | 4 |
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.