subject
SAT, 12.02.2022 14:00 anaisejackson19

Suppose that prolog facts are used to define the predicates mother(m, y) and father(f, x), which represent that m is the mother of y and f is the father of x, respectively. Give a prolog rule to define the predicate grandfather(x, y), which represents that x is the grandfather of y. Use a comma to denote "and" and a semicolon to denote "or. ".

ansver
Answers: 3

Another question on SAT

question
SAT, 27.06.2019 12:00
Use the rule of 72 to calculate how long it will take for your money to double if its earning 6% in interest. a. 12yrs b. 16yrs c. 36yrs d. 72yrs
Answers: 2
question
SAT, 27.06.2019 22:00
The different layers of gases that extend form the surface of the earth into space
Answers: 1
question
SAT, 29.06.2019 17:30
What's the best strategy for avoiding atm fees? only use atms close to your house only use atms to withdraw cash only use atms in your bank’s network only use atms you have used before
Answers: 1
question
SAT, 30.06.2019 20:00
To the north of ginnungagap it was bitterly cold. (20) nothing was there but fields of snow and mountains made of ice. to the south of ginnungagap was a region where frost and snow were never seen. it was always bright, and was the home of light and heat. the sunshine from the south melted the ice mountains of the north so that they toppled over and fell into ginnungagap. there may be a mistake in the way the sentence is written. if you find a mistake, choose the answer that corrects the mistake. if there is no mistake, choose ‘correct as is.' a) correct as is. b) nothing was there but snow fields and mountains of ice. c) nothing was there but fields of snow and icey mountains. d) nothing was there but fields of snow and mountains of ice.
Answers: 1
You know the right answer?
Suppose that prolog facts are used to define the predicates mother(m, y) and father(f, x), which rep...
Questions
question
Mathematics, 20.09.2021 15:10
question
Mathematics, 20.09.2021 15:10
question
Mathematics, 20.09.2021 15:20
question
Mathematics, 20.09.2021 15:20