Sample Quiz 2 Flashcards

1
Q

The first element in every array is the _________

A

zeroth element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The __________ property is set to True when a RadioButton is selected.

A

Checked

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Two-dimensional arrays are often used to represent ____________.

A

Tabels

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Arrays can be declared to hold values of _____.

A

any data type

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

To determine the number of elements in an array, use the NumberOfElements property

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The ComboBox control combines a TextBox control with a _______ control.

A

ListBox

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Property __________ contains the size of an array

A

Length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In an m-by-n array, the m stands for __________

A

the number of rows in the array

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Method _________ returns an array’s highest index

A

GetUpperBound

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

An array index store normally should be of type Double

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

The number that refers to a particular element of an array is called its __________

A

index (or subscript)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Use a ___________ to group of RadioButtons on a Form

GroupBox control

ComboBox control

ListBox control

A

None of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The ___________ event is raised when a RadioButton is either selected or deselected

A

checkedChanged

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The indexed array name of one-dimensional array units’s element 2 is ___________.

A

units(2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

method that call sorts array words in ascending order?

A

Array.Sort(words)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

statement that creates Integer array values with three rows and three columns?

A

Dim array(,) As Integer = {1,2,3},{4,5,6},{7,8,9}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

In a __________ array each row contains the same number of columns.

A

rectangular

18
Q

The ____________ property determines whether a RadioButton is selected.

19
Q

Which of the following creates an Integer array of five rows and three colums?

A

Dim values(4,2) As Integer

20
Q

When one RadioButton in a container is seleceted, _________.

A

all others will be deselected

21
Q

An array can store many different types of values

22
Q

The ________ event handler is invoked when the user selects a Radio button.

A

CheckedChanged

23
Q

Typically, ____________ statements are used to iterate over each element in a two-dimensional array.

A

nested For…Next

24
Q

When declaring an array, a(n) _________ is required inside parentheses in order to indicate that the array is two-dimensional.

25
The process of ordering the elements of an array is called ___________ the array.
sorting
26
Method GetUpperBound returns the highest numbered index in an array.
True
27
Which of the following sotrs array averageRainfall?
Array.Sort(averageRainfall)
28
The linear search works well for unsorted arrays.
True
29
Property ___________ specifies the source of the data displayed in a ComboBox.
DataSource
30
An array's elements are related by the act that they have the same name and _________.
type
31
ComboBox property ____________ is 0 when the first ComboBox item is selected.
SelectedIndex
32
The initializer list can ___________.
be used to determine the size of the array. be empty contain a comma separated list of initial values for the array element
33
An array length is ___________.
one more than the array's last index
34
Arrays that use two indices are referred to as __________ arrays.
two-dimensional
35
The expression _______ creates an Integer array of two rows and five columns.
Dim a(1,4) As Integer
36
An array index store normally should be of type Double.
False
37
The number that refers to a particular element of an array is called its __________.
index (or subscript)
38
The ComboBox control combines a TextBox control with a _______ control.
ListBox
39
Arrays can be declared to hold values of _____.
any data type
40
When one RadioButton in a container is seleceted, _________.
all others will be deselected