Subject
Computer Science
Topic
Artificial Intelligence
What is the role of variables in PROLOG?
What is the role of variables in PROLOG?
a)
They store memory addressesb)
They are bound to values through unificationc)
They act like constantsd)
They define loop controlExplanation
A PROLOG variable gets a value when it is matched (unified) with a term while answering a query.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?
