Exam 8: Arrays and More
Exam 1: Introduction to Programming and Visual Basic40 Questions
Exam 2: Creating Applications With Visual Basic36 Questions
Exam 3: Variables and Calculations41 Questions
Exam 4: Making Decisions39 Questions
Exam 5: Lists and Loops36 Questions
Exam 6: Procedures and Functions31 Questions
Exam 7: Multiple Forms, Modules, and Menus36 Questions
Exam 8: Arrays and More34 Questions
Exam 9: Files, Printing, and Structures36 Questions
Exam 10: Working With Databases32 Questions
Exam 11: Developing Web Applications33 Questions
Exam 12: Classes, Collections, and Inheritance36 Questions
Select questions type
The following statements apply to a Timer control, except ___.
Free
(Multiple Choice)
4.9/5
(37)
Correct Answer:
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:
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:
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)