Exam 2: Lists and the Collections Framework
Exam 1: Object-Oriented Programming and Class Hierarchies41 Questions
Exam 2: Lists and the Collections Framework35 Questions
Exam 3: Testing and Debugging25 Questions
Exam 4: Stacks and Queues28 Questions
Exam 5: Recursion25 Questions
Exam 6: Trees25 Questions
Exam 7: Sets and Maps27 Questions
Exam 8: Sorting25 Questions
Exam 9: Self-Balancing Search Trees28 Questions
Exam 10: Graphs25 Questions
Exam 11: Introduction to Java25 Questions
Exam 12: Overview of UML25 Questions
Select questions type
____________________ testing tests the software element (method, class, or program) with the knowledge of its internal structure.
(Short Answer)
4.9/5
(37)
A(n) ____ is a data structure that contains a data item and one or more links.
(Multiple Choice)
4.8/5
(34)
The simplest class that implements the List<E> interface is the ____ class.
(Multiple Choice)
4.7/5
(38)
The actual object type stored in an object of type CollectionClassName<E> is specified when the object is created.
(True/False)
4.8/5
(30)
____ testing is the testing of the whole program in the context in which it will be used.
(Multiple Choice)
4.8/5
(44)
A(n) ____________________ declares any necessary object instances and variables, assigns values to any of the method's inputs, calls the method, and displays the values of any outputs returned by the method.
(Short Answer)
4.9/5
(41)
Because an ArrayList<E> is an indexed collection, you can access its elements using a subscript.
(True/False)
4.7/5
(43)
____ testing involves testing the interactions among units.
(Multiple Choice)
4.8/5
(40)
In the java.util.ArrayList<E> class, which of the following returns a reference to the element at position index?
(Multiple Choice)
4.7/5
(38)
In the Java API documentation, inner classes are called ____ classes.
(Multiple Choice)
4.8/5
(43)
Iterator objects throw a(n) ____________________ if they are asked to retrieve the next element after all elements have been processed.
(Short Answer)
4.8/5
(30)
If a call to remove (java.util.Iterator interface) is not preceded by a call to next, remove will throw a(n) ____________________.
(Short Answer)
4.8/5
(34)
Character ch = 'x' in Java 5.0 is equivalent to Character ch = new Character('x') in earlier Java versions.
(True/False)
4.7/5
(42)
The LinkedList<E> class implements the List<E> interface using a(n) ____.
(Multiple Choice)
4.9/5
(39)
Showing 21 - 35 of 35
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)