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
When naming local variable identifiers and parameters, use ____________.
Free
(Short Answer)
4.7/5
(27)
Correct Answer:
camel casing
A namespace is really nothing more than a group of statements placed together under a single
name.
Free
(True/False)
4.9/5
(36)
Correct Answer:
False
Avoid writing long methods. Consider refactoring when the method exceeds ____________ lines of code
Free
(Short Answer)
4.8/5
(32)
Correct Answer:
25
The Parse( ) method returns the number representation of its string argument.
(True/False)
4.7/5
(40)
Ceiling( ), Pow( ), and Floor( ) are all static members of the Console class.
(True/False)
4.8/5
(41)
In order to hold the screen when the program runs, programmers often add ReadKey( ) as a last statement.
(True/False)
4.8/5
(42)
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
(43)
WriteLine("Final Grade = {0:N2}", CalculateGrade(90, 75, 83));
The {0:N2} above indicates the ____.
(Multiple Choice)
4.9/5
(32)
A standard convention used by programmers for naming classes is to use an action verb phrase.
(True/False)
4.8/5
(26)
If a method does not return a value, the void keyword is placed inside the parentheses in the method heading.
(True/False)
4.9/5
(44)
Every method that has a return type other than ________ must have a return statement in the body.
(Short Answer)
4.7/5
(38)
All Main( ) method headings must include the ____________ modifier meaning that the method belongs to the type itself rather than to a specific object of a class.
(Short Answer)
4.8/5
(38)
Which method returns the largest whole number less than or equal to the specified number?
(Multiple Choice)
4.9/5
(40)
A semicolon is placed on the end of a method heading following the parameter list.
(True/False)
4.8/5
(44)
The primary difference between call by reference using ref versus out is ____.
(Multiple Choice)
4.8/5
(45)
In order to indicate a value is constant and cannot be changed, the keyword constant is added.
(True/False)
4.7/5
(35)
Showing 1 - 20 of 75
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)