Open In App

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

Like Article
Like
Save
Share
Report

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


    Last Updated : 18 Jun, 2018
    Like Article
    Save Article
    Previous
    Next
    Share your thoughts in the comments
    Similar Reads