C# unit 1 test ch 1

Ace your homework & exams now with Quizwiz!

___________ marks the end of a block comment.

*/

The most important and frequently used __________ is System.

namespace

The Framework Class Library (FCL) includes a number of different __________.

namespaces

One class predefined as part of .NET is ____.

Console

Which of the following statements would produce the output shown here? Live Life to the fullest

Console.WriteLine("Live\nLife to the \tfullest");

Given the following output statement, what would be displayed? Console.Write("Ok\\ \"I\'m sure\"");

Ok\ "I'm sure"

Which method of the Console class allows multiple characters to be input via the keyboard?

ReadLine()

Problem specifications often include the desired output of the program in terms of what is to be displayed, saved, or printed.

True

The System namespace contains classes that define commonly used types or classes.

True

WriteLine( ) differs from Write( ) in that ____.

WriteLine( ) advances to the next line after it finishes displaying output

Which character is called the escape character in C#?

\

During which phase of software development should questions be asked to clarify the problem definition?

analysis

The first step found in most software development methodologies is ____.

analysis

A(n) ____ version of software has not been fully tested and may still contain bugs or errors.

beta

Using the object-oriented approach, a(n) ____ is a combined set of attributes and actions.

class

The diagram used in object-oriented development to show the characteristics and behaviors of a class is a(n) ____.

class diagram

Console is a ____ and WriteLine( ) is a ____.

class, method

Programmers commonly verify that their design is correct by doing a(n) _____________.

desk check

The _________ identifies the range of the values an input item includes.

domain

At the beginning of a program, comments are often written to identify how many pages are included in the program listing.

false

Comments are considered instructions to the computer.

false

In a C# program, namespace is used to ____.

group functionally related types under a single name

A(n) ______________ is a user-supplied or user-created name.

identifier

What object-oriented feature enables you to define subclasses that share some of the characteristics of other classes?

inheritance

An object is a(n) ________ of the class.

instance

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

Using the _________ approach, the focus is on determining the data characteristics and the methods or behaviors that operate on the data.

object-oriented

A quick way to identify a method is by looking for ____.

parentheses

On a class diagram, the minus symbol shown beside the data member indicates the member is ____.

private

The compiler checks for ____.

syntax rule violations

Windows 10, Android, iOS, and Linux are types of _____________.

system software

Program execution halts in a C# program when ____.

the last statement in Main( ) is executed

Run-time errors are more difficult to find than syntax errors because ____.

the program may compile and produce results with a run-time error

The compiler is responsible for ____.

translating high-level programming language into machine-readable form

Each instruction statement has a semantic meaning—a specific way in which it should be used.

true

Procedural programming is also called structured programming.

true

System software includes software such as the operating system.

true

Xamarin is included with the latest version of Visual Studio. ​

true

An IDE enables you to ____.

type your program statements into an editor debug an application compile an application


Related study sets

NR206 Pulling It All Together: Integrated Heat-to-Toe Assessment

View Set

Unit 7 - Promulgated Addenda, Notices and Other Forms (Questions)

View Set

Economics Exam #3 - Chapters 8-9 Material

View Set

Acct2302 Principles of Managerial Accounting - Ch8

View Set

4) Руські удільні князівства у складі іноземних держав у другій половині XIV - першій половині XVI ст. Кримське ханство (МАГДЕБУРЗЬКЕ ПРАВО, ДИКЕ ПОЛЕ, КОЗАК, ШЛЯХТИЧ, МАГІСТРАТ)

View Set

Ch. 17 Infectious disease infecting the nervous system

View Set