C# Chapter 1 part 1
The compiler is responsible for ____.
translating high-level programming language into machine-readable form
When should test plans be developed?
analysis and design phases
Program execution halts in a C# program when ____.
the last statement in Main( ) is executed
Which of the following statements would produce the output shown here?
Live
Life to the fullest
Console.WriteLine("Live\nLife to the \tfullest");
The compiler checks for ____.
syntax rule violations
WriteLine( ) differs from Write( ) in that ____.
WriteLine( ) advances to the next line after it finishes displaying output
The set of rules that a language such as C# has to follow are called ____ rules.
syntax
The diagram used in object-oriented development to show the characteristics and behaviors of a class is a(n) ____.
class diagram
If you write a program and, instead of multiplying two values together as intended, you divide one value by the other, you produce a(n) ____ error.
logic
A(n) ____ is a collection of one or more program statements combined to perform some action.
method
In Visual Studio .NET, the feature that attempts to sense what you are going to type before you type it is called ____.
IntelliSense
In a C# program, namespace is used to ____.
group functionally related types under a single name
What object-oriented feature enables you to define subclasses that share some of the characteristics of other classes?
ineheritance
Run-time errors are more difficult to find than syntax errors because ____.
the program may compile and produce results with a run-time error
____ is normally part of the analysis phase of software development.
Making sure you understand the problem definition
The Visual Studio IDE is an interactive environment that enables you to type the source code, compile, and execute without leaving the IDE program.
True or False
True
During the first phase of software development, you should make sure you understand the problem definition.
True or False
True
The method ______________ is the entry point for all applications. This is where the program begins execution.
Main()
An object is a(n) ________ of the class.
instance
The compiler is responsible for ____.
translating high-level programming language into machine-readable form
A(n) ______________ is a clear, unambiguous, step-by-step process for solving a problem.
algorithm
One class predefined as part of .NET is ____.
Console
The first step found in most software development methodologies is ____.
analysis
Comments that use two forward slashes are called ____.
inline
On a class diagram, the minus symbol shown beside the data member indicates the member is ____.
private
An IDE enables you to ____.
Type your program statements into an editor
debug an application
compile an application
(all of the above)
Packaging data characteristics and behaviors into a class is called ____.
encapsulation
During which phase of software development should questions be asked to clarify the problem definition?
analysis
Which of the following would display "Good day!" on the screen?
Console.WriteLine("Good day!");
A method call is the same as a method declaration.
true or false
false
Semicolons are placed at the end of method headings.
true or false
false