Exam 8: Arrays and Collections

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

A Structure declaration cannot go inside a procedure.

Free
(True/False)
4.7/5
(33)
Correct Answer:
Verified

True

A table lookup can be used to look up array elements indirectly.

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

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:
Verified

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)

Which of the following is not a .NET Collection type?

(Multiple Choice)
4.8/5
(29)

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)

Sometimes arrays are referred to as list boxes.

(True/False)
4.8/5
(37)

An array is a list or series of values.

(True/False)
4.7/5
(31)

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

Filters

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