Exam 5: Decision Structures
Exam 1: Introduction to Visual Basic 2015 Programming111 Questions
Exam 2: Program and Graphical User Interface Design112 Questions
Exam 3: Program Design and Coding110 Questions
Exam 4: Variables and Arithmetic Operations111 Questions
Exam 5: Decision Structures111 Questions
Exam 6: Loop Structures112 Questions
Exam 7: Using Procedures and Exception Handling112 Questions
Exam 8: Using Arrays and File Handling110 Questions
Exam 9: Creating Web Applications111 Questions
Exam 10: Incorporating Databases With Adonet111 Questions
Exam 11: Multiple Classes and Inheritance112 Questions
Exam 12: Windows Store Apps111 Questions
Select questions type
A ____ object forces the user to select only one option from a group of options.
(Multiple Choice)
4.8/5
(30)
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.
(Multiple Choice)
4.7/5
(41)
Identify the letter of the choice that best matches the phrase or definition.
a.GroupBox
b.EndIf
c.relational
d.Select Case
e.RadioButton
f.icons
g.Is
h.IsNumeric
i.If...Then...ElseIf
j.conditional
REFERENCES:
319
276
276
287
291
292
299
301
311
314
-Kind of object that associates items as a group,allowing the user to select one item from the group
(Essay)
4.7/5
(29)
-The ____________________ function can be used to determine if an input value can be converted to a numeric value.

(Essay)
4.8/5
(25)
Case 5-1
You have written the code below and you want to step through it with some actual values to make sure that it is working in practice the way you expect it to work.
If decGPA > 3.5 Then
If intSatScore > 1000 Then
lblAdmissionsStatus.Text = "You have earned admission"
Else
lblAdmissionsStatus.Text = "Retake the SAT exam"
EndIf
Else
If intSatScore > 1200 Then
lblAdmissionsStatus.Text = "You have earned probationary admission"
Else
lblAdmissionStatus.Text = "You have been denied admission"
End If
End If
-Assuming that an applicant has a GPA of 3.55,what is the value of lblAdmissionsStatus.Text if the applicant's SAT score is 1000?
(Multiple Choice)
4.8/5
(25)
The ampersand (&)symbol is the operator used to ____ two strings together.
(Multiple Choice)
5.0/5
(39)
Identify the letter of the choice that best matches the phrase or definition.
a.GroupBox
b.EndIf
c.relational
d.Select Case
e.RadioButton
f.icons
g.Is
h.IsNumeric
i.If...Then...ElseIf
j.conditional
REFERENCES:
319
276
276
287
291
292
299
301
311
314
-Keyword automatically added by Visual Studio to a Select Case statement that uses relational operators
(Essay)
4.7/5
(36)
Case 5-1
You have written the code below and you want to step through it with some actual values to make sure that it is working in practice the way you expect it to work.
If decGPA > 3.5 Then
If intSatScore > 1000 Then
lblAdmissionsStatus.Text = "You have earned admission"
Else
lblAdmissionsStatus.Text = "Retake the SAT exam"
EndIf
Else
If intSatScore > 1200 Then
lblAdmissionsStatus.Text = "You have earned probationary admission"
Else
lblAdmissionStatus.Text = "You have been denied admission"
End If
End If
-Assuming that an applicant has a GPA of 3.5,what is the value of lblAdmissionsStatus.Text if the applicant's SAT score is 1200?
(Multiple Choice)
4.7/5
(34)
When a condition is tested in a Visual Basic program,this is a possible outcome: ____.
(Multiple Choice)
4.8/5
(36)
When using multiple ____ operators in an If statement,the order of precedence of the operators should be established through the use of parentheses.
(Multiple Choice)
4.8/5
(34)
____________________ is the MsgBoxButtons argument that displays the Yes and No buttons.
(Essay)
4.9/5
(37)
After the Not operator,the ____ logical operator has the next precedence.
(Multiple Choice)
4.9/5
(35)
The default setting for the MsgBoxStyle argument of a message box will display only a(n)____________________ button in the message box.
(Essay)
4.8/5
(27)
What are the steps for automatically indenting code in an If…Then statement?
(Essay)
4.9/5
(35)
In a Select Case statement,the keyword Is must be used when testing with relational operators.
(True/False)
4.7/5
(37)
The plus sign is the preferred operator for concatenation._________________________
(True/False)
4.9/5
(30)
In a Select Case structure,each ____________________ statement specifies a value for which the test expression is checked.
(Essay)
4.8/5
(31)
When the object indicated by a RadioButton is selected by the user,the ____ property changes from False to True.
(Multiple Choice)
4.8/5
(33)
Identify the letter of the choice that best matches the phrase or definition.
a.GroupBox
b.EndIf
c.relational
d.Select Case
e.RadioButton
f.icons
g.Is
h.IsNumeric
i.If...Then...ElseIf
j.conditional
REFERENCES:
319
276
276
287
291
292
299
301
311
314
-When this kind of object is contained in a group box,the user can select only one of these objects
(Essay)
4.9/5
(35)
Showing 41 - 60 of 111
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)