Questions: Genetic Algorithms

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A genetic algorithm is run for 100 generations on a combinatorial optimization problem. By generation 50, all individuals in the population are nearly identical and the best fitness value has not improved in 30 generations. What has most likely caused this?

AThe fitness function is poorly designed and does not distinguish good solutions from bad ones
BSelection pressure was too strong, causing premature convergence — the population lost diversity before exploring the search space adequately
CThe mutation rate was too high, continuously destroying good solutions
DThe crossover rate was too low, preventing offspring from inheriting useful traits
Question 2 Multiple Choice

Why are genetic algorithms well-suited for optimization problems where the landscape has many local optima, while gradient-based methods struggle?

AGenetic algorithms can compute gradients by comparing fitness values of adjacent solutions, giving them better directional information
BGenetic algorithms maintain a population exploring multiple regions simultaneously, and crossover can jump across valleys between local optima rather than being trapped by local gradient descent
CGenetic algorithms always converge to the global optimum, whereas gradient methods can only find local optima
DGenetic algorithms work faster because they evaluate fewer candidate solutions per iteration
Question 3 True / False

Maintaining high population diversity in a genetic algorithm helps prevent premature convergence by ensuring multiple distinct regions of the search space are explored simultaneously.

TTrue
FFalse
Question 4 True / False

A higher mutation rate usually improves genetic algorithm performance by continuously introducing new genetic material and preventing stagnation.

TTrue
FFalse
Question 5 Short Answer

Explain the tension between exploitation and exploration in genetic algorithms, and describe how crossover and mutation each contribute to this balance.

Think about your answer, then reveal below.