68. What is the purpose of the Modulus operator (%)?
A. To return the quotient of a division operation
B. To return the remainder of a division operation
C. To return the product of a multiplication operation
D. To return the sum of an addition operation
69. Exceptions can be trapped by placing the statements that might cause an error in a(n)
_______________ block.
A. try/catch
B. find/catch
C. try/fix
D. find/fix
70. Decisions to be made by a computer are formed as a question which will determine whether a
given condition is true or false.
A. True
B. False
71. The statements under if and else clauses should be indented for readability and clarity
although indentation is not required by the compiler.
A. True
B. False
72. If there is an && and an || in a compound condition, the || is evaluated before the &&.
A. True
B. False
73. A nested if statement is an if statement that contains additional if statements.
A. True
B. False
74. There is no limit to the number of statements that can follow a case statement.
A. True
B. False
75. When you call a method, the entire method is executed and then the execution returns to the
statement following the call.
A. True
B. False
77. Which relational symbol is used to test a condition for not equal to?
A. <>
B. !!
C. !=
D. =!
77. Which relational symbol is used to test a condition for equality?
A. =
B. = =
C. ><
D. !=
C# 选择题 麻烦写几个字解释一下
答案:1 悬赏:10 手机版
解决时间 2021-08-15 16:25
- 提问者网友:斑駁影
- 2021-08-15 00:06
最佳答案
- 五星知识达人网友:往事埋风中
- 2021-08-15 00:49
1、选A,所有的循环都可以嵌套。
2、选B,共循环20次,x最后的值为20
3、选B,数组的声明方法。
4、选A,声明及实例化数组。
5、选C,获取有20个元素数组的最后一个元素。
6、貌似没有正确选项,个人对于D的理解有些模糊,暂选D(如果是动态数组的话,则是可以改变大小的)。
2、选B,共循环20次,x最后的值为20
3、选B,数组的声明方法。
4、选A,声明及实例化数组。
5、选C,获取有20个元素数组的最后一个元素。
6、貌似没有正确选项,个人对于D的理解有些模糊,暂选D(如果是动态数组的话,则是可以改变大小的)。
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯