Questions
Question 1 Multiple Choice (Single Answer)
Which event is activated when a RadioButton is selected?
- Checked
- CheckedChanged
- Selected
- SelectedChanged
- SelectionChanged
Question 2 Multiple Choice (Single Answer)
Which is a type of procedure found in VB.Net?
- Event
- Function
- Sub
- Both a and b.
- All of the above.
Question 3 Multiple Choice (Single Answer)
The methodology where code is broken into small, logical procedures is called:
- event-driven programming.
- functional programming.
- granular programming.
- modular programming.
- procedural programming.
Question 4 Multiple Choice (Single Answer)
When using a procedure the calling code sends data via the:
- actual argument to the formal parameter of the procedure.
- formal argument to the actual parameter of the procedure.
- actual parameter to the formal argument of the procedure.
- formal parameter to the actual argument of the procedure.
- All of the above.
Question 5 Multiple Choice (Single Answer)
From how many places in the code can a procedure be called?
- 1
- 2
- 3
- As many times as needed.
Question 6 Multiple Choice (Single Answer)
Which parameter is found in an event procedure?
- e
- Sender
- Receiver
- Both a and b.
- All of the above.
Question 7 Multiple Choice (Single Answer)
Which is an optional element of an event procedure?
- End Sub
- Handles
- Object_Event
- Statements
- Sub
Question 8 Multiple Choice (Single Answer)
What happens when a parameter in a procedure is declared ByVal?
- Only arguments of numeric data types are allowed.
- A reference to the argument is sent to the procedure.
- A copy of the argument is sent to the procedure.
- Both a and b.
- All of the above.
Question 9 Multiple Choice (Single Answer)
Which is a valid way to write the procedure stub for an object’s default event?
- Use the Class and Method combo boxes in the Code Editor window.
- Double click on the object in the Form Designer window.
- Type the procedure declaration in the Code Editor window.
- Both a and b.
- All of the above.
Question 10 Multiple Choice (Single Answer)
A sub procedure is valuable because it:
- makes code easier to maintain.
- splits the logic to solve a problem into small, manageable units.
- limits the number of times the code can be accessed.
- Both a and b.
- All of the above.