作者NBASCIDM (战神)
看板NTU-Exam
标题[试题] 97上 林达德 计算机程式语言 第一次小考
时间Fri Oct 31 08:16:19 2008
课程名称︰计算机程式语言
课程性质︰大一必修
课程教师︰林达德
开课学院:生农学院
开课系所︰生机系
考试日期(年月日)︰2008/10/23
考试时限(分钟):未知
是否需发放奖励金:是
(如未明确表示,则不予发放)
试题 :
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.7.59
※ 编辑: NBASCIDM 来自: 140.112.7.59 (10/31 10:45)
※ lldavuull:转录至看板 NTUBIME102HW 11/24 13:27
※ fanif:转录至看板 NTUBIME-104 10/08 20:18