Question: Represent each statement as a single prolog fact Lolo only eats chocolate, bananas or cheese eats(lolo , cheese). O eats(lolo, chocolate, bananas, cheese) .bo eats(lolo






Represent each statement as a single prolog fact Lolo only eats chocolate, bananas or cheese eats(lolo , cheese). O eats(lolo, chocolate, bananas, cheese) .bo eats(lolo , chocolate) eats(lolo , bananas) CO eats(lolo, cheese) eats(lolo , bananas).d o eats(lolo, chocolate).e O Represent each statement as a single prolog fact the square root of 16 is 4 or-4 Square root(16,-4). O Square roots(16,4). O Square root(16,-4) Square roots(16,4).CO none of them.do Which of the following predicate is used to search through the database to find all the clauses with a specified property Repeat a o list.bo Fail.co rule do 20 Define predicate which causes a sequence of goals to be evaluated repeatedly, either fixed number of times or until specified condition is satisfied Write fact. Read Looping de Which rule of inference is used in each of these arguments. "Maya is an hard work student. Maya is also a good student. Therefore, Mayai an hard work student and a good student Conjunction Simplification Modus penso Disjunctive syllogismo 37 .Cut (written "1") tells the system which previous choices need not to be considered again when it backtracks The advantage in using cut: The program will run faster a the program will run slower bo the program will not run none of them.do 35 Prolog has no looping facilities, similar effects can be obtained that enable sequence of goals to be evaluated repeatedly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
