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 Collections75 Questions
Exam 9: Introduction to Windows Programming75 Questions
Exam 10: Programming Based on Events74 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 Applications75 Questions
Select questions type
When naming local variable identifiers and parameters,use ____________.
Free
(Short Answer)
4.7/5
(85)
Correct Answer:
camel casing
The name of the method,modifiers,return type,and the types of its formal parameters make up the signature of the method.
Free
(True/False)
4.8/5
(73)
Correct Answer:
False
In order to call a static method from another class,the class name must be used with the method name.
Free
(True/False)
5.0/5
(79)
Correct Answer:
True
The term ____________ is often used to indicate where an identifier has meaning and can be used
(Short Answer)
4.8/5
(70)
The entries found inside the parentheses of the method heading are called the access modifiers.
(True/False)
4.7/5
(83)
When a class or a class member does not specify a modifier,the default accessibility
level of _______________ is assumed.
(Short Answer)
4.8/5
(91)
One option to holding the screen at the end of a program is to invoke Console.Read( ).Another option is to call ____________.It obtains the next character or function key from the user.
(Short Answer)
4.9/5
(80)
The Write( ),WriteLine( ),Read( ),and ReadLine( )methods are all overloaded.
(True/False)
4.8/5
(70)
The ____________ type is always listed immediately preceding the name of the method.
(Short Answer)
4.7/5
(73)
The Math class has a number of static methods located in the _____________ namespace.
(Multiple Choice)
4.8/5
(73)
The result of the call to Math.Pow( )in the above statement is to store ________ in answer:
(Multiple Choice)
4.8/5
(78)
The Read( )method is different from the ReadLine( )method in that the Read( )returns an int and the ReadLine( )returns a string argument.
(True/False)
4.8/5
(84)
____________ is used to indicate that no value is being returned from a method.
(Short Answer)
4.9/5
(74)
C# offers both call by value and call by reference parameters.Call by value is the default type.
(True/False)
4.9/5
(84)
Console.WriteLine("Final Grade = {0:N2}",
CalculateGrade(90, 75, 83));
-In the statement above,the values placed inside the parentheses following CalculateGrade are ____.
(Multiple Choice)
4.9/5
(74)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)