Exam 12: Arrays Continued
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
Using a(n) ____ list with a two-dimensional array requires a list of lists.
Free
(Multiple Choice)
4.8/5
(34)
Correct Answer:
A
When inserting an item from an array, if there is not room in the array, ____.
Free
(Multiple Choice)
4.9/5
(42)
Correct Answer:
D
Identify the letter of the choice that best matches the phrase or definition.
a.Logical size
b.Two-dimensional array
c.Ragged array
d.Tic-tac-toe game
e.Drop-down menu
-Must include elements all of the same type.
Free
(Essay)
4.8/5
(46)
Correct Answer:
B
Which of the following is NOT true about algorithms for a selection sort?
(Multiple Choice)
4.8/5
(43)
The ____ search is faster when searching an array of elements for a target element.
(Multiple Choice)
4.8/5
(31)
A drop-down menu is used to hide commands under visible labels to use GUI window space efficiently. ____________________
(True/False)
4.7/5
(34)
A linear search works well for arrays that are very large (thousands or millions of elements).
(True/False)
4.8/5
(42)
Identify the letter of the choice that best matches the phrase or definition.
a.Logical size
b.Two-dimensional array
c.Ragged array
d.Tic-tac-toe game
e.Drop-down menu
-An example of a two-dimensional grid.
(Essay)
4.7/5
(35)
FIGURE 12-2
-Figure 12-2 above shows an example of a trace of data during a(n) ____ sort.

(Multiple Choice)
4.8/5
(33)
To add a drop-down menu to a GUI, you need to add all of the following EXCEPT ____.
(Multiple Choice)
4.8/5
(29)
A(n) ____ sort causes a pass through the array to compare adjacent pairs of items.
(Multiple Choice)
4.8/5
(41)
The basic idea of an insertion sort is that for each index position (i), find the smallest data value in the positions i through length -1, then exchange the smallest value with the value at position i. ____________________
(True/False)
4.9/5
(42)
In a linear search, the loop breaks if the target is found. ____________________
(True/False)
4.7/5
(38)
Identify the letter of the choice that best matches the phrase or definition.
a.Logical size
b.Two-dimensional array
c.Ragged array
d.Tic-tac-toe game
e.Drop-down menu
-Is decremented by one when removing an item from an array.
(Essay)
4.9/5
(45)
For each pass of a(n) ____ search, the current leftmost position or current rightmost position is adjusted to track the portion of the array being searched.
(Multiple Choice)
4.9/5
(40)
When removing an item from an array, you must decrement the physical size by one. ____________________
(True/False)
4.7/5
(41)
Each sort method and its helper methods should be defined as private static. ____________________
(True/False)
5.0/5
(33)
Showing 1 - 20 of 47
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)