Which of the following is false for the programming language PROLOG?
(A) A PROLOG variable can only be assigned to a value once
(B) PROLOG is a strongly typed language
(C) The scope of a variable in PROLOG is a single clause or rule
(D) The scope of a variable in PROLOG is a single query
Answer: (B)
Explanation: Regarding to PROLOG:
A PROLOG variable can only be assigned to a value onceTruePROLOG is a strongly typed languageFalseThe scope of a variable in PROLOG is a single clause or ruleTrueThe scope of a variable in PROLOG is a single query.TrueSo, option (B) is correct.
Quiz of this Question