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, 25.06.2019 12:00
Jim has found that he must consume 2,300 calories a day to reach his health goals, but he doesn't want to give up his afternoon snack of pretzels. unfortunately, he tends to eat the entire bag — which amounts to 1,300 calories! what strategy should jim use to improve his habits?
Answers: 1
question
SAT, 26.06.2019 09:00
These three organisms are interdependent on each other for their survival. what will happen if foxes are eliminated from the region? a. there will be more rabbits and less grass in the region. b. there will be more grass and fewer rabbits in the region. c. there will be fewer rabbits and less grass in the region. d. there will be more rabbits and more grass in the region.
Answers: 1
question
SAT, 26.06.2019 16:00
Whats begin with t, ends with t has t in it
Answers: 2
question
SAT, 26.06.2019 23:00
All of the following are typical ways through which to find an apprenticeship except: a. guidance counselor b. trade association c. a vocational school d. job postings
Answers: 2
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, 29.03.2021 06:10
question
Mathematics, 29.03.2021 06:10
question
Mathematics, 29.03.2021 06:10
question
Physics, 29.03.2021 06:10
question
Mathematics, 29.03.2021 06:10
Questions on the website: 13722359