Find Jobs
Hire Freelancers

prolog..... -- 2

$10-30 USD

Closed
Posted over 3 years ago

$10-30 USD

Paid on delivery
Write your programs using logical language Prolog. Use SWISH (SWI Prolog for Sharing). Run each of your programs by typing a query and clicking on ‘Run’ button. [25 points] Consider a hypothetical family tree from the file ‘FamilyTree’ posted in this module (Module 4). Create a simple database containing facts and inference rules. Include facts about family members, such as male, female, parent. Then add rules such as sister, brother, sibling, father, mother, grandparent. Run queries that will answer the following questions about family members: (a) Is Pete Mark’s parent? (b) Is Anne Jenny’s parent? (c) Who is Todd’s father? (d) Who is Tom’s sibling? (e) Who is Lilly’s brother? (f) Who is Henry’s grandparent? (g) Who is Alice’s sister? (h) Is Frank Kate’s brother? (i) Who is Matt’s mother? (j) Is Mark Anne’s brother? Submission file should include your database and snippets of the results of all queries. [17 points] Write a Prolog program that finds the maximum of a list of numbers. Submission file should include a screenshot with tracing a program execution when a list only has 2 members and execution without tracing when a list has 8 elements. [13 points] Write a Prolog program that returns a list containing a union of the elements of two given sets.
Project ID: 27895883

About the project

1 proposal
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
St Louis, United States
5.0
9
Payment method verified
Member since Apr 4, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.