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
Question
When used in a computer program, the selection structure alerts the computer that a decision needs to be made, and it provides the appropriate action to take based on the result of that decision.Answer
This answer is hidden. It contains 1 characters.
Related questions
Q:
The loop condition is represented by a parallelogram in a flowchart.
Q:
Updating refers to the process of either adding a number to or subtracting a number from a counter's value.
Q:
A condition can contain variables, constants, properties, methods, or operators.
Q:
All computer programs are written using one or more of three control structures: sequence, selection, or repetition.
Q:
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 b.
the literal string c.
the name of your program d.
the name of a String variable
Q:
You can use the txtType control's ____ event to prevent the text box from accepting the space character.
a. Key
b. Pressed
c. KeyPress
d. StillPressed
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:
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 expecting the user to enter. a.
Invalid b.
Constructed c.
Valid d.
Inferred
Q:
Most large and complex applications are beta tested by paid engineers before being sold in the marketplace.
Q:
Typically, you should never include the number 0 in test data.
Q:
The Select Case statement begins with the keywords Select Case, followed by a(n) ____. a.
listExpression b.
expressionSelector c.
expressionList d.
selectorExpression
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:
At times, you may need to create a selection structure that can choose from several alternatives.
Q:
Logical operators are always evaluated before any comparison operators in an expression.
Q:
Nested selection structures are often used when coding applications whose interface contains radio buttons.
Q:
A variable declared within a statement block is called a ____. a.
block-level variable b.
restricted variable c.
contained variable d.
simple variable
Q:
A variable that has ____ scope can be used anywhere within the procedure. a.
global b.
procedure c.
internal d.
block
Q:
The set of statements contained in the true path, as well as the set of statements contained in the false path, is referred to as a(n) ____. a.
statement block b.
conditional block c.
executable code block d.
path block
Q:
Unlike variables declared at the beginning of a procedure, variables declared within a statement block have block scope rather than procedure scope.
Q:
Program bugs are typically categorized as syntax errors, logic errors, or ____ errors.
a. debug
b. run time
c. compiler
d. program
Q:
When debugging, while the execution of a procedure's code is paused, you can view the contents of controls and variables that appear in the highlighted statement, as well as in the statements above it in the procedure.
Q:
A ____ is a memory location whose value cannot change while the application is running. a.
named constant b.
variable c.
predefined variable d.
touched variable
Q:
When a named constant's value needs to be changed, the programmer must change its value in its declaration statement.
Q:
The TryParse method parses the text, which means it looks at each character in the text, to determine whether the text can be converted to a number of the specified data type.
Q:
Every numeric data type in Visual Basic has a TryText method that can be used to convert text to that numeric data type.
Q:
It is customary to enter the variable declaration statements at the end of the procedure.
Q:
Because control names typically are more concise than variable names, using control names in an expression makes the expression much shorter and easier to understand.
Q:
A(n) ____ is used to assign a value to something (such as the property of a control) while an application is running.
a. assignment statement
b. loop statement
c. selection statement
d. decision statement
Q:
After dividing the numbers, the ____ operator returns the remainder of the division. a.
division b.
modulus c.
remainder d.
integer division