MCQ Bank
Which of the following is the only means to solve a problem in PROLOG?
- A) Atoms
- B) Symbols
- C) Facts
- D) Functions
How many sub-goals a program can have in PROLOG?
- A) One
- B) Two
- C) Three
- D) many
Which of the following function is used in LISP to see all properties of a symbol?
- A) get
- B) symbol-plist
- C) enlist
- D) defun
The variables in PROLOG are actually:
- A) Structures
- B) Objects
- C) Constant Placeholders
- D) Reserved Words
Which of the following is used as a placeholder for a value that is not required in a PROLOG program?
- A) Colon (:)
- B) Underscore (_)
- C) Parenthesis
- D) Space
A variable in a __________ starts with a capital letter or an underscore.
- A) PROLOG
- B) LISP
- C) ALGOL
- D) SNOBOL
Everything in LISP is considered as a __________.
- A) Function
- B) Symbol
- C) Class
- D) Object
Which of the following command is correct for adding numbers in CLIPS?
- A) CLIPS> (+ 3 4 +)
- B) CLIPS> (3 4 +)
- C) CLIPS> (3 + 4)
- D) CLIPS> (+ 3 4)
Identify correct statement for the given rule.
IF
IELTS score of Ali is 6 and
CGPA of Ali is 3.7 and
GRE score of Ali is 66
Then
He is eligible to take admission in any of the University abroad
- A) (deftamplate Ali (slot attribute)(slot value)) (defrule Alichance (Ali (attribute “IELTS score”)(value “6”)) (Ali (attribute “CGPA”)(value “3.7”)) (Ali (attribute “GRE”)(value “66”)) <= (printout t “He is eligible to take admission in any of the University abroad”))
- B) (defrule Alichance (Ali (attribute “IELTS score”)(value “6”)) (Ali (attribute “CGPA”)(value “3.7”)) (Ali (attribute “GRE”)(value “66”)) => (printout t “He is eligible to take admission in any of the University abroad”))
- C) (deftamplate Ali (slot attribute)(slot value)) (defrule Alichance (Ali (attribute “IELTS score”)(value “6”)) (Ali (attribute “CGPA”)(value “3.7”)) (Ali (attribute “GRE”)(value “66”)) => (printout t “He is eligible to take admission in any of the University abroad”)
- D) (deftamplate Ali (slot attribute)(slot value)) (defrule Alichance (Ali (attribute “IELTS score”)(value “6”)) (Ali (attribute “CGPA”)(value “3.7”)) (Ali (attribute “GRE”)(value “66”)) => (printout t “He is eligible to take admission in any of the University abroad”))
In CLIPS, _______ command is used to remove facts.
- A) erase
- B) retract
- C) facts
- D) delete
Using deduction to reach a conclusion from a set of antecedents is called:
- A) Backward propagation
- B) Forward propagation
- C) Forward chaining
- D) Backward chaining
Identify correct statement for the given rule.
IF
The aptitude level of an undergraduate student is low and
The English understanding level of undergraduate student is dull
THEN
He is not eligible to go abroad for higher studies.
- A) (deftamplate UnderGradStudent (slot attribute)(slot value)) (defrule StudentStatus (UnderGradStudent (attribute “aptitude level”)(value “low”)) (UnderGradStudent (attribute “English understanding level”)(value “dull”)) => (printout t “He is not eligible to go abroad for higher studies”)
- B) (defrule StudentStatus (UnderGradStudent (attribute “aptitude level”)(value “low”)) (UnderGradStudent (attribute “English understanding level”)(value “dull”)) => (printout t “He is not eligible to go abroad for higher studies”))
- C) (deftamplate UnderGradStudent (slot attribute)(slot value)) (defrule StudentStatus (UnderGradStudent (attribute “aptitude level”)(value “low”)) (UnderGradStudent (attribute “English understanding level”)(value “dull”)) => (printout t “He is not eligible to go abroad for higher studies”))
- D) (deftamplate UnderGradStudent (slot attribute)(slot value)) (defrule StudentStatus (UnderGradStudent (attribute “aptitude level”)(value “low”)) (UnderGradStudent (attribute “English understanding level”)(value “dull”)) <=> (printout t “He is not eligible to go abroad for higher studies”))
“Focused area of expertise” in human experts is referred to as _____ in expert systems
- A) Inference engine
- B) Reasoning
- C) Knowledge
- D) Domain
Reasoning in fuzzy logic is just a matter of generalizing the familiar _________ logic.
- A) Coagnitive
- B) Boolean
- C) Complex
- D) Supervised
Expert system technique where a hypothesis is given at the beginning and the inference engine proceeds to ask the user questions about selected facts until the hypothesis is either confirmed or denied
- A) Network Knowledge
- B) Backward chaining
- C) Data mining
- D) Forward chaining
Which of the following is correct CLIPS command to display the product of two numbers "5" and "3"?
- A) (printout t "Product of two numbers is " (5 * 3))
- B) (printout t "Product of two numbers is " (* 5 3))
- C) (printout t "Product of two numbers is " (x 5 3))
- D) (printout t "Product of two numbers is " (5 x 3))
Backward chaining is more focused and tries to avoid exploring ____________ paths of reasoning.
- A) different
- B) unnecessary
- C) necessary
- D) searching
In context of CLIPS, "agenda" is the list of ________
- A) Activated deftemplates
- B) Deactivated rules
- C) Activated relations
- D) Activated rules
Which of the following is one of the general stages of ESDLC?
- A) Design coding
- B) Linear model
- C) Beta system (tested by users)
- D) Spiral model
During ______ stage, knowledge engineer works with the domain expert to acquire, organize and analyse the domain knowledge.
- A) Feasibility Study
- B) System Design
- C) System Planning
- D) Knowledge acquisition