Exam 8: Using Arrays and File Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

When you initialize an array but do not assign values immediately, default values are not automatically assigned to the elements.

(True/False)
4.8/5
(32)

A(n) ____ form allows users to switch to another form while the first form is still open

(Multiple Choice)
4.7/5
(36)

When a form is loaded as modeless, other forms in the application can be accessed by the user.

(True/False)
4.9/5
(40)

Each ____ in an array contains a value.

(Multiple Choice)
4.8/5
(42)

The array procedure ____________________ arranges the elements in an array from the smallest value to the largest.

(Short Answer)
4.8/5
(29)

When declaring an implicitly sized array, declaring a(n) upper-bound index will cause an error to occur. _________________________

(True/False)
4.9/5
(31)

A sequential search is the most efficient way of searching for an element.

(True/False)
4.7/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.9/5
(37)

The ____________________ object is used to write lines of text to a file.

(Short Answer)
4.8/5
(35)

The word ____ is used to declare an array.

(Multiple Choice)
4.7/5
(32)

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.8/5
(48)

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.8/5
(29)

The ____________________ procedure of the StreamReader class is used to read a line of text from a file.

(Short Answer)
4.9/5
(37)

The elements in a string type array will be initialized to ____.

(Multiple Choice)
4.8/5
(43)

When using the Preserve keyword to redimension an array to a smaller size, a separate array of elements will be made to store the values that were truncated from the end of the array.

(True/False)
5.0/5
(35)

An array can hold ____ data type values.

(Multiple Choice)
4.9/5
(33)

When you are in a situation of having to create hundreds of variables to store hundreds of values, what is the solution for your development of an application to address this situation? Include a definition of all key relevant associated terms in your response.

(Essay)
4.9/5
(43)

The ____ procedure of a StreamReader object reads the next character in a file without changing position in the file.

(Multiple Choice)
4.8/5
(25)

An array with two index values for each element is a(n) ____ array.

(Multiple Choice)
4.8/5
(37)

The ____ loop can be used to process each element of an array.

(Multiple Choice)
4.8/5
(36)
Showing 81 - 100 of 103
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)