Exam 7: Using Procedures and Exception Handling

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

An opening screen that appears as an application is loading is called a(n) ----____________________ screen.

(Short Answer)
4.9/5
(37)

The keyword ____ is used in a Function procedure to return a single value.

(Multiple Choice)
4.9/5
(39)

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

(Short Answer)
4.9/5
(36)

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

In a Function procedure declaration, any lines of code after a Return statement will not be executed.

(True/False)
4.8/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.8/5
(40)

You can pass no more than two arguments to a Sub procedure.

(True/False)
4.9/5
(42)

When the SelectedIndex property of a ComboBox has the value of 0, it indicates that no selection was made by the user.

(True/False)
4.7/5
(37)

The SelectedItem property of a ComboBox returns an integer indicating which choice is currently selected.

(True/False)
4.9/5
(37)

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

(True/False)
4.8/5
(36)

A Try-Catch structure ____ Catch blocks of code.

(Multiple Choice)
4.9/5
(39)

A(n) ____________________ procedure is a procedure that performs a task but does not return any data.

(Short Answer)
4.9/5
(32)

A splash screen can be used to make a program appear to load faster than it actually does. _________________________

(True/False)
4.9/5
(31)

Of all of the concepts Sheila has learned so far, she is having the hardest time understanding the use of procedures, including when and how to use them. She asks her instructor for some additional clarification. Which of the following is not a true statement her instructor makes to Sheila?

(Multiple Choice)
4.8/5
(35)

The word ____ 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.7/5
(38)

In a Try-Catch structure, the ____ statement is optional and always executes last.

(Multiple Choice)
4.8/5
(33)

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

(Multiple Choice)
4.8/5
(37)

When an argument is passed ____________________, the Sub procedure code can change the value in the temporary variable and use it in any manner required.

(Short Answer)
4.8/5
(34)

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

(Multiple Choice)
4.7/5
(39)

The ____ event of a ComboBox object is triggered when the user changes the selection.

(Multiple Choice)
4.8/5
(35)
Showing 21 - 40 of 103
close modal

Filters

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