CSIS 354 Quiz 2
When aempng to produce a correct program, what is the point of developing a test
suite? a.
To test the code syntax for possible errors such as undened variables.
b.
To test the outputs of a program against known values to verify that the math coprocessor
is performing properly.
c.
To provide a small set of inputs as a test to verify that a program will be correct for all
inputs.
d.
To modify the running program's variables and verify that the program will sll funcon,
even if the code changes.
In Python, \b is a escape sequence that represents a horizontal
tab. a. True
b. False
What is the total number of disnct values in the ASCII set?
a.
512
b.
256
c.
128
d.
64
Which of the following is NOT a valid name that can be used for a variable?
a.
TEST
b.
propertyValue
c.
total
d.
1ending
CSIS 354 Quiz 2
You are reviewing the code wrien by another programmer, and encounter a variable
whose name is enrely in capital leers. What might you discern from this variable name?
a.
The variable is a symbolic constant.
b.
The variable is part of a program loop.
c.
The variable is used to store a dynamic value that is constantly changing.
d.
The variable is a reference variable.
Real numbers have innite precision, which means that the digits in the fractional part can
connue forever.
a. True
b. False
Which of the following literals would be considered a oat type in Python?
a.