Question 11 If N represents the number of elements in the collection, then the contains method of the ArrayCollection class is O(1). True False Question 12 With the text's array-based list...



Question 11


If N represents the number of elements in the collection, then the contains method of the ArrayCollection class is O(1).


True


False




Question 12


 With the text's array-based list implementation, the set of stored elements is scattered about the array.


True


False




Question 13


The add method of the LinkedCollection class places the new element at the beginning of the underlying linked list.


True


False




Question 14


If N represents the number of elements in the list, then the index-based add method of the ABList class is O(N).


True


False




Question 15


The attributes of a class that are used to determine equality of objects of the class are called the key attributes.


True


False




Question 16


According to the text's specifications, a collection is a list.


True


False




Question 17


O(1) is the order of growth execution time of the add operation when using the ArrayCollection class, assuming a collection size of N.


True


False




Question 18


When an object of class LBList represents an empty list, its front variable is null.


True


False




Question 19


By redefining the equals method inherited from the Object class, we can create a means to compare the contents of objects.


True


False




Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here