Exam 7: Using Procedures and Exception Handling

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

Only six different types of exceptions can occur in a Visual Basic program.

(True/False)
4.8/5
(25)

The ____________________ code structure traps errors in code that may generate an exception.

(Short Answer)
4.8/5
(26)

The ____________________ property is used to display a graphic on a splash screen like the one shown in the accompanying figure.

(Short Answer)
4.7/5
(33)

A Function procedure can pass back ____ value(s)using the Return statement to the calling procedure.

(Multiple Choice)
4.9/5
(37)

The ____ exception type occurs when a value is divided by zero.

(Multiple Choice)
4.8/5
(31)

The ____________________ is a generic exception that occurs whenever an error occurs that does not have an exception defined for it.

(Short Answer)
4.8/5
(34)

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

(Multiple Choice)
5.0/5
(34)

Passing an argument ____________________ gives the procedure access to the value of the passed argument without referencing the variable declared in the calling procedure.

(Short Answer)
5.0/5
(39)

As shown in the accompanying figure,an opening screen that appears as an application is loading is called a(n)____________________ screen. As shown in the accompanying figure,an opening screen that appears as an application is loading is called a(n)____________________ screen.

(Short Answer)
4.9/5
(33)

A(n)____ is a value that can be passed to a procedure when the procedure is called.

(Multiple Choice)
4.9/5
(25)

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

(Short Answer)
4.8/5
(27)

In a Function procedure,the ____ of the return value is listed in the procedure declaration.

(Multiple Choice)
4.8/5
(34)

The ____________________ exception type occurs when attempting to divide a value by zero.

(Short Answer)
4.8/5
(34)

The keywords End SubProcedure signifies the end of a Sub procedure.

(True/False)
4.9/5
(41)

A Function procedure returns a single value to the calling procedure.

(True/False)
4.9/5
(37)

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

The ____________________ exception type occurs when a variable with no value is passed to a procedure.

(Short Answer)
4.7/5
(35)

Explain what a Sub procedure is and how it is coded,making sure to define the term procedure call in your response.

(Essay)
4.9/5
(42)

The ____________________ data type in the Function declaration specifies the type of data type that will be passed back to the calling procedure.

(Short Answer)
4.8/5
(31)

If the user selects the first item in a ComboBox like the one in the accompanying figure,the SelectedIndex property will have the value ____.

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

Filters

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