作者ss355227 (前祐)
看板NTUBIME103HW
標題[討論] C++小考
時間Mon Oct 18 22:03:10 2010
我去考古題區找了一下考古題
ㄜ 其實我不太確定答案XD
有很確定的想分享的也可以來阿!!
題目~~
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
出題方式好像是題庫隨機抓題??
好啦答案就請會的人來說吧XD
我大概只確定幾題選擇而已 囧
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.160.220.141
推 lsk200000:考試可以帶翻譯機嗎= =... 10/18 22:15
→ ss355227:通常我覺得翻譯了還是不太懂 10/18 22:17
推 steve1012:1.F 2.T 3.T(吧) 4.T 5.f應該不是0是1吧 10/18 22:26
推 steve1012:6.b 7.c 8.c 9.b 10.c 10/18 22:31
推 steve1012:不保證全對 10/18 22:31
推 steve1012:不知道都從書裡面哪裡出的 怎麼都找不到== 10/18 22:45
推 CHESTON:這是08年的,強! 10/21 02:17
→ CHESTON:應該1f2f3t4t5t? 10/21 02:19
※ 編輯: ss355227 來自: 118.160.218.56 (10/21 23:03)