Exam 8: Using Arrays and File Handling
Exam 1: Introduction to Visual Basic 2012 Programming112 Questions
Exam 2: Program and Graphical User Interface Design112 Questions
Exam 3: Program Design and Coding112 Questions
Exam 4: Variables and Arithmetic Operations112 Questions
Exam 5: Decision Structures112 Questions
Exam 6: Loop Structures112 Questions
Exam 7: Using Procedures and Exception Handling112 Questions
Exam 8: Using Arrays and File Handling112 Questions
Exam 9: Creating Web Applications112 Questions
Exam 10: Incorporating Databases with ADO.NET112 Questions
Exam 11: Multiple Classes and Inheritance112 Questions
Exam 12: Windows Store Apps112 Questions
Select questions type
An array with two index values for each element is a(n)____ array.
(Multiple Choice)
4.9/5
(40)
The ____method repeatedly divides the search interval of an array in half to reduce searching time dramatically.
(Multiple Choice)
4.8/5
(33)
____________________ depreciation is calculated by dividing the purchase or acquisition price of an asset by the life of the asset.
(Short Answer)
4.8/5
(35)
When passing an array ByVal to a ____ procedure,the original array may be changed by the procedure.
(Multiple Choice)
4.8/5
(49)
MATCHING
Identify the letter of the choice that best matches the phrase or definition.
-Type of arrays that store related data in two or more arrays
(Multiple Choice)
4.9/5
(30)
A sequential search is the most efficient way of searching for an element.
(True/False)
4.9/5
(36)
When declaring an implicitly sized array,declaring a(n)upper-bound index will cause an error to occur._________________________
(True/False)
4.8/5
(32)
An instance is a special type of form that can be loaded with another form still showing.
(True/False)
4.9/5
(30)
The access ____ determines what code has permission to read or write to the variable.
(Multiple Choice)
4.9/5
(44)
Critical Thinking Questions
Case 8-2
Another colleague shares the following code with you:
Dim strEmployees(50) As String
' Later in the code
ReDim strEmployees(65).
-Which of the following is NOT true based on what you see in your colleague's code?
(Multiple Choice)
4.9/5
(36)
An access specifier determines the availability of a variable to other parts of the application.
(True/False)
4.8/5
(36)
____ sized arrays are not initialized with a set size,but instead are sized at execution to accommodate the listed values.
(Multiple Choice)
4.8/5
(37)
CASE
Critical Thinking Questions
Case 8-1
One of your fellow programmers has written the following array assignment statements for your review:
Dim strNames() As String = {"Baker" "Lopez", "Buck", "Chan", "Tirrell"}
Dim intReservations() As Integer = {4, 5, 12, 2, 8}
-Where is Baker stored?
(Multiple Choice)
4.7/5
(35)
CASE
Critical Thinking Questions
Case 8-1
One of your fellow programmers has written the following array assignment statements for your review:
Dim strNames() As String = {"Baker" "Lopez", "Buck", "Chan", "Tirrell"}
Dim intReservations() As Integer = {4, 5, 12, 2, 8}
-If your programmer friend had failed to initialize the intReservations array,what would be the default value of intReservations(3)?
(Multiple Choice)
4.7/5
(33)
All Visual Basic arrays are considered static arrays._________________________
(True/False)
4.9/5
(40)
As with other variables,an array declared as a class-level variable is visible to all procedures within the class.
(True/False)
5.0/5
(46)
Showing 41 - 60 of 112
Filters
- Essay(3)
- Multiple Choice(59)
- Short Answer(20)
- True False(30)
- Matching(0)