Subject
Computer Science
Topic
Artificial Intelligence
PROLOG answers a query mainly by ____.
PROLOG answers a query mainly by ____.
a)
forward chaining from all factsb)
backward chaining from the goal, searching depth-firstc)
breadth-first search over all rulesd)
random samplingExplanation
It starts from the query and tries to prove it by finding rules whose head matches, exploring them depth-first.Related questions
In the figure, let P=True and Q=False. What is the truth value of P and Q?In the figure, let P=False and Q=True. What is the truth value of P or Q?In the figure, let P=True and Q=False. What is the truth value of P implies Q?In the figure, let P=False and Q=False. What is the truth value of P implies Q?Let P=True, Q=False, and R=True. What is the truth value of P biconditional (Q or R)?Facts contain Rain and the rule Rain implies Wet. Which conclusion follows by modus ponens?A knowledge base has A implies B and not B. What follows by modus tollens?Clauses are P or Q and not P. What resolvent is produced on P?
