Exam 9: Sub and Function Procedures
Exam 1: Overview an Introduction to Programming17 Questions
Exam 2: An Introduction to Visual Basic 201542 Questions
Exam 3: Creating a User Interface42 Questions
Exam 4: Memory Locations and Calculations42 Questions
Exam 5: Making Decisions in a Program42 Questions
Exam 6: More on the Selection Structure42 Questions
Exam 7: Repeating Program Instructions42 Questions
Exam 8: More on the Repetition Structure42 Questions
Exam 9: Sub and Function Procedures42 Questions
Exam 10: Arrays42 Questions
Exam 11: String Manipulation and Menus42 Questions
Exam 12: Structures and Sequential Files42 Questions
Exam 13: Access Databases and Linq42 Questions
Exam 14: Creating Simple Web Applications42 Questions
Exam 15: Creating Classes and Objects42 Questions
Select questions type
When you pass a variable ____________________, the computer passes a copy of the variable's contents to the receiving procedure.
Free
(Short Answer)
4.8/5
(38)
Correct Answer:
by value
The ____ keyword tells the computer to pass the variable's address rather than a copy of its contents.
Free
(Multiple Choice)
4.8/5
(40)
Correct Answer:
C
What is an event procedure?
Free
(Essay)
4.9/5
(32)
Correct Answer:
An event procedure is a Sub procedure that is associated with a specific object and event, such as a button's Click event or a text box's TextChanged event. The computer automatically processes an event procedure when the event occurs.
Associating a procedure with more than one object and event allows the programmer to avoid ____________________ code in different parts of the program..
(Short Answer)
4.8/5
(44)
The number of arguments in the Call statement's argumentList should agree with the number of parameters in the procedure's parameterList .
(True/False)
4.8/5
(28)
The Return statement's syntax is ____ expression , where expression represents the one and only value that will be returned to the statement invoking the function.
(Multiple Choice)
4.8/5
(33)
Match each item with a statement below.
Correct Answer:
Premises:
Responses:
(Matching)
4.8/5
(43)
The ____ clause in an event procedure's header indicates the object and event associated with the procedure.
(Multiple Choice)
4.7/5
(38)
You can cast a variable from the Object data type to a different data type by using the ____operator.
(Multiple Choice)
4.9/5
(36)
The process of converting a variable from one data type to another is referred to as ____.
(Multiple Choice)
4.9/5
(26)
In most cases, the procedure header begins with the ____ keyword.
(Multiple Choice)
4.8/5
(40)
After creating your own function in Visual Basic, you can invoke it from one or more places in an application's code.
(True/False)
4.9/5
(35)
Passing a variable's address to the receiving procedure is referred to as passing by ____.
(Multiple Choice)
4.8/5
(42)
Showing 1 - 20 of 42
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)