Question 77Asked in UGC NET Computer Science, June 2015 (Paper II & III, Selected Questions)

Which of the following is false for the programming language PROLOG?

  1. AA PROLOG variable can only be assigned to a value once
  2. BPROLOG is a strongly typed language
  3. CThe scope of a variable in PROLOG is a single clause or rule
  4. DThe scope of a variable in PROLOG is a single query
Show answerHide answer

Correct answer: (B) PROLOG is a strongly typed language

Explanation

Since prolog is a dynamically typed language. Which is to say that programs are not checked for type errors until run time.

From UGC NET Computer Science PYQ, June 2015 (Paper II & III, Selected Questions)

This is question 77 of UGC NET Computer Science PYQ, June 2015 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.