recategorized by
2,461 views
3 votes
3 votes

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

  1. A PROLOG variable can only be assigned to a value once
  2. PROLOG is a strongly typed language
  3. The scope of a variable in PROLOG is a single clause or rule
  4. The scope of a variable in PROLOG is a single query
recategorized by

1 Answer

1 votes
1 votes

Ans is B 

Type Predicates

Since Prolog is a weakly typed language, it is important for the user to be able to determine the type of a parameter. 

refer https://www.lix.polytechnique.fr/~liberti/public/computing/prog/prolog/prolog-tutorial.html

Answer:

Related questions

3 votes
3 votes
1 answer
1
go_editor asked Aug 1, 2016
2,923 views
Match the following with respect to heuristic search techniques $:$$\begin{array}{clcl} & \textbf{List – I} && \textbf{List – II} \\ \text{(a)} & \text{Steepest-accce...
2 votes
2 votes
1 answer
2
go_editor asked Aug 1, 2016
1,678 views
Match the following knowledge representation techniques with their applications $:$$\begin{array}{clcl} & \textbf{List – I} & &\textbf{List – II} \\ \text{(a)} & \t...
3 votes
3 votes
2 answers
4
go_editor asked Aug 11, 2016
1,812 views
Language model used in LISP isFunctional programmingLogic programmingObject oriented programmingAll of the above