Skip to content
Related Articles

Related Articles

Improve Article

UGC-NET | UGC NET CS 2015 Jun – III | Question 23

  • Last Updated : 18 Jun, 2018

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

    My Personal Notes arrow_drop_up
  • Recommended Articles
    Page :