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.9/5
(68)

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

(Short Answer)
4.8/5
(72)

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

(Short Answer)
4.8/5
(83)

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

(Multiple Choice)
4.9/5
(84)

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

(Multiple Choice)
4.9/5
(66)

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

(Short Answer)
4.9/5
(81)

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

(Multiple Choice)
4.9/5
(90)

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

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

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

(Multiple Choice)
4.9/5
(76)

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

(Short Answer)
4.9/5
(71)

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

(Multiple Choice)
4.8/5
(87)

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

(Short Answer)
4.8/5
(77)

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

(True/False)
4.9/5
(88)

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

(True/False)
4.9/5
(78)

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

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

(Short Answer)
4.7/5
(71)

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

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.9/5
(69)

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.7/5
(57)
Showing 61 - 80 of 112
close modal

Filters

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