题目
题目

COMM_V 205 101 102 103 2025W1 In-class Exercise (ICE) 8

判断题

Let a, b, and c be numeric objects (i.e., variables) in your  current R session, but their values are not known to you. You executed b > c , and obtained TRUE.  True or False: As long as a is a positive number, the following expression (i.e., piece of code), once executed successfully, will always evaluate to a positive number. a + b > c 

选项
A.True
B.False
查看解析

查看解析

标准答案
Please login to view
思路分析
Let’s parse the scenario carefully and test what the expression a + b > c depends on. Option 1: True. The claim is that if b > c, then a + b > c for any a, provided a is positive. Even if a is positive, this does not guarantee a + b > c because the inequality a + b > c translates to a > c − b. Since b > c, the difference c − b is negative. A positive a could still be less than that negative threshold if the gap is large enough, but more importantly, a can be chosen so that a is not larger than c − b, making a + b ≤ c. In short, knowing only b > c does not fix a sufficiently to ensure a + b > c for all positive a, so this statement is not universally true. Option 2: False. This is the correct assessment because even with b > c, there......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!