Filters
Question type

Study Flashcards

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

Correct Answer

verifed

verified

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


A) Final
B) Finally
C) Last
D) End

Correct Answer

verifed

verified

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?


A) The Sub procedure should perform a single, defined task.
B) Procedures that perform multiple tasks tend to become large and difficult to design and code.
C) A Function procedure must perform reasonably substantial processing.
D) It is a good practice to place a procedure call statement in a calling procedure and have the called procedure contain one or two program statements.

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) ByRef
B) ByHand
C) ByVal
D) ByVar

Correct Answer

verifed

verified

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.


A) Contained
B) Private
C) Inner
D) Distinct

Correct Answer

verifed

verified

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


A) data type
B) parameter
C) limit
D) index

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) DivisionError
B) ZeroError
C) DivideByZeroException
D) ZeroDivisionError

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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


A) SendVal
B) Return
C) ReturnVal
D) ReturnValue

Correct Answer

verifed

verified

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


A) SelectedIndex
B) IndexChanged
C) SelectedIndexChanged
D) ChangedSelectedIndex

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

A Try-Catch structure ____ Catch blocks of code.


A) cannot contain any
B) can contain one
C) can contain at most two
D) can contain any number of

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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.

Correct Answer

verifed

verified

Showing 21 - 40 of 103

Related Exams

Show Answer