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
The SelectedIndex property of a list box can be used as an array subscript to find an item in a list box.
(True/False)
4.7/5
(40)
If an exception is thrown and the message,"Index was outside the bounds of the array." displays,this indicates _______.
(Multiple Choice)
4.9/5
(49)
An array with six elements will exist in memory after the following lines of code have been executed:
Structure Vendor
Dim VendorIDString As String
Dim NameString As String
Dim PhoneString As String
End Structure
Dim BusinessVendor(5)As Vendor
(True/False)
5.0/5
(43)
An array is a series of individual variables,all referenced by the same name but having unique indexes.
(True/False)
4.8/5
(44)
Which of the following code samples is valid for accumulating the total sales for the Tigers baseball club if the Tigers are the second group in the list?
(Multiple Choice)
4.9/5
(36)
Explain the difference between a For/Next loop and a For Each/Next loop when traversing an array.
(Essay)
4.8/5
(45)
Each individual variable in an array is called a "member" of the array.
(True/False)
4.8/5
(43)
When an array is initialized with the Dim Statement,the index starts at 1 instead of 0.
(True/False)
4.9/5
(28)
A Dim statement can be used to specify initial values for the array elements.
(True/False)
4.8/5
(39)
StudentNameString (0) is a valid position in an array that is declared with the statement: Dim StudentNameString(15)As String.
(True/False)
4.8/5
(40)
An array is a set of variables.Each individual variable is called _______.
(Multiple Choice)
4.8/5
(36)
Write a structure called Student that contains the following items:
Last Name,First Name,Student ID,CurrentG.P.A.
(Essay)
4.9/5
(32)
Code to create a user-defined Structure should be placed inside the procedure in which the structure will be used.
(True/False)
4.8/5
(34)
Given the following code,which of the choices below would be used to access the phone number of the 3rd vendor? Private Structure Vendor
Dim VendorIDString As String
Dim NameString As String
Dim PhoneString As String
End Structure
Dim BusinessVendor(5)As Vendor
(Multiple Choice)
5.0/5
(37)
A VB programmer can combine multiple fields of related data using a _______.
(Multiple Choice)
4.7/5
(36)
When you are working with an array,the easiest way to traverse the elements is to use the _______.
(Multiple Choice)
4.8/5
(35)
__________ can be used to find a specific value in an array.
(Multiple Choice)
4.9/5
(43)
Showing 21 - 40 of 50
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)