Exam 5: Decision Structures
Exam 1: Introduction to Visual Basic 2017 Programming103 Questions
Exam 2: Program and Graphical User Interface Design103 Questions
Exam 3: Program Design and Coding103 Questions
Exam 4: Variables and Arithmetic Operations103 Questions
Exam 5: Decision Structures103 Questions
Exam 6: Loop Structures103 Questions
Exam 7: Using Procedures and Exception Handling103 Questions
Exam 8: Using Arrays and File Handling103 Questions
Exam 9: Creating Web Applications103 Questions
Exam 10: Incorporating Databases With Adonet103 Questions
Exam 11: Multiple Classes and Inheritance103 Questions
Select questions type
When RadioButton objects are contained in a group box, the user can select only one of the radio buttons on the panel.
(True/False)
4.9/5
(34)
Since the first days of computers, the phrase "____________________" has described the fact that allowing incorrect input data into a program produces incorrect output.
(Short Answer)
4.8/5
(32)
When a condition is tested in a Visual Basic program, this is a possible outcome: ____.
(Multiple Choice)
4.9/5
(33)
Usually, during design time, you should set the Checked property for the most commonly selected RadioButton object to True to save the user from having to select the most common choice.
(True/False)
4.8/5
(32)
When relational operators are used in a Case statement within a Select Case structure, the keyword ____ must be used with the relational operator.
(Multiple Choice)
4.8/5
(28)
It is important to ____ the line in the code editing window in the exact location where you want to insert a code snippet to produce the shortcut menu with the Insert Snippet command.
(Multiple Choice)
4.9/5
(42)
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.7/5
(40)
Within an event handler, an If...Then...Else statement is considered a block of code.
(True/False)
4.8/5
(35)
In an If...Then statement, the ____ symbol is used to test for inequality.
(Multiple Choice)
4.8/5
(35)
The logical operator ____ reverses the logical value of a condition.
(Multiple Choice)
4.8/5
(44)
____ is the default setting for a message box that displays only an OK button.
(Multiple Choice)
4.8/5
(35)
In a Select Case statement, the keyword Is must be used when testing with relational operators.
(True/False)
5.0/5
(42)
A condition can be true and false at the same time. _________________________
(True/False)
4.9/5
(33)
With the logical operator ____________________, as soon as a condition is found to be incorrect, no further conditions are tested and the compound condition is incorrect.
(Short Answer)
4.8/5
(33)
The default setting for the MsgBoxStyle argument of a message box will display only a(n) ____________________ button in the message box.
(Short Answer)
4.8/5
(32)
An If...Then statement can be used to compare an arithmetic expression to a(n) ____.
(Multiple Choice)
5.0/5
(40)
. ____________________ is the MsgBoxButtons argument that, after an error occurs, allows the user to choose Retry or Cancel.
(Short Answer)
4.8/5
(39)
An expression using the logical operator ____ evaluates to true when only one but not both of the two compound conditions are true.
(Multiple Choice)
4.8/5
(35)
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.
(Multiple Choice)
4.8/5
(35)
Showing 21 - 40 of 103
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)