Introduction to Prolog

Visit Tutorial Page ( Report)

Prolog has its roots in first-order logic, a formal logic, and unlike many other programming languages, Prolog is declarative: the program logic is expressed in terms of relations, represented as facts and rules. A computation is initiated by running a query over these relations.

  • Prolog Introduction
    • Prolog - Home
    • Prolog - Introduction
    • Prolog - What Is Prolog?
    • Prolog - Applications Of Prolog
    • Prolog - Download And Installation Of GNU Prolog
  • An Overview of Prolog
    • Prolog - Relations In Prolog
    • Prolog - Programming Facts, Rules, Queries
    • Prolog - Family Relationship In Prolog
    • Prolog - More On Family Relationship In Prolog
    • Prolog - Recursion In Family Relationship
  • Syntax and Meaning of Prolog Programs
    • Prolog - Data Objects In Prolog
    • Prolog - Data Objects - Atoms And Numbers
    • Prolog - Data Objects - Variables
    • Prolog - Data Objects - Structures
    • Prolog - Calculation Of Max And Min Of Two Numbers
    • Prolog - Finding Equivalent Resistance Of A Resistive Circuit
    • Prolog - Checking For Horizontal And Vertical Line Segments
    • Prolog - Towers Of Hanoi
    • Prolog - Monkey And Banana Problem In Prolog
  • Lists and Its Operations
    • Prolog - Representation Of Lists
    • Prolog - List Operations Membership
    • Prolog - List Operations Length Calculation
    • Prolog - List Operations Concatenation
    • Prolog - List Operations In Words
    • rolog - List Operations Delete An Item
    • Prolog - List Operations Permutation
    • Prolog - List Operations Append
    • Prolog - List Operations Last Element
    • Prolog - List Operations No Doubles
    • Prolog - List Operations Insert
    • Prolog - List Operations Reverse
    • Prolog - List Operations Palindrome
    • Prolog - List Operation Even And Odd Lengths
    • Prolog - List Operations Shift
    • Prolog - List Operations Subset
    • Prolog - List Operations Divide
    • Prolog - List Operations Max Item
    • Prolog - List Operations Sum List
    • Prolog - List Operations Ordering Of Items
    • Prolog - List Operations Numbers Between Two Limit Numbers
    • Prolog - List Operations To Find N-Th Number
    • Prolog - List Operations Union Of Two Lists
    • Prolog - List Operations Intersection Of Two Lists
    • Prolog - List Operations Merge Sort On A List
  • Operators in Prolog
    • Prolog - Comparison Operators In Prolog
    • Prolog - Arithmetic Operators In Prolog
  • Using Structures in Prolog
    • Prolog - Using Structures
    • Prolog - Matching In Prolog
  • Controlling Backtracking
    • Prolog - Preventing Backtracking
    • Prolog - Example-1 Using Cut
    • Prolog - Example-2 Using Cut
    • Prolog - Example-3 Using Cut
    • Prolog - Negation As Failure
    • Prolog - Using Different Relation
    • Prolog - Not Relation
  • Input and Output with Data File
    • Prolog - Input Output Handling Using A Data File In Prolog
  • More Built-in Predicates
    • Prolog - Identifying Terms
    • Prolog - Decomposing Structures
    • Prolog - Collecting All Solutions
    • Prolog - Findall/3
    • Prolog - Setof/3
    • Prolog - Bagof/3
    • Prolog - Inbuilt Mathematical Predicates
  • Case Study
    • Prolog - Implementation Of Tree Data Structure
    • Prolog -More On Tree Data Structure
    • Prolog - Some More On Tree Data Structure
Write Your Review

Reviews