Subject
Computer Science
Topic
Artificial Intelligence
Which of the following statements about PROLOG is TRUE?
Which of the following statements about PROLOG is TRUE?
a)
It answers queries using pattern matching (unification) and backtrackingb)
It requires the programmer to write loops for every searchc)
It is mainly used for numeric computationd)
It executes statements strictly line by line like CExplanation
PROLOG unifies the query with facts and rule heads, and backtracks to try alternatives when a branch fails.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?
