Multiple Choice
Critical Thinking Questions Case 1 Brian is trying his best to understand the concept of variable scope, so he calls his friend Molly for guidance. Brian has defined a variable named strNumberOfSongs within the click event handle for a Submit button, and he has been frustrated in his efforts to refer to this variable in the click event handler for a Clear button. What does Molly tell him is going on?
A) The variable strNumberOfSongs has no scope.
B) The variable strNumberOfSongs was not declared correctly.
C) The variable strNumberOfSongs is a local variable.
D) The variable strNumberOfSongs is a global variable.
Correct Answer:

Verified
Correct Answer:
Verified
Q6: Identify the letter of the choice that
Q9: Critical Thinking Questions Case 2 The arithmetic
Q11: The Void procedure is used to empty
Q15: The prefix _ should be used for
Q46: To force a literal value to be
Q83: The _ data type holds a nondecimal
Q93: The ampersand character at the end of
Q99: The ToString function requires a format specifier
Q104: A String data type allows for the
Q106: A procedure that does not return a