Quiz 2 Flashcards
Quiz 2
An array index store normally should be of type Double.
A) True
B) False
B) False
Quiz 2
Arrays that use two indices are referred to as __________ arrays.
A) single-subscripted
B) two-dimensional
C) double
D) one-dimensional
B) two-dimensional
Quiz 2
ComboBox property ____________ is 0 when the first ComboBox item is selected.
A) SelectedIndex
B) SElectedValue
C) Index
D) SelectedNumber
A) SelectedIndex
Quiz 2
Which method call sorts array words in ascending order?
A) Array.Sort(words)
B) words.SortArray()
C) Array.Sort(words,1)
D) Sort(words)
A) Array.Sort(words)
The initializer list can ___________.
A) be used to determine the size of the array.
B) be empty
C) contain a comma separated list of initial values for the array elements.
D) all of the above
D) all of the above
Quiz 2
The __________ property is set to True when a RadioButton is selected.
A) Selected
B) Chosen
C) On
D) Checked
D) Checked
Quiz 2
Which of the following creates an Integer array of five rows and three colums?
A) Dim values(5.3) As Integer
B) Dim values(4,2) As Integer
C) Dim values(4,3) As Integer
D) Dim values(5,2) As Integer
B) Dim values(4,2) As Integer
Quiz 2
The ComboBox control combines a TextBox control with a _______ control.
A) DateTimePicker
B) ListBox
C) NumericUpWown
D) Label
B) ListBox
Quiz 2
Which of the following statements creates Integer array values with three rows and three columns?
A) Dim array()() As Integer = {1,2,3},{4,5,6},{7,8,9}
B) Dim array() As Integer = {1,2,3},{4,5,6},{7,8,9}
C) Dim array(,) As Integer = {1,2,3},{4,5,6},{7,8,9}
D) All of the above
C) Dim array(,) As Integer = {1,2,3},{4,5,6},{7,8,9}
Quiz 2
Method GetUpperBound returns the highest numbered index in an array.
A) True
B) False
A) True
Quiz 2
The ____________ property determines whether a RadioButton is selected.
A) Selected
B) Clicked
C) Checked
D) Enabled
C) Checked
Quiz 2
An array’s elements are related by the act that they have the same name and _________.
A) constant value
B) subscript
C) type
D) value
C) type
Quiz 2
Typically, ____________ statements are used to iterate over each element in a two-dimensional array.
A) Do While…Loop
B) nested For…Next
C) Do…Loop
D) nested Do…Loop While
B) nested For…Next
Quiz 2
Method _________ returns an array’s highest index.
A) GetUpperBound
B) GetUpperLimit
C) GetHighestIndex
D) GeUpperSubscript
A) GetUpperBound
Quiz 2
An array length is ___________.
A) one more than the array’s last index
B) one less than the arry’s last index
C) the same as the arry’s ndex
D) returned by method DetUpperBound
A) one more than the array’s last index