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
In a Try-Catch structure, the ____________________ keyword indicates the start of code that could cause an exception to occur.
Free
(Short Answer)
4.8/5
(39)
Correct Answer:
Try
Identify the letter of the choice that best matches the phrase or definition
Correct Answer:
Premises:
Responses:
Free
(Matching)
4.8/5
(36)
Correct Answer:
The ____ exception type occurs when a variable with no value is passed to a procedure.
Free
(Multiple Choice)
4.7/5
(31)
Correct Answer:
B
Sub procedures are automatically executed when events such as the user clicking a button occur.
(True/False)
4.9/5
(33)
When an argument is passed ____, it means the Sub procedure has access to the value of the passed argument, but does not actually reference the variable declared in the calling procedure.
(Multiple Choice)
4.9/5
(35)
Your colleague has not used Visual Basic in a while and so when he encounters a decision point, he sometimes calls out to you over the cubicle wall to get answers to his questions. After a few minutes, he calls back out. This time, he wants to know how to pass a reference to a value instead of passing the value itself. You suggest which of the following to him?
(Multiple Choice)
4.9/5
(36)
Tap or click the list arrow on the left side of a ComboBox object to view the contents. _________________________
(True/False)
4.8/5
(47)
A Sub procedure is called with a statement consisting of ____.
(Multiple Choice)
4.9/5
(39)
The ____________________ exception type occurs when a value exceeds the size limit of its assigned data type.
(Short Answer)
4.9/5
(35)
If the third item in a ComboBox list is selected by the user, the SelectedIndex property of the ComboBox will have the value ____.
(Multiple Choice)
4.9/5
(34)
If the code in the Try section of a Try-Catch structure generates an error, the program will not be terminated when the exception occurs.
(True/False)
4.8/5
(30)
A dollar sign ($) as the first character in a variable means it is a class variable that can be referenced in any procedure within the class.
(True/False)
4.8/5
(29)
A ComboBox object consists of three parts. _________________________
(True/False)
4.9/5
(47)
The Project Designer provides a central location for managing ____.
(Multiple Choice)
4.8/5
(33)
The ____ structure can be used to detect exceptions and take corrective action.
(Multiple Choice)
4.8/5
(32)
Your colleague has not used Visual Basic in a while and so when he encounters a decision point, he sometimes calls out to you over the cubicle wall to get answers to his questions. He wants help remembering which method of passing an argument will give the Sub procedure access to the value of the passed argument without actually referencing the variable declared in the calling procedure. Which of the following do you suggest to him?
(Multiple Choice)
4.7/5
(47)
A variable declared as Private at the ____ level can be accessed by procedures and events within the class but not by any code outside of the class.
(Multiple Choice)
4.8/5
(40)
The ____________________ exception type occurs when a variable is converted to another type that is not possible.
(Short Answer)
4.8/5
(41)
When you pass a variable as an argument that was declared with the ByVal keyword in a procedure, that procedure cannot change the original value of the variable.
(True/False)
5.0/5
(33)
Showing 1 - 20 of 103
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)