Exam 8: Arrays and Collections

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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)

Array elements may be used for counters and accumulators.

(True/False)
4.9/5
(41)

A subscript may also be called an index.

(True/False)
4.8/5
(40)

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)

Each element in an array can have its own unique data type.

(True/False)
4.9/5
(38)

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
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)