Deck 17: Flag Quiz Application

Full screen (f)
exit full mode
Question
An array's______ determines the number of elements in the array.

A) type
B) length
C) height
D) width
E) Both a and b.
Use Space or
up arrow
down arrow
to flip the card.
Question
A Combobox's_________ property, when set to , specifies that the Combobox values cannot be edited by the user and that the Combobox will use a drop-down list to display its values.

A) DropDown, List
B) Style, DropDown
C) DropDownStyle, List
D) DropDownStyle, DropDownList
E) Style, DropDownList
Question
A(n)_____ groups together and organizes related data.

A) procedure
B) data structure
C) class
D) array
E) Both b and d.
Question
The ComboBox's ______property, when set to______ , sorts the items in the ComboBox alphabetically.

A) Sorted, true
B) UnSorted, false
C) Alphabetize, true
D) Sort, true
E) None of the above.
Question
When the Remove method is called on a string,____ .

A) the first argument passed to the method is an index
B) the second argument passed to the method specifies the number of characters to delete
C) the method operates on a copy of the string
D) the method returns a string
E) All of the above.
Question
A(n) ______is an array name followed by an index enclosed in parentheses.

A) container
B) subscript
C) indexed array name
D) position
E) None of the above.
Question
The Sort method, when called_____ , sorts the array alphabetically.

A) from class Sorter
B) on a string array only
C) from class Array
D) from class DataStructure and passed a string array
E) None of the above.
Question
Attempting to access an element in an array by using an index outside the array's bounds______ .

A) is a syntax error
B) is an array-time error
C) is a run-time error
D) returns the data-type's default value
E) returns the value of the last value in the array
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/8
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 17: Flag Quiz Application
1
An array's______ determines the number of elements in the array.

A) type
B) length
C) height
D) width
E) Both a and b.
length
2
A Combobox's_________ property, when set to , specifies that the Combobox values cannot be edited by the user and that the Combobox will use a drop-down list to display its values.

A) DropDown, List
B) Style, DropDown
C) DropDownStyle, List
D) DropDownStyle, DropDownList
E) Style, DropDownList
DropDownStyle, DropDownList
3
A(n)_____ groups together and organizes related data.

A) procedure
B) data structure
C) class
D) array
E) Both b and d.
Both b and d.
4
The ComboBox's ______property, when set to______ , sorts the items in the ComboBox alphabetically.

A) Sorted, true
B) UnSorted, false
C) Alphabetize, true
D) Sort, true
E) None of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
5
When the Remove method is called on a string,____ .

A) the first argument passed to the method is an index
B) the second argument passed to the method specifies the number of characters to delete
C) the method operates on a copy of the string
D) the method returns a string
E) All of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
6
A(n) ______is an array name followed by an index enclosed in parentheses.

A) container
B) subscript
C) indexed array name
D) position
E) None of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
7
The Sort method, when called_____ , sorts the array alphabetically.

A) from class Sorter
B) on a string array only
C) from class Array
D) from class DataStructure and passed a string array
E) None of the above.
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
8
Attempting to access an element in an array by using an index outside the array's bounds______ .

A) is a syntax error
B) is an array-time error
C) is a run-time error
D) returns the data-type's default value
E) returns the value of the last value in the array
Unlock Deck
Unlock for access to all 8 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 8 flashcards in this deck.