Exam 4: The Selection Structure
Exam 1: An Introduction to Visual Basic 201259 Questions
Exam 2: Designing Applications57 Questions
Exam 3: Using Variables and Constants58 Questions
Exam 4: The Selection Structure57 Questions
Exam 5: More on the Selection Structure56 Questions
Exam 6: The Repetition Structure59 Questions
Exam 7: Sub and Function Procedures56 Questions
Exam 8: String Manipulation57 Questions
Exam 9: Arrays57 Questions
Exam 10: Structures and Sequential Access Files58 Questions
Exam 11: Classes and Objects58 Questions
Exam 12: Web Applications55 Questions
Exam 13: Working With Access Databases and Linq57 Questions
Exam 14: Access Databases and SQL58 Questions
Select questions type
Write a statement that changes the contents of the txtStatus control's text property to uppercase and stores it in the strStatus variable.
(Essay)
4.8/5
(26)
Write a statement that creates a message box that displays an OK button,an Information icon,"Harris Pharmacy" in the title bar,and the message "Please enter a pickup time for your order".
(Essay)
4.8/5
(45)
If dblMiles >= 500 Then dblMiles = dblMiles * 0.45
Else
DblMiles = dblMiles * 0.25
End If
The dblMiles variable contains the number 575 before the code above is processed.What value will be in the variable after the code is processed?
(Multiple Choice)
4.8/5
(42)
The ____ method displays a message box that contains text,one or more buttons,and an icon.
(Multiple Choice)
4.9/5
(36)
Use the ____ flowchart symbol to represent the condition in both the selection and repetition structures.
(Multiple Choice)
5.0/5
(42)
You use the ____ method to select all of the text contained in a text box.
(Multiple Choice)
4.9/5
(46)
What is the value of the following expression: 9 * 2 - 8 > 5 + 2 / 2?
(Multiple Choice)
4.9/5
(31)
You can use a(n)____ to visually separate related controls from other controls on the form.
(Multiple Choice)
4.7/5
(32)
In the MessageBox.Show(text,caption,buttons,icon[,defaultButton])method,which of the following arguments controls the words appearing on the message box title bar?
(Multiple Choice)
4.9/5
(28)
What is a selection structure? What is the difference between a single-alternative and dual-alternative selection structure?
(Essay)
4.9/5
(33)
The ____ operator is evaluated last in the following expression: 9 * 2 - 8 > 5 + 2 / 2.
(Multiple Choice)
5.0/5
(40)
In the MessageBox.Show(text,caption,buttons,icon[,defaultButton])method,which of the following arguments controls the symbol appearing in the message box?
(Multiple Choice)
4.9/5
(34)
In the MessageBox.Show(text,caption,buttons,icon[,defaultButton])method,which of the following arguments controls the words appearing in the message box?
(Multiple Choice)
4.9/5
(34)
A text box's ____ event occurs when the text box receives the focus.
(Multiple Choice)
4.8/5
(39)
You can include an identifying label on a group box by setting the group box's Identity property.
(True/False)
4.7/5
(35)
Write an If...Then...Else statement that assigns the number 2000 to the intBonus variable when the decSales variable contains a number that is greater than or equal to $50,000;otherwise,assign the number 500.
(Essay)
4.9/5
(33)
Comparison operators are always evaluated after arithmetic operators in a conditional expression.
(True/False)
4.8/5
(28)
With the KeyPress event,use the e parameter's ____ property to cancel the key if it is an inappropriate one.
(Multiple Choice)
4.9/5
(37)
Showing 21 - 40 of 57
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)