Pengaturcaraan Logik
Logic Programming

Logic programming will spans various important aspects in Artificial Intelligence (AI) including Prolog programming in terms of the language, constructing Prolog programs, computation and data structures, expressing procedural algorithms, input/output and other built-in predicates and finally windows programming using Prolog.

Upon completion, the students are expected to be able to:

  • describe the concept of logic programming
  • formulate problems according to the requirements of logic programming
  • use appropriate software for logic programming
  • write a program using logic programming to solve problems
  • apply logic programming to design and develop real world system


STIN1013 Introduction to Artificial Intelligence

Syllabus & Notes

1.0 Overview of Prolog [PPT]  
2.0 Constructing Prolog Programs [PPT]  
3.0 Expressing Procedural Algorithms [PPT]  
4.0 Manipulating Knowledge Base and File Handling [PPT]  
5.0 List, Operators and Arithmetic [PPT]  
6.0 Windows Programming [PPT]  


  • Bratko, I. (2001). Prolog Programming for Artificial Intelligence (3rd). Addison Wesley: England. [Online Resources | 4th Edition]
  • Luger, G. F. (2005). Artificial intelligence: Structures and Strategies for Complex Problem Solving (5th). Addison Wesley: US.
  • Clocksin, W. F. & Mellish, C. S. (2003).  Programming in Prolog: Using the ISO Standard (5th), Springer: Germany
  • Covington, M. A., Nute, D., & Vellino, A. (1997). Prolog Programming in Depth. Prentice Hall: New Jersey.
  • Wan Hussain Wan Ishak, Norita Md Norwawi, Nooraini Yusoff & Mohd Shamrie Sainin (2007). Pengaturcaraan Logik. Pearson Prentice Hall; Petaling Jaya