Deck 10: Class Average Application

Full screen (f)
exit full mode
Question
The______ property of a ListBox's Items property is used to access values in the ?ListBox.

A) Value
B) Item
C) List
D) Row
E) None of the above.
Use Space or
up arrow
down arrow
to flip the card.
Question
The do while statement differs from a while statement in that_____ .

A) a do while statement cannot enter an infinite loop
B) a do while statement can use a counter but a while cannot
C) the body of a while statement will execute at least once
D) the body of a do while statement will execute at least once
E) All of the above.
Question
Assume that intCounter is an int variable initialized to 5. Which of the following loop continuation conditions can be used in a do while statement to print the values 5 through 15, inclusive?

A) intCounter > 5
B) intCounter < 15
C) intCounter <= 15
D) intCounter < 16
E) Both c and d.
Question
When a Button is disabled,_____ .

A) its text displays in a gray color
B) it is no longer visible
C) its Enabled property is set to True
D) its Click event is not raised when the Button is clicked
E) Both a and d.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/4
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: Class Average Application
1
The______ property of a ListBox's Items property is used to access values in the ?ListBox.

A) Value
B) Item
C) List
D) Row
E) None of the above.
Item
2
The do while statement differs from a while statement in that_____ .

A) a do while statement cannot enter an infinite loop
B) a do while statement can use a counter but a while cannot
C) the body of a while statement will execute at least once
D) the body of a do while statement will execute at least once
E) All of the above.
the body of a do while statement will execute at least once
3
Assume that intCounter is an int variable initialized to 5. Which of the following loop continuation conditions can be used in a do while statement to print the values 5 through 15, inclusive?

A) intCounter > 5
B) intCounter < 15
C) intCounter <= 15
D) intCounter < 16
E) Both c and d.
E
4
When a Button is disabled,_____ .

A) its text displays in a gray color
B) it is no longer visible
C) its Enabled property is set to True
D) its Click event is not raised when the Button is clicked
E) Both a and d.
Unlock Deck
Unlock for access to all 4 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 4 flashcards in this deck.