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
Which statement is the best solution for the following problem? Write a statement that initializes a two-dimensional array of Integers named intGrades. The array will have 2 rows, with 93, 91, and 84 in the first row and 85, 89, and 91 in the second row.
(Multiple Choice)
4.8/5
(37)
Assume that an integer array named intValues contains intNUM elements. Which of the following code segments most efficiently finds the largest element in the array and displays it in a label named lblMaxValue? Assume that values have already been inserted into the array.
(Multiple Choice)
4.8/5
(38)
What happens to most controls when the Enabled property is set to False?
(Multiple Choice)
4.8/5
(41)
What task is accomplished by the following code? Dim intFirstArray2) As Integer
Dim intSecondArray2) As Integer
IntFirstArray0) = 10
IntFirstArray1) = 19
IntFirstArray2) = 26
IntSecondArray = intFirstArray
(Multiple Choice)
4.8/5
(40)
This property of a control allows it be positioned a specified distance from the outside edge of the form.
(Multiple Choice)
4.8/5
(38)
Which of the following code segments is the correct solution for the following problem? Find the first occurrence of the value "Joe" in the array strNames. Save the index of the element containing "Joe" in a variable named intPosition. Discontinue searching the array once the first occurrence of the element "Joe" has been located. Assume any variables you need are already defined.
(Multiple Choice)
4.9/5
(33)
Which of the following declares an array to contain the weekly sales of a group of salespeople for a year? use the constant intNumSalesmen for the number of salesmen and 52 for the number of weeks)
(Multiple Choice)
4.8/5
(41)
In the array declaration below, what is the significance of the number 7? Dim strNames7) As String
(Multiple Choice)
4.8/5
(30)
Which one of the following declares a List variable and creates a List object at the same time.
(Multiple Choice)
4.8/5
(33)
What is the best way to describe the following array? Dim decCars 5, 10, 2) As Decimal
(Multiple Choice)
4.8/5
(45)
Which of the following provides the index of the highest numbered element of the array strNames?
(Multiple Choice)
4.7/5
(46)
Which of the following statements sorts an array named intValues?
(Multiple Choice)
4.9/5
(35)
Which of the following allows an application to automatically execute code at regular time intervals?
(Multiple Choice)
4.8/5
(42)
Showing 21 - 34 of 34
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)