Find Jobs
Hire Freelancers

prolog.....

$10-30 USD

Închis
Data postării: peste 3 ani în urmă

$10-30 USD

Plata la predare
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.
ID-ul proiectului: 27895847

Despre proiect

O propunere
Proiect la distanță
Activ: 3 ani în urmă

Vrei să câștigi bani?

Avantajele de a licita pe platforma Freelancer

Stabilește bugetul și intervalul temporal
Îți primești plata pentru serviciile prestate
Evidențiază-ți propunerea
Te înregistrezi și licitezi gratuit pentru proiecte

Despre client

Steagul UNITED STATES
St Louis, United States
5,0
9
Metoda de plată a fost confirmată
Membru din apr. 4, 2020

Verificarea clientului

Mulțumim! Ți-am trimis prin e-mail linkul pe care trebuie să-l accesezi pentru a revendica creditul gratuit.
A apărut o eroare la trimiterea e-mailului. Încearcă din nou.
Utilizatori înregistrați Totalul proiectelor postate
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Se încarcă previzualizarea
S-a oferit permisiunea de depistare a locației.
Ți-a expirat sesiunea pentru conectare sau te-ai deconectat. Conectează-te din nou.