Exam 7: Using Procedures and Exception Handling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

  ​ -The ____________________ exception type occurs when a variable is converted to another type that is not possible.​ ​ -The ____________________ exception type occurs when a variable is converted to another type that is not possible.​

(Essay)
4.8/5
(26)

You should select the ByVal option if you intend to change the original value when it is passed to the Sub procedure.​

(True/False)
4.9/5
(39)

A ComboBox object consists of three parts._________________________​

(True/False)
4.9/5
(20)

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.8/5
(32)

The ____ exception type occurs when a variable is converted to another data type that is not possible.​

(Multiple Choice)
4.9/5
(38)

​The Private keyword is required in a Function procedure declaration.

(True/False)
4.8/5
(33)

  ​ -A(n)____________________ procedure is used when data needs to be returned to the calling procedure.​ ​ -A(n)____________________ procedure is used when data needs to be returned to the calling procedure.​

(Essay)
4.9/5
(36)

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
(43)

The ____ keyword is placed before the Sub keyword when creating a Sub procedure to specify that the procedure can be called only by code within the class in which it exists.​

(Multiple Choice)
4.8/5
(35)

To detect exceptions and take corrective action,the ____ structure is used.​

(Multiple Choice)
4.9/5
(28)

When an argument is passed ____,you are passing a reference to the variable that holds the value instead of the value itself.​

(Multiple Choice)
4.7/5
(29)

If a Sub procedure has more than one argument,the variables are passed in the same order in which they appear in the procedure call statement.​

(True/False)
4.8/5
(42)

The Project Designer contains fields to enter ____.​

(Multiple Choice)
4.9/5
(31)

You specify you want to pass a value by reference by entering the keyword ByRef in the Sub procedure declaration.​

(True/False)
4.8/5
(35)

A Finally statement is required after each Catch block in a Try-Catch structure to execute any necessary cleanup code.​

(True/False)
4.8/5
(32)

To execute code in a procedure,a procedure ____ must be made.​

(Multiple Choice)
4.8/5
(26)

When a procedure is called,the call statement can pass a(n)____ to the called procedure.​

(Multiple Choice)
4.8/5
(25)

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.8/5
(39)

The ____ exception type is used to catch all generic exceptions within a Try-Catch structure.​

(Multiple Choice)
4.8/5
(34)

A(n)____ is a named set of code that performs a given task.​

(Multiple Choice)
4.9/5
(26)
Showing 61 - 80 of 112
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)