Exam 8: Arrays and Collections

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

How many elements are contained in the array created with the following code? Dim EmployeeString(25)As String

(Multiple Choice)
4.9/5
(35)

The following code is valid for creating a structure named Student: Structure Student Dim StudentIDString As String Dim FirstNameString As String Dim LastNameString As String Dim GPADecimal As Decimal End Structure

(True/False)
4.7/5
(30)

The Structure / End Structure statements may be used to represent a record of related fields of information.

(True/False)
4.8/5
(39)

The following code is valid: Dim NameString()As String = {"Theresa","Anita","Julia")

(True/False)
4.9/5
(40)

Write a declaration statement for a SortedList object named MyList,accessible to all classes in the project.

(Short Answer)
4.8/5
(49)

The following code is valid for declaring an array with ten elements: Dim EmployeeNameString(0 to 10).

(True/False)
4.8/5
(42)

Declare an array and specify the number of elements using _______.

(Multiple Choice)
4.9/5
(29)

A Structure is private by default,but can be declared to be Friend or Private.

(True/False)
4.7/5
(32)

When performing a table lookup,it is a good idea to include validation because _______.

(Multiple Choice)
4.9/5
(43)

A For Each loop will execute even if the array contains no elements.

(True/False)
4.9/5
(39)
Showing 41 - 50 of 50
close modal

Filters

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