Accounting
Anthropology
Archaeology
Art History
Banking
Biology & Life Science
Business
Business Communication
Business Development
Business Ethics
Business Law
Chemistry
Communication
Computer Science
Counseling
Criminal Law
Curriculum & Instruction
Design
Earth Science
Economic
Education
Engineering
Finance
History & Theory
Humanities
Human Resource
International Business
Investments & Securities
Journalism
Law
Management
Marketing
Medicine
Medicine & Health Science
Nursing
Philosophy
Physic
Psychology
Real Estate
Science
Social Science
Sociology
Special Education
Speech
Visual Arts
Programming Language
Q:
Setting a text box control's ____ property to 1 limits the text box entry to one character only. a.
Length b.
Max c.
MaxLength d.
Entry
Q:
When a beta tester finds a bug in the application, she submits a(n) ____ to the programmer. a.
update request b.
problem report c.
error log d.
bug report
Q:
____ are encouraged to use the application as often as possible, because some bugs surface only after months of use. a.
Beta testers b.
Primary users c.
Beta users d.
Primary testers
Q:
No matter how thoroughly you test an application, chances are it still will contain some errors, called ____. a.
mosquitoes b.
bugs c.
hoppers d.
problems
Q:
You create a message box using the ____ method. a.
MessageBox.Text b.
MessageBox.Display c.
MessageBox.Show d.
MessageBox.PopUp
Q:
You use the e parameter's ____ property to cancel the pressed key if it is an inappropriate one. a.
Handled b.
Unhandled c.
Opened d.
Fixed
Q:
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 b.
Key.Char c.
Key.Text d.
KeyChar
Q:
A control's ____ event occurs each time the user presses a key while the control has the focus. a.
KeyUp b.
KeyPress c.
KeyDown d.
KeyStillDown
Q:
Use a ____ to record an application's test data and the expected results. a.
script b.
test data chart c.
test data plan d.
flowchart
Q:
____ data is data that the program is not expecting the user to enter. a.
Invalid b.
Valid c.
Constructed d.
Inferred
Q:
____ data is data that the program is expecting the user to enter. a.
Invalid b.
Constructed c.
Valid d.
Inferred
Q:
The Trim method automatically removes any spaces from the original string.
Q:
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.
Q:
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.
Q:
Most large and complex applications are beta tested by paid engineers before being sold in the marketplace.
Q:
When you are satisfied that an application is functioning correctly, you can release it to the beta engineers.
Q:
Programmers can use a special dialog box, called a dialog box, to display messages to the user.
Q:
Whenever you make a change to an application's code, you should retest the application using the test data listed in the test data chart.
Q:
The Delspace key is necessary for editing the text box entry.
Q:
You refer to the Backspace key on your computer keyboard using the ControlChars.Back constant.
Q:
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.
Q:
If the application's code contains a selection structure, use values that will test each path.
Q:
Typically, you should never include the number 0 in test data.
Q:
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.
Q:
A program should be tested with a set of sample data that includes both valid and invalid data.
Q:
The last step in the problem-solving process is to rigorously test the program before releasing it to the user.
Q:
Which of the following Case clauses specifies integers greater than 5? a.
Case Is >= 5 b.
Case Is > 5 c.
Case Is <> 5 d.
Case Is > 5 AndAlso < 15
Q:
You can specify a range of values in a Case clause's ____, such as the values 1 through 8 or values greater than 10. a.
statementList b.
expressionList c.
End Case d.
Case
Q:
A radio button's ____ property contains either the Boolean value True or the Boolean value False. a.
Display b.
Default c.
Selected d.
Checked
Q:
To include more than one expression in an expressionList, you separate each expression with a ____.
a. comma
b. forward slash
c. semicolon
d. period
Q:
The Select Case statement begins with the keywords Select Case, followed by a(n) ____. a.
listExpression b.
expressionSelector c.
expressionList d.
selectorExpression
Q:
The ____ statement can be used to code a multiple-alternative selection structure. a.
Select b.
Select Option c.
Case d.
Select Case
Q:
When a multiple-alternative selection structure has many paths from which to choose, it is oftensimpler and clearer to code the selection structure using the ____ statement rather thanthe If…Then…Else statement.a. Ifb. Select Casec. If/ElseIf/Elsed. Select Option
Q:
You use the ____ method to convert a string to lowercase. a.
strLower b.
ConvToLower c.
ConvLower d.
ToLower
Q:
You use the ____ method to convert a string to uppercase. a.
ConvToUpper b.
strUpper c.
ToUpper d.
ConvUpper
Q:
____ is the universal coding scheme for characters. a.
EBCDIC b.
ANSI c.
ASCII d.
Unicode
Q:
The code to create a String variable is ____. a.
Dim String strCode b.
Dim strCode String c.
Dim strCode As String d.
Dim Codestr As String
Q:
The three-character ID used when naming String variables (and String named constants) is ____. a.
sti b.
str c.
srg d.
stg
Q:
The ZIP code 60137 should be stored as a ____ data type. a.
Integer b.
Double c.
String d.
Text
Q:
The ____ data type can store alphanumeric text, which is text that may contain letters, numbers, or special characters. a.
String b.
Double c.
Integer d.
Text
Q:
Multiple-alternative selection structures or ____ selection structures can choose from several alternatives.
a. complex
b. staged
c. extended
d. control
Q:
You can use the To or Is keywords to specify a range of values in a Select Case statement.
Q:
If the selectorExpression matches a value in more than one Case clause, only the instructions in the first match's Case clause are processed.
Q:
The data type of the expressions in a Select Case statement does not need to be compatible with the data type of the selectorExpression.
Q:
You can have as many Case clauses as necessary in a Select Case statement.
Q:
The Select Case statement ends with the End Select clause.
Q:
The If...Then...Else statement is the only statement you can use to code a multiple-path selection structure in Visual Basic.
Q:
Unicode assigns a unique numeric value to each character used in the written languages of the world.
Q:
Each character on the computer keyboard is stored in the computer's internal memory using a different Unicode value.
Q:
In Visual Basic, the uppercase version of a letter is the same as its lowercase counterpart.
Q:
As is true in most programming languages, string comparisons in Visual Basic are not case sensitive.
Q:
The value stored in the Text property is treated as alphanumeric text.
Q:
Variables declared with the Integer, Decimal, and Double data types can store numbers only.
Q:
Using nested If"¦Then"¦Else statements is a much more convenient way of coding a multiple-alternative selection structure than using the Case statement.
Q:
Another form of the If"¦Then"¦Else statement is called If/ElseIf/Else.
Q:
At times, you may need to create a selection structure that can choose from several alternatives.
Q:
When the computer processes the expression 12 > 0 AndAlso 12 < 10 * 2, it evaluates the ____ operator last. a.
* b.
< c.
> d.
AndAlso
Q:
When the computer processes the expression 12 > 0 AndAlso 12 < 10 * 2, it evaluates the ____ operator first. a.
* b.
< c.
> d.
AndAlso
Q:
If an expression contains logical operators, comparison operators, and arithmetic operators, ____.
a. the comparison operators are evaluated last
b. the arithmetic operators are evaluated last
c. the logical operators are evaluated last
d. the operators are evaluated in order
Q:
If an expression contains logical operators, comparison operators, and arithmetic operators, ____.
a. the comparison operators are evaluated first
b. the arithmetic operators are evaluated first
c. the logical operators are evaluated first
d. the operators are evaluated in order
Q:
The pseudocode "if the hours worked are greater than or equal to 0 but less than or equal to 40" is coded as ____ in Visual Basic.
a. If decHours > 0 AndAlso decHours < 40
b. If decHours => 0 AndAlso decHours =< 40
c. If decHours >= 0 AndAlso decHours <= 40
d. If decHours >= 40 AndAlso decHours <= 0
Q:
With the ____ operator, only one of the conditions needs to be True for the compound condition to be True. a.
AndAlso b.
OrAlso c.
AndElse d.
OrElse
Q:
With the ____ operator, all conditions must be True for the compound condition to be True. a.
AndAlso b.
OrAlso c.
AndElse d.
OrElse
Q:
Expressions containing logical operators always evaluate to a(n) ____ value. a.
Boolean b.
conditional c.
string d.
compound
Q:
Logical operators, sometimes referred to as ____ operators, allow you to combine two or more conditions into one compound condition. a.
truth b.
compound c.
Boolean d.
syntactic
Q:
A ____ is a control that serves simply as a container for other controls. a.
check box b.
radio box c.
group box d.
text box
Q:
____ allow you to limit the user to only one choice from a group of two or more related but mutually exclusive choices. a.
Check boxes b.
Radio buttons c.
Text boxes d.
Labels
Q:
In a nested structure, the instructions in both the true and false paths should be ____ within the outer selection structure. a.
assigned b.
bracketed c.
collected d.
indented
Q:
You use a ____ selection structure when more than one decision must be made before the appropriate action can be taken. a.
shell b.
nested c.
logical d.
split
Q:
A(n) ____ selection structure is contained within the outer selection structure. a.
nested b.
indented c.
coated d.
shell
Q:
When either a selection structure's true path or its false path contains another selection structure, the inner selection structure is referred to as a(n) ____ structure. a.
indented b.
nested c.
nested selection d.
indented selection
Q:
The AndAlso operator has a precedence number of 2.
Q:
Logical operators are always evaluated before any comparison operators in an expression.
Q:
Like expressions containing comparison operators, expressions containing logical operators always evaluate to a Boolean value.
Q:
When using radio buttons, a group box is necessary only if you want to include more than one group on a form.
Q:
If the property contains the Boolean value True, the radio button is not selected.
Q:
The default radio button is the radio button that is automatically selected when an interface first
appears.
Q:
It is not customary in Windows applications to have one of the radio buttons in a group already selected when the interface first appears.
Q:
Radio button are labeled using book title capitalization in the radio button's Text property.
Q:
Nested selection structures are often used when coding applications whose interface contains radio buttons.