Exam 8: Arrays and More

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

The following statements apply to a Timer control, except ___.

Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
Verified

B

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

Free
(Multiple Choice)
4.9/5
(38)
Correct Answer:
Verified

C

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

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

B

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

(Multiple Choice)
4.7/5
(33)

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

(Multiple Choice)
4.8/5
(34)

When changing the number of elements in an array at run-time with the ReDim statement, existing values in the array are destroyed unless the _keyword is used.

(Multiple Choice)
4.9/5
(28)

What value should be placed in a Timer control's Interval property to trigger a Tick event every 10 seconds?

(Multiple Choice)
4.7/5
(41)

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

(Multiple Choice)
4.8/5
(36)

Which of the following code segments sets all elements of the array strStudentNames to the value NONE?

(Multiple Choice)
4.9/5
(33)

Which of the following is the correct definition for a procedure that accepts a String array as an argument?

(Multiple Choice)
4.8/5
(38)

Which of the following statements defines a two-dimensional Integer array named intTwoDArray with 6 rows and 4 columns?

(Multiple Choice)
4.9/5
(37)

Parallel arrays have all of the following characteristics, except .

(Multiple Choice)
4.9/5
(36)

Values in an array are stored and worked with using a .

(Multiple Choice)
4.8/5
(35)

Which type of loop is designed specifically to use a subscript to access the elements of an array?

(Multiple Choice)
4.9/5
(36)

Which of the following could be used to iterate through each element of a two-dimensional array.

(Multiple Choice)
4.8/5
(48)

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.8/5
(36)

Which of the following code segments displays each element in an Integer array named intValues without using an index to reference the items in the array.

(Multiple Choice)
5.0/5
(41)

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

(Multiple Choice)
4.9/5
(41)

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

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.8/5
(38)
Showing 1 - 20 of 34
close modal

Filters

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