Exam 8: Using Arrays and File Handling

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

​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
(39)

The array ____ procedure is used to organize elements in an array according to their values.​

(Multiple Choice)
4.9/5
(31)

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 -​This method returns a negative integer if the array does not contain the specified value

(Essay)
4.8/5
(42)

The ShowDialog procedure of a Form object loads a form as modal.​

(True/False)
4.8/5
(48)

Arrays that are ____ can be resized at run time.​

(Multiple Choice)
4.8/5
(37)

An array variable can store more than five values at a time._________________________​

(True/False)
4.9/5
(38)

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 -​Type of arrays that store related data in two or more arrays

(Essay)
4.9/5
(23)

Select the correct syntax to declare an array named intReservations with 10 Integer elements.​

(Multiple Choice)
4.8/5
(30)

Each ____ in an array contains a value.​

(Multiple Choice)
4.8/5
(29)

A(n)____________________ is an object variable that references the class name to access the object's procedures and properties.​

(Essay)
4.7/5
(31)

​An array element is accessed by using the array name and the element's ____.

(Multiple Choice)
4.8/5
(30)

A variable's access specifier determines what other forms may access it.​

(True/False)
4.9/5
(33)

  ​ -As shown in the accompanying figure,the ____ keyword will save existing data when resizing an array to a larger size.​ ​ -As shown in the accompanying figure,the ____ keyword will save existing data when resizing an array to a larger size.​

(Multiple Choice)
4.9/5
(38)

A nested loop can be used to process all of the elements in a(n)implicit array._________________________​

(True/False)
4.9/5
(33)

Modeless forms are used more often than modal forms in Windows applications.​

(True/False)
5.0/5
(44)

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

(True/False)
4.8/5
(23)

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

(Essay)
4.8/5
(37)

The IO.File.____________________ procedure checks if a file is available.​

(Essay)
4.9/5
(35)

The ____ keyword is used to change the number of elements in an array.​

(Multiple Choice)
5.0/5
(42)

  ​ -If a variable is declared with the Public ____________________ specifier,it can be used by all instances of a Form's class.​ ​ -If a variable is declared with the Public ____________________ specifier,it can be used by all instances of a Form's class.​

(Essay)
4.9/5
(34)
Showing 61 - 80 of 110
close modal

Filters

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