Skip to main content

Artificial Intelligence MCQs with Answers

Practice important Artificial Intelligence MCQs with answers and explanations.

Chapter: 24
Q781:
The symbol $? in CLIPS is used for _______.
A. Multi-field wildcard variable
B. Single variable
C. Constant
D. Operator
Correct Answer: A
Chapter: 24
Q782:
The command to remove a fact in CLIPS is _______.
A. (retract)
B. (assert)
C. (printout)
D. (defrule)
Correct Answer: A
Chapter: 24
Q783:
The CLIPS command (assert (mammal ?young)) is used to _______.
A. Assert that the child is a mammal
B. Remove the child from facts
C. Print the child’s name
D. Stop the program
Correct Answer: A
Chapter: 24
Q784:
In CLIPS, (defrule remove-mammals ?fact <- (mammal ?) => (printout t "retracting " ?fact crlf) (retract ?fact)) is used to _______.
A. Remove mammal facts
B. Add mammal facts
C. Print mammal facts
D. Read input
Correct Answer: A
Chapter: 24
Q785:
The keyword in CLIPS to load facts and rules from a file is _______.
A. (load)
B. (save)
C. (printout)
D. (assert)
Correct Answer: A
Chapter: 24
Q786:
In the CLIPS example, (deffacts startup (weather raining)) defines a fact about _______.
A. Weather
B. Animals
C. Child
D. Rule
Correct Answer: A
Chapter: 24
Q787:
The animal 'dog' is warm-blooded and does not lay eggs, so according to the rules it is classified as a _______.
A. Mammal
B. Bird
C. Reptile
D. Fish
Correct Answer: A
Chapter: 24
Q788:
If (weather snowing) is true, then the fact (umbrella required) will be _______.
A. (asserted)
B. (retracted)
C. Ignored
D. Deleted
Correct Answer: A
Chapter: 25
Q789:
What is the initial task asserted when the diagnostic system starts?
A. task begin
B. task test_cranking_system
C. task test_battery
D. task test_starting_system
Correct Answer: A
Chapter: 25
Q790:
In the 'ask-question' function, what happens if the user inputs 'q'?
A. The system clears
B. The system asks again
C. The system asserts task done
D. The system asserts a problem
Correct Answer: A
Chapter: 25
Q791:
Which of the following is NOT a valid allowed response for yes-or-no-p function?
A. yes
B. no
C. maybe
D. n
Correct Answer: A
Chapter: 25
Q792:
During the cranking system test, what components are checked first?
A. Battery, cables, ignition switch, starter
B. Engine, fuel system, battery
C. Starter, solenoid, spark plugs
D. Cables, alternator, battery
Correct Answer: A
Chapter: 25
Q793:
What does the diagnostic system ask about engine turning?
A. Normal or fast
B. Slowly or not at all/normal
C. Only normal
D. Only slow
Correct Answer: B
Chapter: 25
Q794:
If the engine turns "slowly or not at all," what does the system conclude about the cranking system?
A. Good
B. Defective
C. Unknown
D. Needs more tests
Correct Answer: B
Chapter: 25
Q795:
If the screwdriver test causes lights to brighten or not turn on, what is the diagnosis?
A. Good battery connection
B. Bad battery connection
C. Bad starter
D. Bad solenoid
Correct Answer: B
Chapter: 25
Q796:
What is the purpose of the hydrometer in battery testing?
A. To check voltage
B. To check specific gravity of each battery cell
C. To test engine movement
D. To test ignition switch
Correct Answer: B
Chapter: 25
Q797:
If all battery cells have a reading above 1.2, what is the battery status?
A. Good
B. Bad
C. Unknown
D. Needs replacement
Correct Answer: A
Chapter: 25
Q798:
During the starting system test, what action is taken to test the starter and solenoid?
A. Connecting jumper from battery post to starter post of solenoid
B. Turning ignition switch on and off
C. Removing battery cables
D. Testing battery voltage
Correct Answer: A
Chapter: 25
Q799:
What result indicates a bad solenoid in the starting system test?
A. Engine turns normally
B. Starter buzzes
C. Engine turns slowly
D. Nothing
Correct Answer: D
Chapter: 25
Q800:
If the starter buzzes or engine turns slowly, what is the next step in diagnosis?
A. Test starter on bench
B. Test battery connection
C. Test ignition switch
D. Test engine movement
Correct Answer: A

Test Your Knowledge

Take a timed quiz on Artificial Intelligence

🚀 Start Quiz Now