The correct option is D 0,1,2
If roots are rational, then
Δ≥0 should be a perfect square.
49−24k≥0
⇒k≤4924
For k=0
Δ=49, which is a perfect square
For k=1,
Δ=25, which is a perfect square.
For k=−1,
Δ=73, not a perfect square
For k=2,
Δ=1, which is a perfect square.
For k=−2,
Δ=97, not a perfect square