/Prolog

College 4th Sem Lab Stuffs

Primary LanguagePrologGNU General Public License v3.0GPL-3.0

Prolog Lab Assignment

📌 Overview

This repository contains implementations of various Prolog assignments covering family trees, recursion, list operations, logic gates, sorting algorithms, database queries, graph search, puzzles, and expert systems.

📅 Assignment Breakdown

📍 Day 1: Family Tree Implementation (day1.pl)

📍 Day 2: Recursive (day2.pl)

📍 Day 3: Database Management System(DBMS) (day3.pl)

📍 Day 4: List Operations / Logic Gates (day4.pl)

📍 Day 5: Sorting / Graph Searching (day5.pl)

🛠️ Technologies Used

  • Prolog (SWI-Prolog recommended)
  • GitHub for version control

🚀 Getting Started

Installation

  1. Install SWI-Prolog
  2. Clone the repository:
    git clone https://github.com/yourusername/Prolog.git
    cd Prolog
  3. Run any Prolog file:
    swipl file_name.pl

📂 Repository Structure

prolog-lab/
│── day1.pl
│── day2.pl
│── day3.pl
│── day4.pl
│── day5.pl
│── README.md

📖 References

📝 Authors