Which of the following literals reflect the value given as 34.23? (select two answers)
Answer : A, B
What is the expected output of the following snippet?
Answer : B
The following class hierarchy is given. What is the expected output of the code?
Answer : D
What will be the value of the i variable when the while e loop finishes its execution?
Answer : A
If you need a function that does nothing, what would you use instead of XXX? (Select two answers)
def idler ( ):
XXX
Answer : A, D
A Python module named pymod, py contains a function named pyfun ( ).
Which of the following snippets will let you invoke the function? (Select two answers)
Answer : B, D
What is the expected output of the following snippet?
Answer : B