Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) int
B) float
C) string
D) array
Correct Answer
verified
Multiple Choice
A) 78
B) \t
C) 0x89
D) "Y"
Correct Answer
verified
Multiple Choice
A) To provide a small set of inputs as a test to verify that a program will be correct for all inputs.
B) To modify the running program's variables and verify that the program will still function, even if the code changes.
C) To test the outputs of a program against known values to verify that the math coprocessor is performing properly.
D) To test the code syntax for possible errors such as undefined variables.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) import cos, sin
B) import cos, sin from math
C) import math.cos, math.sin
D) from math import cos, sin
Correct Answer
verified
Multiple Choice
A) show(math)
B) list(math)
C) dir(math)
D) resource(math)
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) ord('Z')
B) chr('Z')
C) ord(chr('Z') )
D) chr(ord('Z') )
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) By rounding to the nearest whole number.
B) By removing the fractional value of the number.
C) By rounding up to the closest whole number.
D) By rounding down to the closest whole number.
Correct Answer
verified
Multiple Choice
A) The two operators are effectively the same, unless being carried out on strings.
B) The quotient operator produces a float, while the division operator produces an integer.
C) The quotient operator produces a float, while the division operator produces an integer + remainder.
D) The quotient operator produces an integer, while the division operator produces a float.
Correct Answer
verified
Multiple Choice
A) 2,147,483,647
B) 4,294,967,294
C) 2,147,483,647^100
D) The value is limited only by the memory of the host computer.
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) refactoring
B) abstraction
C) inferring
D) subletting
Correct Answer
verified
Multiple Choice
A) Nothing can be done, as the two data types cannot be converted to a compatible type.
B) The string object must be converted to a float object via the float() function.
C) The float object must be converted to an integer object via the int() function.
D) The float object must be converted to a string object via the str() function.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The variable is a symbolic constant.
B) The variable is a reference variable.
C) The variable is part of a program loop.
D) The variable is used to store a dynamic value that is constantly changing.
Correct Answer
verified
Showing 1 - 20 of 50
Related Exams