Artificial Intelligence MCQs with Answers
Practice important Artificial Intelligence MCQs with answers and explanations.
Multiple Choice Questions
Q351: Mutation in GA can be described as:
- A: Swapping chromosomes
- B: Crossing over bits
- C: Flipping bits at random
- D: Cloning individuals
View Answer
C
Q352: The evaluation function in GA measures:
- A: How many mutations occurred
- B: How good a solution is
- C: How many bits are zeros
- D: How many generations passed
View Answer
B
Q353: If no perfect solution is found within the time limit, GA presents:
- A: The worst solution
- B: The first solution
- C: The best possible solution
- D: The last solution
View Answer
C
Q354: In Problem 2 (polynomial fitting), the formula used to fit data points is:
- A: y = mx + c
- B: y = ax^2 + bx + c
- C: y = mx^2 + c
- D: y = mx^2 + bx + c
View Answer
A
Q355: In Problem 2, what are the unknowns in the polynomial fitting GA problem?
- A: m and c
- B: a and b
- C: x and y
- D: m and b
View Answer
B
Q356: How is the “badness” of a solution in polynomial fitting GA calculated?
- A: Sum of (actual y – predicted y)
- B: Sum of (predicted y – actual y)^2
- C: Sum of (actual y – predicted y)^2
- D: Sum of (x – y)^2
View Answer
C
Q357: In the polynomial fitting example, if m=5 and c=7, what is the predicted y when x=1?
- A: 5
- B: 7
- C: 12
- D: 35
View Answer
C
Q358: What does the GA algorithm keep after evaluating the badness of arrays in polynomial fitting?
- A: Best arrays with high badness
- B: Worst arrays
- C: Best arrays with low badness
- D: Random arrays
View Answer
C
Q359: How many new arrays are generated from the kept arrays in polynomial fitting GA?
- A: 5
- B: 9
- C: 10
- D: None
View Answer
B
Q360: What is the representation of the array [1, 3] in binary (as per example)?
- A: [011 011]
- B: [001 011]
- C: [010 010]
- D: [100 011]
View Answer
B