Exam 8: Using Arrays and File Handling

arrow

9,570 students have unlocked this exam

  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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

(Multiple Choice)
4.9/5
(40)

Arrays that are ____ can be resized at run time.

(Multiple Choice)
4.8/5
(44)

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

(Multiple Choice)
4.8/5
(33)

A simple text file is called a ____ file.

(Multiple Choice)
4.8/5
(44)

____________________ 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)

____ arrays store related data in two or more arrays.

(Multiple Choice)
4.8/5
(27)

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

(True/False)
4.8/5
(35)

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
close modal

Filters

  • Essay(3)
  • Multiple Choice(59)
  • Short Answer(20)
  • True False(30)
  • Matching(0)