Exam 7: Using Procedures and Exception Handling
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
A(n) ____________________ object includes a text box that allows the user to enter text, and a list box that displays a list of items from which the user can select one.
(Short Answer)
4.8/5
(36)
The statement End Procedure is used to signify the end of a Function declaration.
(True/False)
4.9/5
(39)
How is a Function procedure similar to or different from a Sub procedure?
(Essay)
4.7/5
(29)
The keyword(s) ____ is/are used to specify the termination of a Try-Catch block of code.
(Multiple Choice)
4.7/5
(37)
A(n) ____ is a named set of code that performs a given task.
(Multiple Choice)
4.7/5
(36)
The ____ exception type occurs when a value exceeds its assigned data type.
(Multiple Choice)
4.9/5
(39)
In a payroll program, a user could enter the number of hours worked, pay rate, and then select whether he or she are a full-time or part-time employee to submit his or her input. This last selection is an example of using a ComboBox object to handle a(n) ____.
(Multiple Choice)
4.7/5
(41)
If the Private keyword is omitted, the default option is Public.
(True/False)
4.8/5
(40)
The index number of a ComboBox object can be assigned to a(n) ____ data type variable.
(Multiple Choice)
4.9/5
(42)
It is true that multiple Catch blocks can be defined for a single Try block where each Catch block will catch a particular class of exception. When is this useful? Discuss best practices in coding multiple Catch blocks in this instance, and walk through an explanation of how these multiple Catch blocks function in the flow of the program.
(Essay)
4.8/5
(28)
The ____________________ property is used to display a graphic on a splash screen.
(Short Answer)
4.9/5
(40)
When an argument is passed by ____________________, it means that the procedure has access to the value of the passed argument, but it does not actually reference the variable declared in the calling procedure.
(Short Answer)
4.8/5
(37)
To return multiple variables from a Function procedure, arguments passed ____ must be used.
(Multiple Choice)
4.9/5
(43)
If the user selects the first item in a ComboBox, the SelectedIndex property will have the value ____.
(Multiple Choice)
4.8/5
(36)
The ____________________ set of statements detects exceptions and takes corrective action.
(Short Answer)
4.9/5
(36)
To pause a splash screen for a specific time period, you can call the ____ procedure.
(Multiple Choice)
4.9/5
(41)
A Finally statement is required after each Catch block in a Try-Catch structure to execute any necessary cleanup code.
(True/False)
4.9/5
(34)
Passing an argument ____________________ guarantees that the original value of the variable in the calling procedure is not affected.
(Short Answer)
4.9/5
(38)
You must specify a return data type in the procedure declaration to define the type of variable that is being returned to the calling procedure by the Function procedure.
(True/False)
4.7/5
(31)
If an exception occurs in the Try section of a Try-Catch structure and there is no matching Catch block, the program will stop.
(True/False)
4.9/5
(35)
Showing 41 - 60 of 103
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)