The correct option is D 3
Given: 2x+y=5
At x=0;2(0)+y=5
⇒y=5 (Whole number)
At x=1;2(1)+y=5
⇒y=5–2=3 (Whole number)
At x=2;2(2)+y=5
⇒y=5–4=1 (Whole number)
At x=3;2(3)+y=5
⇒y=5–6=–1 (Not a whole number)
The given equation is a linear equation, therefore, for values of x greater than or equal to 3, the values of y will be negative, i.e., not a whole number.
Thus, only possible solutions of 2x+y=5, where x and y are whole numbers are (0,5),(1,3) and (2,1).
Hence, the correct answer is option (d).