📜  门| GATE-CS-2017(套装2)|问题 1

📅  最后修改于: 2021-09-27 06:16:44             🧑  作者: Mango

一个测试的问题总分为 100 分。有两种类型的问题,选择题每题 3 分,作文题每题 11 分。考试有多少道选择题?
(一) 12
(乙) 15
(三) 18
(四) 19答案:(乙)
说明:让我们考虑所有选择:

Choice A : 12 [Wrong] 
There is no integer x that satisfies below equation
12 * 3  + x * 11 = 100
x = 64/11 [Which is not an integer]

Choice B : 15 [Right] 
15 * 3  + x * 11 = 100
x = 55/11  = 5

Choice C : 18 [Wrong] 
There is no integer x that satisfies below equation
18 * 3  + x * 11 = 100
x = 46/11 [Which is not an integer]

Choice C : 19 [Wrong] 
There is no integer x that satisfies below equation
19 * 3  + x * 11 = 100
x = 43/11 [Which is not an integer] 

这个问题的测验