If the roots of the quadratic equation x^2 - 4x + k = 0 are 2 and 2, what is the value of k?

Answer: B. 4
For the roots to be 2 and 2, the equation can be expressed as (x - 2)^2 = 0, which expands to x^2 - 4x + 4 = 0, thus k = 4.