Deck 13: Enhancing the Wage Calculator Application
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/9
Play
Full screen (f)
Deck 13: Enhancing the Wage Calculator Application
1
The Framework Class Library (FCL) provides a rich collection of classes and methods for which of the following?
A) common mathematical calculations
B) string manipulations
C) character manipulations
D) Both a and b.
E) All of the above.
A) common mathematical calculations
B) string manipulations
C) character manipulations
D) Both a and b.
E) All of the above.
E
2
The declarations and statements that compose the method definition are called the_____ .
A) method body
B) method header
C) parameter list
D) method name
E) None of the above.
A) method body
B) method header
C) parameter list
D) method name
E) None of the above.
method body
3
The word directly following the return type (in a method header) is called the______ .
A) method body
B) parameter list
C) argument
D) method name
E) None of the above.
A) method body
B) parameter list
C) argument
D) method name
E) None of the above.
method name
4
Failing to return a value from a non-void method _____-.
A) is a syntax error
B) causes the application to fail
C) causes the method to return the default value for the return-type
D) causes the method to return the value 0
E) None of the above.
A) is a syntax error
B) causes the application to fail
C) causes the method to return the default value for the return-type
D) causes the method to return the value 0
E) None of the above.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
5
The ______Button ends the debugging session and returns the IDE to design mode.
A) End Debugging
B) Exit Debugging
C) Continue
D) Stop Debugging
E) Step Out
A) End Debugging
B) Exit Debugging
C) Continue
D) Stop Debugging
E) Step Out
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
6
A method in C# can have a return type of_____
A) void
B) double
C) Int32.Parse
D) class
E) Both a and b.
A) void
B) double
C) Int32.Parse
D) class
E) Both a and b.
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
7
Declaring a variable in the method's body with the same name as a parameter variable in the method header is______ .
A) a syntax error
B) a logic error
C) a run-time error
D) not an error
E) a common programming practice
A) a syntax error
B) a logic error
C) a run-time error
D) not an error
E) a common programming practice
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
8
The feature of the IDE that displays a window containing the method's argument names and types is called ______.
A) Quick Info
B) IntelliSense
C) Parameter Info
D) Watch
E) Method Info
A) Quick Info
B) IntelliSense
C) Parameter Info
D) Watch
E) Method Info
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck
9
The______ Button executes any statements between the next executable statement and the next breakpoint or the end of the current event handler, whichever comes first.
A) Step Into
B) Step Over
C) Continue
D) Next
E) Step Out
A) Step Into
B) Step Over
C) Continue
D) Next
E) Step Out
Unlock Deck
Unlock for access to all 9 flashcards in this deck.
Unlock Deck
k this deck