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
The following members of the Math class,(Round( ),Max( ),Exp( )),must be called using the class name,because they are all ____.
(Multiple Choice)
4.9/5
(83)
The first line of a method is called the ____ of the method.
(Multiple Choice)
4.9/5
(90)
A standard convention used by C# programmers is to use Pascal case style for class,data member identifiers,and method identifiers.
(True/False)
4.8/5
(87)
The ____ of an identifier is the region of the program in which that identifier is usable.
(Multiple Choice)
4.8/5
(81)
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
(76)
When you assign a default value to a parameter,it then becomes a(n): ____.
(Multiple Choice)
4.9/5
(73)
When you assign a default value to a parameter,it then becomes a(n)____________ parameter.
(Short Answer)
4.8/5
(81)
The Parse( )method returns the number representation of its string argument.
(True/False)
4.8/5
(84)
The ____ parameter type cannot be used unless the original argument is initialized before it is sent to the method.
(Multiple Choice)
4.8/5
(69)
A namespace is really nothing more than a group of statements placed together under a single
name.
(True/False)
4.9/5
(88)
____________ is an overloaded method of the Math class that returns the larger of two
specified numbers.
(Short Answer)
4.7/5
(64)
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.7/5
(72)
A method used to convert from one base type to another is ____.
(Multiple Choice)
4.9/5
(85)
The return keyword may not be included with a non-value returning method (void method).
(True/False)
4.9/5
(80)
Ceiling( ),Pow( ),and Floor( )are all static members of the Console class.
(True/False)
4.8/5
(85)
Avoid writing long methods.Consider refactoring when the method exceeds ____________ lines of code
(Short Answer)
4.9/5
(79)
Showing 41 - 60 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)