Exam 7: Using Procedures and Exception Handling

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

The ____ exception type occurs when a value exceeds its assigned data type.

(Multiple Choice)
4.9/5
(29)

The ____________________ exception type occurs when a value exceeds the size limit of its assigned data type.

(Short Answer)
4.9/5
(31)

Using the ____ procedure will cause the application to pause a specific amount of time.

(Multiple Choice)
4.9/5
(43)

The ____ prefix is used when naming a ComboBox object like the one in the accompanying figure. The ____ prefix is used when naming a ComboBox object like the one in the accompanying figure.

(Multiple Choice)
4.9/5
(29)

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

(Multiple Choice)
4.7/5
(38)

A(n)____________________ object includes a text box that allows the user to enter text,and a list box that displays a list of items from which the user can select one.

(Short Answer)
4.9/5
(31)

A ComboBox object consists of three parts._________________________

(True/False)
4.7/5
(27)

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

(Multiple Choice)
4.9/5
(38)

The ____ property of a ComboBox object returns a string value that represents the selected list item.

(Multiple Choice)
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.8/5
(38)

If an exception occurs in the Try section of a Try-Catch structure and there is no matching Catch block,the program will stop.

(True/False)
4.8/5
(31)

In a Try-Catch structure,the ____________________ keyword indicates the start of code that could cause an exception to occur.

(Short Answer)
4.8/5
(41)

The Private keyword is required in a Function procedure declaration.

(True/False)
4.8/5
(31)

The Elements property of a ComboBox contains the choices available to the ComboBox._________________________

(True/False)
4.9/5
(40)

If the Private keyword is omitted,the default option is Public.

(True/False)
4.8/5
(33)

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

A Sub procedure is called with a statement consisting of ____.

(Multiple Choice)
4.9/5
(29)

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

How is a Function procedure similar to or different from a Sub procedure?

(Essay)
4.8/5
(37)

Sub procedures are automatically executed when events such as the user clicking a button occur.

(True/False)
4.8/5
(30)
Showing 41 - 60 of 112
close modal

Filters

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