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 onceTrue
PROLOG is a strongly typed languageFalse
The scope of a variable in PROLOG is a single clause or ruleTrue
The scope of a variable in PROLOG is a single query.True
So, option (B) is correct.
Quiz of this Question
Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape,
GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out -
check it out now!
Last Updated :
18 Jun, 2018
Like Article
Save Article