Exam 8: Arrays and Collections
Exam 1: Introduction to Visual Basic 201054 Questions
Exam 2: User Interface Design74 Questions
Exam 3: Variables, Constants, and Calculations58 Questions
Exam 4: Decisions and Conditions51 Questions
Exam 5: Menus, Common Dialog Boxes, Sub Procedures, and Function38 Questions
Exam 6: Multiform Projects69 Questions
Exam 7: Lists, loops, and Printing76 Questions
Exam 8: Arrays and Collections50 Questions
Exam 9: Web Applications66 Questions
Exam 10: Database Applications43 Questions
Exam 11: Data Files43 Questions
Exam 12: OOP: Creating Object-Oriented Programs51 Questions
Exam 13: Graphics, Animation, Sound, and Drag-And-Drop62 Questions
Exam 14: Additional Topics in Visual Basic60 Questions
Select questions type
A Structure declaration cannot go inside a procedure.
Free
(True/False)
4.7/5
(33)
Correct Answer:
True
A table lookup can be used to look up array elements indirectly.
Free
(True/False)
4.8/5
(40)
Correct Answer:
True
The individual variables in an array are accessed by their _______,which is their position in the array.
Free
(Multiple Choice)
4.7/5
(44)
Correct Answer:
C
"Vendor" is the name of the array in the following code:
Structure Vendor
Dim VendorIDString As String
Dim NameString As String
Dim PhoneString As String
End Structure
Dim BusinessVendor(5)As Vendor
(True/False)
4.9/5
(51)
Collections are less sophisticated than arrays and do not define any properties or methods.
(True/False)
4.8/5
(32)
In the following statement,_______,refers to the array, For Each OneSchoolString In SchoolString
(Multiple Choice)
4.9/5
(35)
When you have data stored in a SortedList,you can access the elements using the
(Multiple Choice)
4.8/5
(30)
The SortedList collection automatically sorts entries as they are added to the collection.
(True/False)
4.8/5
(28)
There are several collections defined in .NET to help programmers manage in-memory data.
(True/False)
5.0/5
(30)
An exception is automatically thrown if a subscript is used that is not a valid element in an array.
(True/False)
4.7/5
(29)
after the following declaration is initialized? Dim NameString ( ,)As String = { "James","Mary"},{ "Sammie","Sean"}
(Multiple Choice)
4.8/5
(44)
An array is a series of values,all referenced by the same variable name.
(True/False)
4.8/5
(33)
It is not necessary for a programmer to manipulate the subscripts of an array if they use a For / Next loop.
(True/False)
5.0/5
(29)
A table lookup is used to find a match for a specific value (or string)by comparing it to each element in an array.
(True/False)
4.8/5
(34)
Dimension a variable that can be used for a seating chart that will hold student names in a classroom that has 5 tables,each with 7 chairs.
(Short Answer)
5.0/5
(37)
_______ can be used when two subscripts are needed to identify tabular data,such as when data is arranged in rows and columns.
(Multiple Choice)
4.9/5
(34)
The first subscript in a multidimensional array specifies the column,and the second specifies the row.
(True/False)
5.0/5
(30)
Showing 1 - 20 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)