Exam 14: Introduction to Collections
Exam 1: Background49 Questions
Exam 2: First Java Programs47 Questions
Exam 3: Syntax, Errors, and Debugging46 Questions
Exam 4: Introduction to Control Statements47 Questions
Exam 5: Using Classes and Objects in Media Computing47 Questions
Exam 6: Introduction to Defining Classes46 Questions
Exam 7: Control Statements Continued47 Questions
Exam 8: Improving the User Interface45 Questions
Exam 9: Introduction to Html and Applets45 Questions
Exam 10: Introduction to Arrays47 Questions
Exam 11: Classes Continued46 Questions
Exam 12: Arrays Continued47 Questions
Exam 13: Recursion, Complexity, and Searching and Sorting47 Questions
Exam 14: Introduction to Collections43 Questions
Exam 15: Multithreading, Networks, Clientserver Programming47 Questions
Select questions type
Collections are typically static. ____________________
Free
(True/False)
4.8/5
(40)
Correct Answer:
False
A map is a collection of unique items called entries. Each entry contains a key and a value.
Free
(True/False)
4.9/5
(38)
Correct Answer:
True
The ____ of two sets (A and B) is the set of items in A that are also items in B.
Free
(Multiple Choice)
4.8/5
(41)
Correct Answer:
B
A(n) ____ is a linear sequence of characters with access to the end, called the top.
(Multiple Choice)
4.9/5
(27)
When a method signature starts with the modifier ____, it means that the user of the method sends a message to the main class, not to an instance of any class.
(Multiple Choice)
4.9/5
(34)
Identify the letter of the choice that best matches the phrase or definition.
a.Queue
b.Set
c.Map
d.Tree
e.Graph
-A linear sequence of elements with insertions at the rear and removals at the front.
(Essay)
4.8/5
(40)
Infix evaluation applies operators as soon as they are encountered and never requires parentheses. ____________________
(True/False)
4.7/5
(44)
In modern languages like Java, arrays are considered a lower-level data structure and are often used to implement other collections.
(True/False)
4.9/5
(36)
Translating infix expressions to postfix form is an example of an application of a ____.
(Multiple Choice)
4.9/5
(35)
FIGURE 14-1
-Java's built-in collections are defined in the package ____, as shown in Figure 14-1 above.

(Multiple Choice)
4.9/5
(42)
A(n) ____ is a linear sequence of elements of any type by numeric index position.
(Multiple Choice)
4.9/5
(40)
The contents and size of a collection typically do not change during the course of a program.
(True/False)
4.7/5
(43)
A(n) ____ provides a logical view of the behavior of a class of objects.
(Multiple Choice)
4.7/5
(37)
Identify the letter of the choice that best matches the phrase or definition.
a.Multithreading
b.Sleep
c.Blocked thread
d.Multiprocessing
e.Synchronization
-Collections are used to help programmers effectively organize data in programs.
(True/False)
4.9/5
(35)
Collections must be homogeneous, meaning the items are all of the same type.
(True/False)
4.8/5
(38)
Identify the letter of the choice that best matches the phrase or definition.
a.Queue
b.Set
c.Map
d.Tree
e.Graph
-A network of elements.
(Essay)
4.8/5
(38)
Identify the letter of the choice that best matches the phrase or definition.
a.Queue
b.Set
c.Map
d.Tree
e.Graph
-An unordered collection of unique elements
(Essay)
4.8/5
(38)
A programmer must use ____ to manipulate elements in a list.
(Multiple Choice)
4.8/5
(41)
Showing 1 - 20 of 43
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)