Exam 8: Using Arrays and File Handling
Exam 1: Introduction to Visual Basic 2015 Programming111 Questions
Exam 2: Program and Graphical User Interface Design112 Questions
Exam 3: Program Design and Coding110 Questions
Exam 4: Variables and Arithmetic Operations111 Questions
Exam 5: Decision Structures111 Questions
Exam 6: Loop Structures112 Questions
Exam 7: Using Procedures and Exception Handling112 Questions
Exam 8: Using Arrays and File Handling110 Questions
Exam 9: Creating Web Applications111 Questions
Exam 10: Incorporating Databases With Adonet111 Questions
Exam 11: Multiple Classes and Inheritance112 Questions
Exam 12: Windows Store Apps111 Questions
Select questions type
Arrays provide access to data by using a numeric ____ to identify the desired element.
(Multiple Choice)
4.9/5
(36)
Identify the letter of the choice that best matches the phrase or definition
a.implicitly
b.zero
c.BinarySearch
d.upper-bound
e.parallel
f.function
g.two-dimensional
h.Sort
i.element
j.array
REFERENCES:
530
530
530
531
532
532
542
543
545
546
-The number of values in an array sized this way is determined at execution
(Essay)
4.8/5
(36)
A ____ search of an array starts at the beginning of the array and inspects each element until a match is found.
(Multiple Choice)
4.8/5
(35)
An array subscript cannot be less than 1._________________________
(True/False)
4.9/5
(34)
The ____ method of a StreamReader object should be used to read the next character in a file without changing position in the file.
(Multiple Choice)
4.8/5
(38)
To store the values contained in a table,you would use a ____ array.
(Multiple Choice)
4.7/5
(36)
In applications that include multiple forms,it is best to declare every variable as a ____ variable unless the variable is used in multiple Form objects.
(Multiple Choice)
4.9/5
(30)
When a form is displayed as modal,no other forms in the application can be accessed by the user until the form is closed.
(True/False)
4.8/5
(40)
When passing an array ByVal to a ____ procedure,the original array may be changed by the procedure.
(Multiple Choice)
4.7/5
(37)
The elements in a string type array will be initialized to ____.
(Multiple Choice)
4.9/5
(41)
An access specifier determines the availability of a variable to other parts of the application.
(True/False)
5.0/5
(36)
The ____________________ object is used to read text from a file into the program.
(Essay)
4.7/5
(39)
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
(35)
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 lines could replace the line at the bottom of the code in the sample and retain the data in the elements 0 through 50?
(Multiple Choice)
4.8/5
(40)
Identify the letter of the choice that best matches the phrase or definition
a.implicitly
b.zero
c.BinarySearch
d.upper-bound
e.parallel
f.function
g.two-dimensional
h.Sort
i.element
j.array
REFERENCES:
530
530
530
531
532
532
542
543
545
546
-Explain how to compute depreciation,including a definition of both kinds of depreciation in your answer.
(Essay)
4.7/5
(31)
The ____________________ keyword is used to keep the existing data inside an array when the array is resized to a larger size.
(Essay)
4.9/5
(39)
Showing 41 - 60 of 110
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)