If a and b are odd integers and a? b, which of the following equals to the numbe

游客2024-01-12  8

问题 If a and b are odd integers and a? b, which of the following equals to the number of even integers that are greater than a and less than b?

选项 A、(a-b-2) /2
B、(a-b-1)/2
C、(a-b)/2
D、a-b
E、a-b-1

答案 C

解析 在考场上,这道题目可以采用特殊值的方法,会比常规做法简便很多。题目中对a和b两个数的限制条件有两个,即二者均为奇数,且a>b。因此不妨代入两个奇数进行考查,设a=3,b=1,问题中所求的“大于a、小于b的偶数个数”在将a和b赋值后,可知1和3中间仅有2一个偶数;把a=3,b=1代入选项,发现有C和E两个选项都等于1,此时应换两个差距较大的数重新进行赋值;把a=5,b=1带入选项,此时1和5之间应该有2和4两个偶数;发现只有C选项等于2,此时答案便可以确定选C。
转载请注明原文地址:https://tihaiku.com/zcyy/3355178.html
最新回复(0)