Correct Answer
verified
Multiple Choice
A) cursor = 0
B) cursor = 1
C) cursor = self.size
D) cursor = len(self)
Correct Answer
verified
Multiple Choice
A) a random grouping of interfaces to ensure secure code
B) an interface that is tightly coupled to the implementation
C) the clean separation of interfaces from implementations
D) a sophisticated interface with a high learning curve
Correct Answer
verified
Multiple Choice
A) executes a do loop
B) runs the __iter__ method
C) runs the clear method
D) executes a return statement
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) the new instantiation of the bag must be copied to the source collection.
B) the source collection must be initialized with the clear method
C) the data in the source collection must be deleted
D) the data in the source collection must be copied
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) add(item.self)
B) self.add(item)
C) self.item(add)
D) self.item = source.item
Correct Answer
verified
Multiple Choice
A) unittest
B) pytest
C) pyunit
D) unitcheck
Correct Answer
verified
Multiple Choice
A) isEmpty
B) remove
C) __eq__
D) __len__
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) an array
B) a linked structure
C) a physical size
D) a string pointer
Correct Answer
verified
Multiple Choice
A) __contains__
B) __iter__
C) __eq__
D) __add__
Correct Answer
verified
Multiple Choice
A) they take linear time
B) they take constant time
C) the performance is exponential according to the size of the bag
D) the performance is logarithmic according to the size of the bag
Correct Answer
verified
Multiple Choice
A) it is an unordered collection
B) it is a standard collection type in Python
C) bags can contain only numeric objects
D) bags are of a fixed size
Correct Answer
verified
True/False
Correct Answer
verified
True/False
Correct Answer
verified
Multiple Choice
A) allows users to quickly glue resources together
B) allows alternative implementations of the same resource
C) changes to a resource's implementations do not disturb user code
D) increases the learning curve for resource's users
Correct Answer
verified
Showing 1 - 20 of 50
Related Exams