MCQ Bank
Which of the following is a correct syntax to load a file in CLIPS?
- A) (import "filename.clp")
- B) (execute "filename.clp")
- C) (load "filename.clp")
- D) (open "filename.clp")
What is the primary purpose of the "Apps Tab" in MATLAB?
- A) To access toolbox-specific applications
- B) To save files to cloud storage
- C) To write scripts
- D) To display variables in memory
Which construct is used to define structured facts in CLIPS?
- A) deffacts
- B) deftemplate
- C) defclass
- D) defrule
In MATLAB, where can you see all the variables and functions that are currently in memory?
- A) Files Panel
- B) Editor
- C) Command Window
- D) Workspace
Where can you find the Fuzzy Logic Toolbox in MATLAB?
- A) Home Tab
- B) Plots Tab
- C) Apps Tab
- D) About Tab
The left-hand side (LHS) of a CLIPS rule contains:
- A) Actions to be executed
- B) Conditions or patterns
- C) Rule name
- D) Facts to be deleted
Which part of an expert system applies reasoning to solve problems?
- A) Explanation facility
- B) Working Memory
- C) Inference engine
- D) Knowledge base
In CLIPS, which of the following correctly defines a single-valued attribute in a Fact template?
- A) field
- B) element
- C) slot
- D) attribute
What does the knowledge base of an expert system contain?
- A) Output results
- B) Programming code
- C) Rules and facts about the domain
- D) User inputs
What does the str-index function in CLIPS do?
- A) Converts a string into a list
- B) Finds the position of a substring within a string
- C) Concatenates two or more strings
- D) Returns the length of a string
CLIPS is mainly used to develop:
- A) Mobile Apps
- B) Web Sites
- C) Operating Systems
- D) Expert Systems
What does the mod function in CLIPS return?
- A) The absolute value of a number
- B) The remainder when dividing two numbers
- C) The square root of a number
- D) The result of division
Which CLIPS command stops the current execution without exiting CLIPS?
- A) assert
- B) reset
- C) halt
- D) defclass
In CLIPS, what does "t" represent in a printout command?
- A) The variable to print
- B) Tab space
- C) The output logical name for the standard output
- D) Terminate the print statement
In CLIPS, knowledge is mainly represented using Facts and _____________ .
- A) Functions
- B) Algorithms
- C) Loops
- D) Rules
Which programming language was CLIPS written in?
- A) C
- B) Java
- C) Python
- D) Lisp
What does CLIPS stand for?
- A) C Language Integrated Programming System
- B) C Language Inference Programming System
- C) C Language Inference Production System
- D) C Language Integrated Production System
Where was CLIPS developed?
- A) IBM Research Labs
- B) MIT Artificial Intelligence Lab
- C) NASA Johnson Space Centre
- D) Stanford Research Institute
Which of the following is a correct way to exit CLIPS?
- A) (end)
- B) (exit)
- C) (quit)
- D) (close)
Which of the following is a valid CLIPS command?
- A) [facts]
- B) facts()
- C) (facts)
- D) {facts}