Exam 3: Methods and Behaviors
Exam 1: Introduction to Computing and Programming75 Questions
Exam 2: Data Types and Expressions75 Questions
Exam 3: Methods and Behaviors75 Questions
Exam 4: Creating Your Own Classes75 Questions
Exam 5: Making Decisions75 Questions
Exam 6: Repeating Instructions75 Questions
Exam 7: Arrays75 Questions
Exam 8: Advanced Collections74 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events75 Questions
Exam 11: Advanced Object-Oriented Programming Features75 Questions
Exam 12: Debugging and Handling Exceptions75 Questions
Exam 13: Working With Files75 Questions
Exam 14: Working With Databases75 Questions
Exam 15: Web-Based Applications73 Questions
Select questions type
Methods that use the static m odifier are called _________ methods.
(Short Answer)
4.7/5
(79)
Calls to ____________ methods must be placed at a location in your code where the value could be accepted when the method is finished.
(Short Answer)
4.8/5
(85)
The ____ of an identifier is the region of the program in which that identifier is usable.
(Multiple Choice)
4.9/5
(89)
The entries found inside the parentheses of the method heading are called the access modifiers.
(True/False)
4.9/5
(74)
____________ is used to indicate that no value is being returned from a method.
(Short Answer)
4.9/5
(84)
WriteLine("Final Grade = {0:N2}", CalculateGrade(90, 75, 83));
In the statement above, CalculateGrade(90, 75, 83) is ____.
(Multiple Choice)
4.9/5
(77)
The ____________ type is always listed immediately preceding the name of the method.
(Short Answer)
4.8/5
(90)
public static void Main( )
The access modifier in the heading above is the keyword ____.
(Multiple Choice)
4.9/5
(90)
The definition of the method includes the entry inside the curly braces, which is sometimes called the body of the method.
(True/False)
4.9/5
(91)
One way to ensure that you have one entry and one exit from a method is to include a single return statement as the last statement in the method.
(True/False)
4.9/5
(80)
The ____ specifies what kind of information is returned when the body of the method is finished executing.
(Multiple Choice)
4.9/5
(81)
C# offers both call by value and call by reference parameters. Call by value is the default type.
(True/False)
4.9/5
(74)
double answer = Math.Pow(3, 2);
The result of the call to Math.Pow( ) in the above statement is to store ____ in answer:
(Multiple Choice)
4.8/5
(80)
public static void Main( )
The return type for the method above is ____.
(Multiple Choice)
4.7/5
(83)
Showing 21 - 40 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)