[討論] C++小考
我去考古題區找了一下考古題
ㄜ 其實我不太確定答案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
推
10/18 22:15, , 1F
10/18 22:15, 1F
→
10/18 22:17, , 2F
10/18 22:17, 2F
推
10/18 22:26, , 3F
10/18 22:26, 3F
推
10/18 22:31, , 4F
10/18 22:31, 4F
推
10/18 22:31, , 5F
10/18 22:31, 5F
推
10/18 22:45, , 6F
10/18 22:45, 6F
推
10/21 02:17, , 7F
10/21 02:17, 7F
→
10/21 02:19, , 8F
10/21 02:19, 8F
※ 編輯: ss355227 來自: 118.160.218.56 (10/21 23:03)
討論串 (同標題文章)