Deck 5: Mobile Applications Using Decision Structures
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/107
Play
Full screen (f)
Deck 5: Mobile Applications Using Decision Structures
1

A) alert
B) dialog
C) pop-up
D) warning
B
2
An If...Then statement can be used to compare two strings .
True
3

A) CheckBox
B) RadioButton
C) TextBox
D) CheckList
B
4

A) MessageBoxButtons.OKOnly
B) MessageBoxButtons.OKCancel
C) MessageBoxButtons.YesNo
D) MessageBoxButtons.YesNoCancel
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
5
If an actual Pocket PC device is not available, Visual Studio 2008 provides a(n) ____ that can be used to test an application designed for a Pocket PC.
A) emulator
B) smart device
C) smart phone
D) virtual device
A) emulator
B) smart device
C) smart phone
D) virtual device
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
6
The Panel, GroupBox, and TabControl objects are examples of ____ objects.
A) compound
B) container
C) complex
D) group
A) compound
B) container
C) complex
D) group
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
7
When a RadioButton object is selected by the user, the ____ property changes from False to True.
A) Selected
B) Value
C) Checked
D) Input
A) Selected
B) Value
C) Checked
D) Input
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
8
A condition can be true and false at the same time.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
9
The ____ industry is the largest user of PDAs.
A) health care
B) computer support
C) networking
D) manufacturing
A) health care
B) computer support
C) networking
D) manufacturing
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
10
The plus sign is the preferred operator for concatenation.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
11
____ objects are types of objects that are used to group other objects on a form.
A) Container
B) Grouping
C) Layout
D) Cluster
A) Container
B) Grouping
C) Layout
D) Cluster
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
12
The Panel and the ____ objects are the two container objects that can be used in a Pocket PC application.
A) GroupBox
B) TabControl
C) FlowLayout
D) TableLayout
A) GroupBox
B) TabControl
C) FlowLayout
D) TableLayout
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
13
A(n) ____ is a pointing device used to press onto a displayed keyboard of a PDA.
A) stylus
B) pointer
C) mouse
D) icon
A) stylus
B) pointer
C) mouse
D) icon
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
14
Smaller handheld computers are sometimes referred to as ____ devices.
A) persuasive
B) permeated
C) perused
D) pervasive
A) persuasive
B) permeated
C) perused
D) pervasive
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
15
Visual Studio can be used to create mobile applications for more than ____ different devices from multiple vendors
A) 25
B) 100
C) 200
D) 450
A) 25
B) 100
C) 200
D) 450
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
16
In string comparison, a number is more than an uppercase letter.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
17
A RadioButton's Selected property will indicate if the radio button has been selected by the user.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
18

A) Display
B) Show
C) View
D) Visible
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
19
To create an application for a Pocket PC device, you must select the ____ project type when creating the project in Visual Studio.
A) console
B) Office
C) Smart Device
D) Windows
A) console
B) Office
C) Smart Device
D) Windows
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
20
The ____ property of a RadioButton object indicates whether it has been selected.
A) Value
B) Selected
C) Enabled
D) Checked
A) Value
B) Selected
C) Enabled
D) Checked
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
21
In an expression using the logical operator ____, as soon as one of the compound conditions is found to be true, no further conditions are tested and the expression evaluates to true.
A) Nor
B) AndAlso
C) OrElse
D) Xor
A) Nor
B) AndAlso
C) OrElse
D) Xor
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
22
When more than one condition is included in an If...Then...Else statement, the conditions are called ____ conditions.
A) continuous
B) compound
C) contiguous
D) grouped
A) continuous
B) compound
C) contiguous
D) grouped
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
23
In a Select Case structure, the ____ statement includes all conditions not specifically tested for in the other Case statements.
A) Case Other
B) Else
C) Case Else
D) All Else
A) Case Other
B) Else
C) Case Else
D) All Else
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
24
In an If...Then statement, the ____ symbol is used to test for inequality.
A) ><
B) !=
C) = =
D)
A) ><
B) !=
C) = =
D)
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
25
Use the ____ statement to execute one set of instructions if the condition is true, and another set of instructions if the condition is false.
A) Do…While
B) If…Then
C) If...Then...Else
D) Not…If
A) Do…While
B) If…Then
C) If...Then...Else
D) Not…If
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
26
The ____ of a variable means where a variable can be referenced within a program.
A) range
B) life
C) versatility
D) scope
A) range
B) life
C) versatility
D) scope
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
27
The logical operator ____ reverses the logical value of a condition.
A) And
B) Or
C) Not
D) Nor
A) And
B) Or
C) Not
D) Nor
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
28
A statement that tests a value is called a ____ statement.
A) conditional
B) scope
C) logical
D) range
A) conditional
B) scope
C) logical
D) range
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
29
When relational operators are used in a Case statement within a Select Case structure, the keyword ____ must be used with the relational operator.
A) Is
B) From
C) Cont
D) To
A) Is
B) From
C) Cont
D) To
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
30
An expression using the logical operator ____ evaluates to true when only one but not both of the two compound conditions are true.
A) Nor
B) OrElse
C) AndAlso
D) Xor
A) Nor
B) OrElse
C) AndAlso
D) Xor
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
31
In an expression using the logical operator ____, as soon as one of the compound conditions is found to be false, no further conditions are tested and the expression evaluates to false.
A) Nor
B) AndAlso
C) OrElse
D) Xor
A) Nor
B) AndAlso
C) OrElse
D) Xor
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
32
To use multiple conditions in a single If...Then...Else statement, ____ conditions are required.
A) range
B) compound
C) indexed
D) logical
A) range
B) compound
C) indexed
D) logical
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
33
Every If statement block must be terminated by the ____ keyword.
A) End If
B) If End
C) End
D) Not If
A) End If
B) If End
C) End
D) Not If
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
34
An expression using the logical operator ____ will evaluate to true when either of the compound conditions is true.
A) And
B) Or
C) Not
D) Nor
A) And
B) Or
C) Not
D) Nor
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
35
An expression using the logical operator ____ will evaluate to true only when both of the conditions are true.
A) And
B) Or
C) Not
D) Nor
A) And
B) Or
C) Not
D) Nor
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
36
The logical operator ____ has the highest priority and is evaluated first.
A) Or
B) Xor
C) Not
D) And
A) Or
B) Xor
C) Not
D) And
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
37
To create a compound condition in an If statement, a(n) ____ operator is required.
A) compound
B) logical
C) arithmetic
D) logical
A) compound
B) logical
C) arithmetic
D) logical
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
38
A(n) ____ structure is used to deal with different conditions that occur based on values entered into an application.
A) compound
B) logical
C) decision
D) baseline
A) compound
B) logical
C) decision
D) baseline
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
39
To end a Select Case structure, a(n) ____ statement is used.
A) End Select
B) End Case
C) Select End
D) Select Close
A) End Select
B) End Case
C) Select End
D) Select Close
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
40
The ampersand (&) symbol is the operator used to ____ two strings together.
A) link
B) display
C) embed
D) concatenate
A) link
B) display
C) embed
D) concatenate
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
41
In an If...Then statement, the If keyword should appear on the first line with the conditional expression, and the Then keyword should appear on the second line.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
42
When using an If...Then...ElseIf structure, when a condition is found to be true, the rest of the ElseIf statements are skipped.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
43
Visual Basic cannot be used to develop programs for devices other than personal computers.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
44
The Panel and the GroupBox are two container objects that can be used in a Pocket PC application.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
45
The ____ function is used to determine if an input value can be converted into a numeric value.
A) IsNumeric
B) IsNumber
C) IsInteger
D) IsQuantity
A) IsNumeric
B) IsNumber
C) IsInteger
D) IsQuantity
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
46
In an If...Then...Else statement, if the condition is false, the statements between the Else and End If keywords will be executed.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
47
Visual Basic automatically validates data as the user enters it.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
48
A conditional expression can be used only to test if one value is equal to another value.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
49
The IsNumeric function will return a(n) ____ type value.
A) Boolean
B) Decimal
C) Double
D) Integer
A) Boolean
B) Decimal
C) Double
D) Integer
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
50
Panel objects may have captions and scroll bars.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
51
Visual Basic contains a code library of about ____ pieces of code called code snippets
A) 125
B) 250
C) 500
D) 750
A) 125
B) 250
C) 500
D) 750
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
52
String concatenation can be used to incorporate the user's data into a message shown in a message box.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
53
To develop an application for a Pocket PC device, you should select the Smart Device application template when creating the project in Visual Basic.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
54


Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
55
In a Pocket PC application, the ____ provides an on-screen keyboard for data entry.
A) fold-out keyboard
B) input text box
C) input panel
D) button object
A) fold-out keyboard
B) input text box
C) input panel
D) button object
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
56
To specify a continuous range of values to be tested in a Case statement within a Select Case structure, the word ____ must be used.
A) From
B) Range
C) To
D) Cont
A) From
B) Range
C) To
D) Cont
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
57
When comparing two data values in Visual Basic, both values must be the same data type.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
58
Multiple radio buttons can be selected if the selected radio buttons are each in different container objects.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
59
A TextBox object can be cleared using the Clear procedure in a Pocket PC application.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
60
When RadioButton objects are contained in a panel, the user can select only one of the radio buttons on the panel.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
61
The ____________________ procedure found in the MessageBox class is used to display a message box.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
62
If the condition tested in an If statement evaluates to ____________________, the statement(s) between the If and the End If keywords will be executed.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
63
When closing the Pocket PC emulator, it is important to save the emulator state to ensure the proper functioning of the code when run again after changes have been made.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
64
An End Case statement is used to terminate a Select Case structure.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
65
The value of a RadioButton object can be determined by using an If statement.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
66
The ____________________ object generates tabbed pages that can be used to group other objects.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
67
In a Select Case statement, the keyword Is must be used when testing with relational operators.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
68
When using an If...Then...Else statement, if the condition evaluates to false, the statement(s) between the _______________ keyword and the End If keyword will be executed.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
69
The ____________________ keyword terminates the If...Then block of code.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
70
The default setting for the MessageBoxButtons argument of a message box will display only a(n) ____________________ button in the message box.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
71

Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
72
In Unicode, numbers are considered to be ____________________ than uppercase or lowercase letters.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
73
In an If...Then statement, the code between the If and the End If keywords is considered a block of code.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
74
A variable defined between the Then keyword and the Else keyword in an If...Then...Else structure can be referenced from within the Else section of the structure.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
75
A Case statement in a Select Case structure can test for a range of values.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
76
To create an application for a mobile device, you must develop the project as a(n) ____________________ application for a Pocket PC.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
77
A Case Else statement is required in a Select Case structure.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
78
Only one condition can be tested in an If statement.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
79
The Panel object and the ____________________ object are the two container objects available in Pocket PC applications.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck
80
Variables declared within a block of code can only be referenced within that block.
Unlock Deck
Unlock for access to all 107 flashcards in this deck.
Unlock Deck
k this deck