Chapter 8

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

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

False

An application can only contain one Windows Form object.

False

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

False

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

False

In applications that include multiple forms, it is best to declare as few Private variables as possible.

False

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

False

The Length property returns the highest index element in the array.

False

The Show procedure of a Form object loads a form as modal.

False

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

False

When an array is initialized but do not assign values immediately, no default values are automatically assigned to the elements.

False

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

False

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.

False

You cannot sort arrays in reverse alphabetical order,

False

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

True

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

True

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

True

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

True

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

True

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

True

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

True

The ReDim statement can be used to change the size of an array.

True

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

True

When a form is displayed as modal, no other forms in the application can be accessed by the user until the form is closed.

True

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

True

You cannot return an array from a function.

True


Ensembles d'études connexes

Art History I: UNIT 2 - Challenge 4: Romans and Etruscans

View Set

Risk factors for immune & Medications for Idiopathic & Lupus

View Set

Sexual Assault Prevention Post-Course Exam

View Set

AFRAS 170A Quiz #1: African Origins, Middle Passage, Black People in Colonial North America

View Set

Delivering Health Care in America

View Set