Exam 5: More on the Selection Structure
Exam 1: An Introduction to Visual Basic 201560 Questions
Exam 2: Designing Applications60 Questions
Exam 3: Using Variables and Constants60 Questions
Exam 4: The Selection Structure59 Questions
Exam 5: More on the Selection Structure60 Questions
Exam 6: The Repetition Structure60 Questions
Exam 7: Sub and Function Procedures60 Questions
Exam 8: String Manipulation60 Questions
Exam 9: Arrays60 Questions
Exam 10: Structures and Sequential Access Files60 Questions
Exam 11: Classes and Objects60 Questions
Exam 12: Web Applications60 Questions
Exam 13: Working With Access Databases and Linq60 Questions
Exam 14: Access Databases and Sql60 Questions
Select questions type
What is a nested selection structure? How do primary and secondary decisions relate to a nested selection structure?
(Essay)
4.8/5
(34)
In a Case selection structure, you use the ____ keyword when you know only one end of the range.
(Multiple Choice)
4.9/5
(34)
In a nested selection structure, the ____ decision is always made by the inner selection structure.
(Multiple Choice)
4.8/5
(37)
If the intQuantity variable contains the number 20 and the customer is a member, what value will be in the decTotal variable after the code is processed?

(Multiple Choice)
4.9/5
(35)
When the programmer wants to limit the user to one choice during input of mutually exclusive options, the ____ control should be used.
(Multiple Choice)
4.8/5
(35)
In a nested selection structure, the ____ decision is always made by the outer selection structure.
(Multiple Choice)
4.8/5
(39)
The set of step-by-step instructions for accomplishing a task is called a(n) ____.
(Multiple Choice)
4.8/5
(28)
Define the term "algorithm." How is desk-checking used to verify algorithms?
(Essay)
4.9/5
(37)
If the intQuantity variable contains the number 10 and the customer is a member, what value will be in the decTotal variable after the code is processed?

(Multiple Choice)
4.8/5
(35)
An unnecessary selection structure within a nested selection structure will make the program inefficient.
(True/False)
4.9/5
(30)
The default radio button is designated by setting the Checked property to a value of True.
(True/False)
4.8/5
(31)
When a check box is selected, its Checked property contains the ____.
(Multiple Choice)
4.9/5
(27)
In a Case selection structure, the expression Case Is 10 To 5 would be an incorrectly formed case statement.
(True/False)
4.9/5
(34)
BounceIt Gymnasium needs an application to calculate the fee for hosting a party. The fee is based on the number of guests. The fee structure is provided below.
Guests Fee per Guest
1 - 10 $5
11 - 20 $4
More than 20 $2
Write a multiple-alternative selection structure that assigns the appropriate fee to intFee based on the number of guests stored in the intNumGuests variable. Use the Select Case statement.
(Essay)
4.8/5
(37)
Case-Based Critical Thinking Questions Case 1 - Horizon Cleaners
Horizon Cleaners is an organic dry cleaner for clothing. The price for dry cleaning a shirt is $3.00, the price for pants is $3.50, and the price for dresses is $4.00. All clothes can be either washed or dry cleaned. Dry cleaned clothes can be hung or folded, and folded items cost an additional $0.50 per item.
A group of ____ should be used on the interface for the user to select the customer's preference for washing or dry cleaning the clothes.
(Multiple Choice)
4.8/5
(46)
When the programmer wants to allow the user to select any number of choices from a group of one or more independent and nonexclusive choices, the ____ control should be used.
(Multiple Choice)
4.9/5
(34)
Write a multiple-alternative selection structure that displays the name of an instructor based on the class section entered by the user. The class section is stored (as uppercase) in the strSection variable. Display "Edwards" when the class section is A. Display "Hughes" when the class section is B. Display "Meadows" when the class section is C. For all other sections, display "To Be Announced". Display the message in the lblMessage control. Use the Select Case statement.
(Essay)
4.7/5
(38)
Logic errors in selection structures are a result of one of four common mistakes. List the four common logic errors made when writing selection structures.
(Essay)
4.8/5
(21)
In a Case selection structure, you use the ____ keyword when you know both the upper and lower bounds of the range.
(Multiple Choice)
4.8/5
(30)
Showing 41 - 60 of 60
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)