Exam 8: Using Arrays and File Handling

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

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

(Multiple Choice)
5.0/5
(77)

Arrays that are ____ can be resized at run time.

(Multiple Choice)
4.8/5
(91)

The ____method repeatedly divides the search interval of an array in half to reduce searching time dramatically.

(Multiple Choice)
4.8/5
(82)

A simple text file is called a ____ file.

(Multiple Choice)
4.8/5
(86)

____________________ depreciation is calculated by dividing the purchase or acquisition price of an asset by the life of the asset.

(Short Answer)
4.8/5
(79)

When passing an array ByVal to a ____ procedure,the original array may be changed by the procedure.

(Multiple Choice)
4.8/5
(90)

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
(81)

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

(True/False)
4.9/5
(78)

____ arrays store related data in two or more arrays.

(Multiple Choice)
4.8/5
(63)

The Hide procedure of a Form object removes the form from view.

(True/False)
4.8/5
(78)

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

(True/False)
4.8/5
(77)

An instance is a special type of form that can be loaded with another form still showing.

(True/False)
4.9/5
(83)

The access ____ determines what code has permission to read or write to the variable.

(Multiple Choice)
4.9/5
(92)

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
(74)

An access specifier determines the availability of a variable to other parts of the application.

(True/False)
4.8/5
(76)

____ 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
(92)

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
(74)

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
(74)

All Visual Basic arrays are considered static arrays._________________________

(True/False)
4.9/5
(91)

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

(True/False)
4.9/5
(85)
Showing 41 - 60 of 112
close modal

Filters

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