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
Consider the expression 3 * 2 ^ 2 < 16 + 5 AndAlso 100 / 10 * 2 > 15 - 3.Which operation is performed first?
Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
A
The button selected by the clerk will determine the next task performed by the computer.The application is using the ____ of the MessageBox.Show method.
Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
B
If the intQuantity and decPrice variables contain the numbers 3 and 15.75,respectively,the condition If intQuantity > 0 AndAlso intQuantity < 10 OrElse decPrice > 20 will evaluate to ____.
Free
(Multiple Choice)
4.8/5
(42)
Correct Answer:
A
Write an If...Then...Else statement that displays the string "Balance Due" in the lblMessage control when the decBalance variable contains a number that is greater than 0;otherwise,assign the string "Thank you for your payment."
(Essay)
4.8/5
(26)
A variable that has ____ scope can be used anywhere within the procedure.
(Multiple Choice)
4.8/5
(35)
A programmer must phrase the condition of a selection structure so that it results in either a true or a false answer only.
(True/False)
4.9/5
(45)
The expression 2 * 3 + 1 > 1 * 2 + 3 Or 7 + 2 < 4 + 1 evaluates to False.
(True/False)
5.0/5
(39)
Gino's Subs & Pies wants an application that allows a user to enter a customer's order total and address.When a customer purchases $30 or more of food,Gino's offers free delivery.The delivery fee for all other orders is $10.The calculation should display the total amount the customer owes,including any delivery fee.Draw the flowchart for the solution to this problem.
(Essay)
4.8/5
(33)
The And operator always checks both conditions,while the AndAlso operator does not always evaluate the second condition.
(True/False)
4.8/5
(25)
List the three most commonly used icons for display in a message box.
(Essay)
4.8/5
(34)
The Not operator would make a True statement False,but would not make a False statement True.
(True/False)
4.8/5
(38)
An application needs to calculate a discount for customers who are either preferred customers or senior citizens.Preferred customers have a discount code of "P".Senior citizens have a discount code of "S".The discount code is stored in the strCode variable.Write an If clause to calculate a discount for all preferred members and senior citizens using the strCode variable.
(Essay)
4.8/5
(35)
Write an If statement that allows only numbers and a decimal place to be accepted.
(Essay)
4.8/5
(28)
Consider the expression 3 * 2 ^ 2 < 16 + 5 AndAlso 100 / 10 * 2 > 15 - 3.Which operation is performed last?
(Multiple Choice)
4.9/5
(40)
To prevent a text box from accepting inappropriate characters,you first use the e parameter's ____ property to determine the key that the user pressed.
(Multiple Choice)
4.8/5
(42)
The application needs to display a message box to remind the clerk to ask customers to join the Rental Rewards Program when they check out.This message box should only display if the customer is not currently in the program.Which of the following If clauses would evaluate to True and display the message box for the clerk? 

(Not Answered)
This question doesn't have any answer yet
Write an If clause to determine whether the user pressed the Backspace key.
(Essay)
4.7/5
(30)
If a customer decides to enroll in the Rental Rewards Program,the Member Information Form displays for the clerk to enter the membership data for the customer.Which of the following statements sends the focus to the txtFirstName control and highlights any text within it? 

(Not Answered)
This question doesn't have any answer yet
A control's ____ event occurs each time the user presses a key while the control has the focus.
(Multiple Choice)
4.9/5
(43)
Showing 1 - 20 of 57
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)