Correct Answer
verified
Multiple Choice
A) The pop will return a None value.
B) The pop will return a value of 0.
C) The pop will return a value of False.
D) An error will be raised.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) parts.list()
B) parts.items()
C) parts.print()
D) parts.show()
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) 0 through 50
B) 0 through 49
C) 1 through 50
D) 1 through 49
Correct Answer
verified
Multiple Choice
A) persons = ["Sam":"CEO", "Julie":"President"]
B) persons = ("Sam":"CEO", "Julie":"President")
C) persons = {"Sam":"CEO", "Julie":"President"}
D) persons = {["Sam", "CEO"], ["Julie", "President"]}
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) A possible key.
B) An index position.
C) A list of keys.
D) A default value.
Correct Answer
verified
Multiple Choice
A) numbers is a value of None
B) The list is now ordered in ascending order.
C) The list is now ordered in descending order.
D) The numbers variable becomes a reference to a sorted list.
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The variable will hold the name of the script itself.
B) The variable will be set to "__main__".
C) The variable will be set to "standalone".
D) The variable will be set to "None".
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) The docstring should be just before the declaration of def.
B) The docstring should be placed at the end of the execution block for the function.
C) The docstring should be the next indented line after the def statement.
D) The docstring should be placed at the end of the function, before the return statement.
Correct Answer
verified
Multiple Choice
A) lists
B) keys
C) values
D) indexes
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Showing 21 - 40 of 50
Related Exams