永发信息网

C# 考试选择题

答案:1  悬赏:0  手机版
解决时间 2021-08-11 02:20
11. Consider the following statements about software errors:
Error 1 occurs when you introduce typing errors into your program.
Error 2 occurs when the program halts unexpectedly during execution.
Error 3 occurs when the program works correctly but produces incorrect results.
These three errors (Error 1, Error 2, Error 3) can be described as:
A. Runtime, Logical, Syntax
B. Logical, Syntax, Runtime
C. Syntax, Logical, Runtime
D. Logical, Runtime, Syntax
E. Syntax, Runtime, Logical
12. What do programmers use to translate their high-level language statements into machine
code?
A. A debugger
B. A translator
C. A compiler
D. An IDE
E. A spooler
13. Which of the following terms refers to the rules of a programming language?
A. Syntax
B. Logic
C. Variable
D. Procedures
E. Reserved rules
14. Which of the following statements below represents a cast?
A. int value;
B. int value = 7;
C. int value = int.Parse(“7”);
D. int value = (int) myValue;
E. int value = tempStr.ToString();
15 Which of the following statements is true about the following declaration?
int myAge = 25;
A. This is a legal statement in C#.
B. This is an illegal declaration because it uses the comparison operator instead of the
assignment operator.
C. This is an illegal declaration because assignment operators work from right to left.
D. This is an illegal declaration because it is missing the const modifier.
E. This is an illegal declaration because it initializes a variable.
最佳答案

11. Consider the following statements about software errors:
Error 1 occurs when you introduce typing errors into your program.
Error 2 occurs when the program halts unexpectedly during execution.
Error 3 occurs when the program works correctly but produces incorrect results.
These three errors (Error 1, Error 2, Error 3) can be described as:
A. Runtime, Logical, Syntax
B. Logical, Syntax, Runtime
C. Syntax, Logical, Runtime
D. Logical, Runtime, Syntax
E. Syntax, Runtime, Logical
12. What do programmers use to translate their high-level language statements into machine
code?
A. A debugger
B. A translator
C. A compiler
D. An IDE
E. A spooler
13. Which of the following terms refers to the rules of a programming language?
A. Syntax
B. Logic
C. Variable
D. Procedures
E. Reserved rules
14. Which of the following statements below represents a cast?
A. int value;
B. int value = 7;
C. int value = int.Parse(“7”);
D. int value = (int) myValue;
E. int value = tempStr.ToString();
15 Which of the following statements is true about the following declaration?
int myAge = 25;
A. This is a legal statement in C#.
B. This is an illegal declaration because it uses the comparison operator instead of the
assignment operator.
C. This is an illegal declaration because assignment operators work from right to left.
D. This is an illegal declaration because it is missing the const modifier.
E. This is an illegal declaration because it initializes a variable.

我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
平桥区信阳市新区医院-住院部地址在哪,我要
怎样才能让自己过的开心?
回答电脑问题的人是不是黑客啊
为什么QQ总出现错误报告啊
Adobe Premiere Pro CS3的问题
新生儿拉的屎一粒一粒的,还有像蛋白一样一条
黄石港区黄石星星美发厅(湖滨二巷)地址是什么
星座是以农历还是国历?
人类还能存在多少年
胃痛要怎样治?
佳能500D能增加照片自定义色彩风格么?
魍魉装备选择
口袋吧绿宝石386中文版怎样学飞空术和冲浪术
被人打了,请律师要多少钱?
来信息声音怎么变了
推荐资讯
每次别人给我照相时我都不知道摆什么资势?很
生病了是不是就一定要吃药才能缓解
AE中合成影片导出后没有声音,请问是哪里的问
谁有密封胶、防水胶、中空玻璃胶的上等配方?
QQ安全中心登录不上去
梦幻诛仙拍完了??现在在杀青??今年10月25
你觉得男的们建立八三男人节有必要么?
买辆BYDF3需要多少钱?
梦幻西游80四海腰带多少钱
秋天是不是快来了
90后赚钱最快法?
怎样补钙好?
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?