Exam 10: Introduction to Arrays
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
An array with 20 ints that receives 5 ints from interactive input has a(n) ____ size of 20.
(Multiple Choice)
4.8/5
(40)
When setting up an array, you need to instantiate an array object and assign it to the array declaration. ____________________
(True/False)
4.8/5
(35)
FIGURE 10-2
-In Figure 10-2 above, all of the following is true EXCEPT ____.

(Multiple Choice)
4.8/5
(42)
When referring to an array element, the subscript operator is ____.
(Multiple Choice)
4.9/5
(42)
Organizing code into two classes called the ____ and the view splits the code between managing the interface and manipulating the database.
(Multiple Choice)
4.9/5
(43)
Ravi must indicate an array's ____ in the loop when the array is not full.
(Multiple Choice)
4.8/5
(37)
A(n) ____________________ is a loop that iterates through an array one element at a time.
(Short Answer)
4.8/5
(33)
An array with elements numbered 0 to 99 has a length of 99. ____________________
(True/False)
4.8/5
(42)
For any particular array, all of the elements must be of the same type.
(True/False)
4.8/5
(40)
The detection of a range-bound error is similar to the JVM's behavior when a program attempts to divide by zero.
(True/False)
4.9/5
(41)
If you want to keep a list of peoples' names and ages, you can use two arrays in which corresponding elements are related by using ____ arrays.
(Multiple Choice)
4.7/5
(43)
Identify the letter of the choice that best matches the phrase or definition.
a.Index
b.Range
c.Null
d.Count
e.Break
-A subscript of a value of -1 results in a(n) ____-bound error.
(Essay)
4.9/5
(35)
When referring to an array element, the method selector is ____.
(Multiple Choice)
4.8/5
(41)
To have two variables refer to two separate arrays that happen to contain the same values, copy all of the elements from one array to the other.
(True/False)
4.8/5
(36)
Identify the letter of the choice that best matches the phrase or definition.
a.Index
b.Range
c.Null
d.Count
e.Break
-This statement can be used to terminate an enhanced for loop early.
(Essay)
4.7/5
(42)
When an array is not full, one must replace the array's logical size with its physical length in the loop.
(True/False)
4.8/5
(25)
Once an array is instantiated, its size cannot be changed. ____________________
(True/False)
4.7/5
(32)
Arrays are ____ and must be instantiated before being used.
(Multiple Choice)
4.8/5
(40)
When an array is instantiated, each cell is ____________________ until reset to a new object.
(Short Answer)
4.8/5
(36)
Showing 21 - 40 of 47
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)