Exam 8: Using Arrays and File Handling

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

By using the Public Common access specifier, the variable's values are shared across all objects within an application.

(True/False)
4.7/5
(44)

Command lines placed after the ____ method call are not executed until the second Form object is closed.

(Multiple Choice)
4.9/5
(34)

As with other variables, an array declared as a class-level variable is visible to all procedures within the class.

(True/False)
4.8/5
(44)

The term parallel array has the same meaning as the term two-dimensional array .

(True/False)
4.7/5
(42)

Arrays that are ____ can be resized at run time.

(Multiple Choice)
4.9/5
(32)

The Peek procedure of a StreamReader object will return -1 when the end of the file has been reached.

(True/False)
4.8/5
(42)

When using a For Each loop to process each element in an array, you must specify the number of iterations for the loop.

(True/False)
4.9/5
(39)

To remove a form from view, the ____________________ procedure is used.

(Short Answer)
4.7/5
(34)

Objects on a form cannot be referenced from any other form.

(True/False)
4.9/5
(37)

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)

The ____________________ procedure of the StreamReader object returns the next character in the file without changing position.

(Short Answer)
4.8/5
(37)

A simple text file is called a ____ file.

(Multiple Choice)
4.9/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
(32)

The ____ loop stops when the loop has processed every element in an array.

(Multiple Choice)
4.8/5
(36)

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

The ____________________ procedure creates a form that retains the input focus while open.

(Short Answer)
4.8/5
(41)

Given the following array definition  Dim intCalories() As Integer = {35, 45, 75, 110, 145, 160, 195, 405, 435}  outline the steps for the BinarySearch method's efforts to find the value 405.

(Essay)
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
(35)

When an array is declared, the numeric value specified in parentheses is the ____.

(Multiple Choice)
4.9/5
(40)

A nested loop is used to total the two columns of a(n) implicit array. _________________________

(True/False)
4.8/5
(41)
Showing 61 - 80 of 103
close modal

Filters

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