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 Menus35 Questions
Exam 8: Arrays and More34 Questions
Exam 9: Files, Printing, and Structure36 Questions
Exam 10: Working With Databases32 Questions
Exam 11: Developing Web Applications33 Questions
Exam 12: Classes, Collections, and Inheritance36 Questions
Select questions type
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)