作者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
1F:推 lsk200000:考试可以带翻译机吗= =... 10/18 22:15
2F:→ ss355227:通常我觉得翻译了还是不太懂 10/18 22:17
3F:推 steve1012:1.F 2.T 3.T(吧) 4.T 5.f应该不是0是1吧 10/18 22:26
4F:推 steve1012:6.b 7.c 8.c 9.b 10.c 10/18 22:31
5F:推 steve1012:不保证全对 10/18 22:31
6F:推 steve1012:不知道都从书里面哪里出的 怎麽都找不到== 10/18 22:45
7F:推 CHESTON:这是08年的,强! 10/21 02:17
8F:→ CHESTON:应该1f2f3t4t5t? 10/21 02:19
※ 编辑: ss355227 来自: 118.160.218.56 (10/21 23:03)