Artificial Intelligence MCQs with Answers
Practice important Artificial Intelligence MCQs with answers and explanations.
Multiple Choice Questions
Q751: The run command in CLIPS triggers
- A: templates
- B: rule definitions
- C: agenda execution
- D: slot evaluation
View Answer
C
Q752: The command (watch facts) enables
- A: debugging
- B: activation logging
- C: viewing facts
- D: agenda reset
View Answer
B
Q753: Facts in CLIPS are stored in
- A: a rule base
- B: a fact list
- C: a function database
- D: an agenda
View Answer
B
Q754: CLIPS uses _______ as delimiters for commands.
- A: {}
- B: []
- C: ()
- D: <>
View Answer
C
Q755: What does the (printout t "Ali is Ahmed’s son" crlf) command do in CLIPS?
- A: Prints a message
- B: Asserts a fact
- C: Removes a breakpoint
- D: Loads a file
View Answer
A
Q756: Which command in CLIPS is used to set a breakpoint at a specified rule?
- A: (set-break isSon)
- B: (remove-break isSon)
- C: (show-breaks)
- D: (load "filename.clp")
View Answer
A
Q757: What command is used to resume execution after hitting a breakpoint in CLIPS?
- A: run
- B: set-break
- C: remove-break
- D: show-breaks
View Answer
A
Q758: How do you remove a breakpoint in CLIPS?
- A: (remove-break isSon)
- B: (set-break isSon)
- C: (show-breaks)
- D: (run
View Answer
A
Q759: Which command shows all the breakpoints currently set in CLIPS?
- A: (show-breaks)
- B: (set-break)
- C: (remove-break)
- D: (run)
View Answer
A
Q760: In CLIPS, which file extension is used for saving and loading constructs like deftemplate, deffacts, and defrules?
- A: .clp
- B: .txt
- C: .doc
- D: .exe
View Answer
A