Exam 8: Arrays and More

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

What is the best way to describe the following array? Dim decCars (5, 10, 2) As Decimal

(Multiple Choice)
4.8/5
(41)

Due to their similarities, it's easy to create a parallel relationship between an array and a __________.

(Multiple Choice)
4.8/5
(39)

Which of the following code segments will copy the values of a 5 element array named intOldValues into another 5 element array named intNewValues?

(Multiple Choice)
4.9/5
(39)

The lowest possible subscript of an array is __________.

(Multiple Choice)
4.9/5
(35)

In Visual Basic you can use the ______data type to hold a set of items.

(Multiple Choice)
4.9/5
(34)

Procedures can be written to handle arrays and do all of the following, except __________.

(Multiple Choice)
4.9/5
(42)

What does the following section of code accomplish? Dim intCount as Integer Dim intXXXX as Integer = intNumbers(0) For intCount = 1 to (inNumbers.Length - 1) If intNumbers(intCount) > intXXXX Then IntXXXX = intNumbers(intCount) End If Next intCount

(Multiple Choice)
4.8/5
(35)

How many elements can be stored in the following array? Dim sngGrades (2, 3) As Single

(Multiple Choice)
4.7/5
(30)

What happens to most controls when the Enabled property is set to False?

(Multiple Choice)
4.7/5
(47)

Which statement is not true about the following array? Dim strFriends() As String = { "Rose", "Bud", "Flower", "Spring" }

(Multiple Choice)
4.8/5
(33)

In the array declaration below, what is the significance of the number 7? Dim strNames(7) As String

(Multiple Choice)
4.8/5
(33)

What is the error in the following code, and when will it be caught? Dim intValues(5) As Integer Dim intIndex As Integer For intIndex = 0 To 10 IntValues(intIndex) = 10 Next intIndex

(Multiple Choice)
4.8/5
(35)

Which one of the following declares a List variable and creates a List object at the same time.

(Multiple Choice)
4.8/5
(38)

What does the following section of code accomplish? Dim intCount as Integer Dim intXXXX as Integer = intNumbers(0) For intCount = 1 to (inNumbers.Length - 1) If intNumbers(intCount) < intXXXX Then IntXXXX = intNumbers(intCount) End If Next intCount

(Multiple Choice)
4.7/5
(45)
Showing 21 - 34 of 34
close modal

Filters

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