Deck 11: Testing, Testing1,2,3 Selecting Test Data

Full screen (f)
exit full mode
Question
You use the e parameter's ____ property to cancel the pressed key if it is an inappropriate one.

A) Handled
C) Opened
B) Unhandled
D) Fixed
Use Space or
up arrow
down arrow
to flip the card.
Question
When the KeyPress event occurs, a character corresponding to the pressed key is sent to the KeyPress event's e parameter, which appears between the square brackets in the event's procedure header.
Question
When the computer processes the Trim method, it makes a temporary copy of the string in memory, and then performs the necessary trimming on the copy only.
Question
Most large and complex applications are beta tested by paid engineers before being sold in the marketplace.
Question
A control's ____ event occurs each time the user presses a key while the control has the focus.

A) KeyUp
C) KeyDown
B) KeyPress
D) KeyStillDown
Question
When entering data in a text box, it is not uncommon for a user to inadvertently include a space character at the end of the entry.
Question
Typically, you should never include the number 0 in test data.
Question
When you are satisfied that an application is functioning correctly, you can release it to the beta engineers.
Question
____ data is data that the program is not expecting the user to enter.

A) Invalid
C) Constructed
B) Valid
D) Inferred
Question
Invalid data typically is the result of the user making a typing error, entering the data in an incorrect format, or neglecting to make a required entry.
Question
The Trim method automatically removes any spaces from the original string.
Question
You create a message box using the ____ method.

A) MessageBox.Text
C) MessageBox.Show
B) MessageBox.Display
D) MessageBox.PopUp
Question
You refer to the Backspace key on your computer keyboard using the ControlChars.Back constant.
Question
____ are encouraged to use the application as often as possible, because some bugs surface only after months of use.

A) Beta testers
C) Beta users
B) Primary users
D) Primary testers
Question
____ data is data that the program is expecting the user to enter.

A) Invalid
C) Valid
B) Constructed
D) Inferred
Question
To prevent a text box from accepting an inappropriate character, you first use the e parameter's ____ property to determine the pressed key.

A) KeyFind
C) Key.Text
B) Key.Char
D) KeyChar
Question
The last step in the problem-solving process is to rigorously test the program before releasing it to the user.
Question
The Delspace key is necessary for editing the text box entry.
Question
Whenever you make a change to an application's code, you should retest the application using the test data listed in the testing chart.
Question
No matter how thoroughly you test an application, chances are it still will contain some errors, called ____.

A) mosquitoes
C) hoppers
B) bugs
D) problems
Question
The syntax of the trim method is ____.

A) string trim
C) Trim.string
B) string.Trim
D) trim string
Question
You can use the txtType control's ____ event to prevent the text box from accepting the space character.

A) Key
C) KeyPress
B) Pressed
D) StillPressed
Question
You can use the ____ method to remove any spaces that appear before and after the data that in the variable.

A) Trim
C) Right
B) Left
D) RmPad
Question
In the method call string.Trim, string typically is either the Text property of a control or ____.

A) any variable of a character-based type
C) the name of your program
B) the literal string
D) the name of a String variable
Question
When a beta tester finds a bug in the application, she submits a(n) ____ to the programmer.

A) update request
C) error log
B) problem report
D) bug report
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/25
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Testing, Testing1,2,3 Selecting Test Data
1
You use the e parameter's ____ property to cancel the pressed key if it is an inappropriate one.

A) Handled
C) Opened
B) Unhandled
D) Fixed
A
2
When the KeyPress event occurs, a character corresponding to the pressed key is sent to the KeyPress event's e parameter, which appears between the square brackets in the event's procedure header.
False
3
When the computer processes the Trim method, it makes a temporary copy of the string in memory, and then performs the necessary trimming on the copy only.
True
4
Most large and complex applications are beta tested by paid engineers before being sold in the marketplace.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
5
A control's ____ event occurs each time the user presses a key while the control has the focus.

A) KeyUp
C) KeyDown
B) KeyPress
D) KeyStillDown
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
6
When entering data in a text box, it is not uncommon for a user to inadvertently include a space character at the end of the entry.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
7
Typically, you should never include the number 0 in test data.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
8
When you are satisfied that an application is functioning correctly, you can release it to the beta engineers.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
9
____ data is data that the program is not expecting the user to enter.

A) Invalid
C) Constructed
B) Valid
D) Inferred
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
10
Invalid data typically is the result of the user making a typing error, entering the data in an incorrect format, or neglecting to make a required entry.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
11
The Trim method automatically removes any spaces from the original string.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
12
You create a message box using the ____ method.

A) MessageBox.Text
C) MessageBox.Show
B) MessageBox.Display
D) MessageBox.PopUp
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
13
You refer to the Backspace key on your computer keyboard using the ControlChars.Back constant.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
14
____ are encouraged to use the application as often as possible, because some bugs surface only after months of use.

A) Beta testers
C) Beta users
B) Primary users
D) Primary testers
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
15
____ data is data that the program is expecting the user to enter.

A) Invalid
C) Valid
B) Constructed
D) Inferred
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
16
To prevent a text box from accepting an inappropriate character, you first use the e parameter's ____ property to determine the pressed key.

A) KeyFind
C) Key.Text
B) Key.Char
D) KeyChar
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
17
The last step in the problem-solving process is to rigorously test the program before releasing it to the user.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
18
The Delspace key is necessary for editing the text box entry.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
19
Whenever you make a change to an application's code, you should retest the application using the test data listed in the testing chart.
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
20
No matter how thoroughly you test an application, chances are it still will contain some errors, called ____.

A) mosquitoes
C) hoppers
B) bugs
D) problems
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
21
The syntax of the trim method is ____.

A) string trim
C) Trim.string
B) string.Trim
D) trim string
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
22
You can use the txtType control's ____ event to prevent the text box from accepting the space character.

A) Key
C) KeyPress
B) Pressed
D) StillPressed
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
23
You can use the ____ method to remove any spaces that appear before and after the data that in the variable.

A) Trim
C) Right
B) Left
D) RmPad
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
24
In the method call string.Trim, string typically is either the Text property of a control or ____.

A) any variable of a character-based type
C) the name of your program
B) the literal string
D) the name of a String variable
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
25
When a beta tester finds a bug in the application, she submits a(n) ____ to the programmer.

A) update request
C) error log
B) problem report
D) bug report
Unlock Deck
Unlock for access to all 25 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 25 flashcards in this deck.