57. Assignment statements operate from right to left.
A. True
B. False
58. Methods always have parentheses.
A. True
B. False
59. If you break C#'s rules for punctuation, format, or spelling, you will generate a syntax error.
A. True
B. False
60. The data type of a variable or constant must be the same for all variables and constants in that
program.
A. True
B. False
61. The statement intAge = intAge + 1; is the same as intAge += 1;.
A. True
B. False
62. A named memory location that holds data that can be changed during project execution is
called a(n) _______________.
A. identifier
B. variable
C. named constant
D. constant
63. A named memory location that holds data that cannot be changed during program execution is
called a(n) _______________.
A. constant
B. identifier
C. variable
D. named variable
64. Constants that are defined by the programmer are called _______________ constants.
A. named
B. intrinsic
C. custom
D. variable
65. Which of the following shows the correct general form for declaring a variable? (Choose all
correct answers)
A. Identifier = Datatype;
B. Datatype Identifier = LiteralOfCorrectType;
C. Datatype Identifier;
D. Identifier Datatype;
66. The term ________________ refers to the visibility of a variable.
A. scope
B. namespace
C. local
D. lifetime
67. What will be printed given the following code?
int x = 21;
if(x > 0 || x <= 20)
Console.Write(“***”);
else if(x > 20 || x <= 40)
Console.Write(“000”);
else
Console.Write(“+++”);
A. ***
B. 000
C. +++
D. ***000+++
C# 选择题~ 写几个字解释一下 谢谢
答案:1 悬赏:20 手机版
解决时间 2021-08-22 13:12
- 提问者网友:嘚啵嘚啵
- 2021-08-22 08:32
最佳答案
- 五星知识达人网友:上分大魔王
- 2021-08-22 09:21
FUCK accp
accp都不承认的 网上的都是枪手搞的!!!!
找老师要咯 他还能不给你啊
accp都不承认的 网上的都是枪手搞的!!!!
找老师要咯 他还能不给你啊
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯