| 11. |
Why We Use Prolog Programming Language?
|
||||||||
|
Answer:
Option (d) |
| 12. |
Is It Possible To Change Standard Behaviour Of Prolog Interpreter (first Rule, The Most Left Subgoal)?
|
||||
|
Answer:
Option (a) |
| 13. |
What Is It A Meta-program?
|
||||||||
|
Answer:
Option (a) |
| 14. |
"L = ['yellow', 'red', 'blue', 'green', 'black']
L[1:4]
return?"
|
||||||||
|
Answer:
Option (a) |
| 15. |
what is the use of "halt" inbuilt predicated?
|
||||||||
|
Answer:
Option (b) |
| 16. |
Prolog is a strongly typed language
|
||||
|
Answer:
Option (b) |
| 17. |
The scope of a variable in Prolog is a single clause (i.e., a fact or rule) or a single query.
|
||||
|
Answer:
Option (a) |
| 18. |
"Unification is transitive (i.e., assuming that t1, t2 and t3 are arbitrary Prolog terms, if t1
unifies with t2 and t2 unifies with t3 then t1 must unify with t3. "
|
||||
|
Answer:
Option (b) |
| 19. |
A variable in Prolog must start with either an upper-case letter or an underscore (_).
|
||||
|
Answer:
Option (a) |
| 20. |
A Prolog variable can only be assigned to a value once
|
||||
|
Answer:
Option (a) |