1 / 6100%
CSIS 354 Quiz 2
When aempng 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 undened 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 sll funcon,
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 disnct 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 wrien by another programmer, and encounter a variable
whose name is enrely in capital leers. 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 innite precision, which means that the digits in the fractional part can
connue forever.
a. True
b. False
Which of the following literals would be considered a oat type in Python?
a.
Students also viewed