wmi-parprog/06_prolog/desc

13 lines
696 B
Plaintext
Raw Permalink Normal View History

2024-04-15 13:40:54 +02:00
1. Convert the file 'family-tree.txt' to Prolog Facts (format understandable for Prolog) in any language you like.
The file has 4 columns: name, surname, pesel, parent's pesel
2. Prepare the script, load it to Prolog and find out who are the parents of:
Haley, Vargas, 1268649062, 1897283424
3. Check if the Darwin laws are in place by checking if Haley Vargas is the ancestor of an ape.
2024-04-15 14:46:11 +02:00
4. Write in any language (in any other programming paradigm except the logic programming languages), a code which will do the same as here in Prolog. Choose the programming language wisely (2. and 3.).
2024-04-15 13:40:54 +02:00
2024-04-15 14:58:54 +02:00
5. Check if the creationist theory is correct by checking if all people come from apes (in Prolog).