GATE ME 2017 · Set-2 · Elementary Statistics & Probability

MCQ · 1 mark · Problem GA-QUAN-0228

If \(a \text{ and } b\) are integers and \(a-b\) is even, which of the following must always be even?
  1. A
    \(a^2+b^2+1\)
  2. B
    \(a^2+b+1\)
  3. C
    \(ab-b\)
  4. D
    \(ab\)

Solve it on GATE DA practice →More Section 2: Quantitative Aptitude problems

Show the worked solution\(a-b\) even means \(a\) and \(b\) have the same parity.(A) \(a^2+b^2\) is even, so \(a^2+b^2+1\) is odd — incorrect.(B) \(a^2+b\) is even, so \(a^2+b+1\) is odd — incorrect.(C) \(ab-b=b(a-1)\): if both are even, \(b\) is even; if both are odd, \(a-1\) is even. Always even — correct.(D) \(a=b=1\) gives \(ab=1\), odd — incorrect.Answer: C

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com