Exam 7: Arrays and Lists
Exam 1: Introduction to Computers and Programming161 Questions
Exam 2: Introduction to Visual C131 Questions
Exam 3: Processing Data174 Questions
Exam 4: Making Decisions77 Questions
Exam 5: Loops, Files, and Random Numbers109 Questions
Exam 6: Modularizing Your Code With Methods61 Questions
Exam 7: Arrays and Lists99 Questions
Exam 8: More About Processing Data87 Questions
Exam 9: Classes and Multiform Projects89 Questions
Exam 10: Inheritance and Polymorphism37 Questions
Exam 11: Databases69 Questions
Select questions type
A(n) ____________ is an object that can hold a group of values that are all the same data type.
Free
(Multiple Choice)
4.9/5
(93)
Correct Answer:
C
The storage locations in an array are known as ____________.
Free
(Multiple Choice)
4.8/5
(71)
Correct Answer:
D
Which one of the following statements declares a reference variable named values that can be used to reference an int array?
Free
(Multiple Choice)
4.8/5
(75)
Correct Answer:
C
When you call a method and pass an array as an argument, you simply pass the____________ that references the array.
(Multiple Choice)
4.8/5
(83)
The ____________ uses a loop to sequentially step through an array, starting with the first element.
(Multiple Choice)
4.7/5
(82)
When working with an array, it is important that you do not use a(n)____________.
(Multiple Choice)
4.7/5
(70)
A(n) ____________ is similar to an array but offers many advantages over an array.
(Multiple Choice)
4.8/5
(79)
The .NET Framework provides a class named Container, which can be used for storing and retrieving items.
(True/False)
4.8/5
(72)
Look at the following code sample:
What is the value stored in values[2, 2]?
(Multiple Choice)
4.9/5
(93)
An array and the variable that references it are the same entity.
(True/False)
4.8/5
(70)
You can use the ____________ to remove an item at a specific index in a List.
(Multiple Choice)
4.9/5
(68)
When you are working with a(n) ____________ variable, the compiler sets aside, or allocates, a chunk of memory that is big enough for that variable.
(Multiple Choice)
4.9/5
(79)
The ____________ creates an object in memory and returns a reference to that object.
(Multiple Choice)
4.9/5
(89)
When working with an array, you cannot use a subscript that is less than 0 or greater than the size of the array minus 1.
(True/False)
4.9/5
(78)
To access an item that is stored in a particular row and column in a jagged array, you enclose the row and column subscripts in their own sets of brackets..
(True/False)
4.7/5
(88)
Of the following statements, which one correctly initializes an int array named quarters with the values 1, 2, 3, and 4?
(Multiple Choice)
4.9/5
(82)
____________ arrays, which are also called 2D arrays, can hold multiple sets of data.
(Multiple Choice)
4.8/5
(74)
To access one of the elements in a two-dimensional array, you must use two subscripts.
(True/False)
5.0/5
(85)
What special value are the elements of an array of reference type objects set to by default?
(Multiple Choice)
4.7/5
(79)
Showing 1 - 20 of 99
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)