Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) print("The total is %5." % total)
B) print("The total is %0.5d" % total)
C) print("The total is %f" % float(total, 5) )
D) print("The total is %0.5f" % total)
Correct Answer
verified
Multiple Choice
A) The variable var1 must be an integer value.
B) The variable var1 must be a string value.
C) The variable var1 will be in octal format.
D) The variable var1 will be formatted regardless of type.
Correct Answer
verified
Multiple Choice
A) The loop header.
B) The loop body.
C) The loop end.
D) The loop tail.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) CTRL + Esc
B) CTRL + c
C) Alt + b
D) CTRL + Break
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) random.randnum(1, 6)
B) random.randint(range(1-6) )
C) random.randint(1, 6)
D) random.random(1, 6)
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The assignment operator (=) is higher in precedence than exponentiation (**) .
B) The logical conjunction (and) is higher in precedence than the logical negation (not) .
C) The comparison operators (==, !=, , =) are higher in precedence than the assignment operator (=) .
D) The addition and subtraction operators (+, -) are lower in precedence than the logical conjunction operator (and) .
Correct Answer
verified
Multiple Choice
A) -=
B) !=
C) /=
D) _=
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) and
B) or
C) not
D) xor
Correct Answer
verified
Multiple Choice
A) You need to convert numeric grades to letter grades.
B) You need to test if the value of A is larger than B.
C) You need to determine if a number is positive or negative.
D) You need to test if a variable is True or False.
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams