Artificial Intelligence (2180703) MCQs

MCQs of Introduction to Prolog

Showing 1 to 10 out of 23 Questions
1.
what are the Sector Where Prolog Programming Language Is Used?
(a) Automated reasoning
(b) Machine learning
(c) Robot planning
(d) all of the above
Answer:

Option (d)

2.
dog('Buddy', likes('Buddy', toast)). - This statement is
(a) Rule & Horn Clause
(b) Fact & Horn Clause
(c) Horn Clause with Head and body
(d) Not a Horn clause
Answer:

Option (b)

3.
Which one of the following is not a variable?
(a) X_yz
(b) g_23A
(c) '_Xyz'
(d) B & C both
Answer:

Option (d)

4.
Which one from the options would return true/yes for given prolog program?
boy(john,123).
girl(jane,234).
student(john,123).
(a) ?- girl(jane,x).
(b) ?- boy('john',123).
(c) All of above.
(d) None of above
Answer:

Option (b)

5.
A prolog query can be made up of only two subgoals.
(a) TRUE
(b) FALSE
Answer:

Option (b)

6.
In Prolog It Is Said That Program And Data Are The Same Thing?
(a) TRUE
(b) FALSE
Answer:

Option (a)

7.
what is the use of '=' in prolog programming?
(a) unification
(b) arithmetic evaluation
(c) reduction
(d) None of above
Answer:

Option (a)

8.
what is the use of 'is' in prolog programming?
(a) unification
(b) arithmetic evaluation
(c) reduction
(d) None of above
Answer:

Option (b)

9.
Which of the following language is a declarative language?
(a) C#
(b) Algol
(c) Prolog
(d) Java
Answer:

Option (c)

10.
What Are The Features Of Prolog Language?
(a) Intelligent Systems
(b) Expert Systems
(c) Natural Language Systems
(d) all of the above
Answer:

Option (d)

Showing 1 to 10 out of 23 Questions