Artificial Intelligence MCQs with Answers
Practice important Artificial Intelligence MCQs with answers and explanations.
Multiple Choice Questions
Q1181: The entropy of a subset is 0 if:
- A: All examples are negative
- B: All examples are positive
- C: All examples are same class
- D: All of the above
View Answer
D
Q1182: Fill in the blank: ________ is used to select the root node in ID3.
- A: GAIN
- B: INFO
- C: PURITY
- D: DEPTH
View Answer
A
Q1183: Fill in the blank: The entropy formula contains the terms ______ and ______.
- A: p+, p-
- B: p+, n-
- C: x+, x-
- D: y+, y-
View Answer
A
Q1184: What does ID3 do when an attribute gives the highest information gain?
- A: Skips it
- B: Assigns it as leaf
- C: Adds it as root
- D: Removes it from list
View Answer
C
Q1185: The attribute B had what information gain value in the full dataset S?
- A: 0.02
- B: 0.57
- C: 0.97
- D: 1
View Answer
A
Q1186: What was the gain for E in the full dataset?
- A: 0.57
- B: 0.02
- C: 0.5
- D: 1
View Answer
B
Q1187: Which attribute was chosen next after splitting with A in the decision tree?
- A: B
- B: A
- C: E
- D: None of these
View Answer
A
Q1188: How many records were left to classify after initial split on A?
- A: 1
- B: 3
- C: 2
- D: 4
View Answer
C
Q1189: Fill in the blank: After splitting using A, a2 still had ________ in output classification.
- A: Mixed values
- B: Only YES
- C: Only NO
- D: Unknown
View Answer
A
Q1190: Which formula is used to calculate entropy for subsets of data?
- A: E(Sa) = -p+log2p+ - p-log2p-
- B: E(Sa) = S/N
- C: E(Sa) = Gain/Total
- D: E(Sa) = p+/p-
View Answer
A