作者escrowdis (风吹阿)
看板NTUBIME102HW
标题[C++ ] 传说中去年考题
时间Wed Oct 28 21:39:39 2009
True/False
Indicate whether the sentence or statement is true or false.
1.Computers are designed to respond to heuristic commands.
2.Any number of statements using the cin object may be made in a program,but
only one value may be input using a single cin statement.
3.The use of braces to enclose a set of individual statements creates a single
block of statements,which may be used anywhere in a C++ program in place of
a single statement.
4.In C++ a variable or symbolic constant must be declaed before it is used.
5.The relationship 3<4 is always true,therefoe the elationship has a value of
0.
Multiple Choice
Identify the letter of the choice that best completes the statement or answers
the question.
6.Any expression that is terminated by a ____ becomes a C++ statement.
(a)colon (b)semicolon (c)curly bracket (d)period
7.The value of 1.625e3 is ____ .
(a).001625 (b)162.500 (c)1625 (d)1625000
8.Relational expressions are also called ____.
(a)options (b)choices (c)conditions (d)paths
9.When the ++ operator appears before a variable,it is called a(n) ____
increment operator.
(a)leading (b)prefix (c)ordered (d)postfix
10.Compile errors are also referred to as ____ errors.
(a)programming (b)execution (c)syntax (d)punctuation
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.241.87
1F:推 flysky46:我学长的答案! 10/28 21:51
2F:→ flysky46: F F T T F 10/28 21:51
3F:→ flysky46: C ? B ? C 10/28 21:51
4F:→ flysky46: C B 以上小尾大神提供 10/28 21:55
5F:→ flysky46:我是说最後一行 10/28 21:56
6F:→ pipicho8049:第八题在课本P.179有讲到,答案似乎是C的样子 10/28 22:04
7F:推 flysky46:欧 机车的我没有仔细看题目 10/28 22:09
8F:→ flysky46:所以以上的答案都是错的殴! 10/28 22:09
9F:推 sdg85732:B C C B C这是确定的答案 10/28 22:09
10F:→ a1598742002:神出现了 10/28 22:11
11F:→ escrowdis:乌龟说 7.C 9.B 10/28 22:14
12F:→ escrowdis:哇呜=ˇ=~ 10/28 22:15
13F:→ escrowdis:没看到神出现 10/28 22:15
14F:推 sdg85732:每一张考卷顺序有调 所以要对题目不是题号 10/28 22:20
15F:推 a1598742002:非常感谢 但是 去年课本跟今年好像有差 10/28 22:59