作者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