Exam 1 (Ch 1 & 2) Flashcards
C# has a set of rules, called ______, that must be followed.
Syntax
When you use the __________ approach to solving a problem, you break the problem into subtasks.
Methodical
A(n) _______ is a mock-up of screens depicting the look of the final output.
Prototype
An object is a(n) ________ of a class.
Instance
The most important and frequently used ______ is System.
Namespace
A(n) _________ is a user-supplied or user-created name.
Identifier
The method _________ is the entry point for all applications. This is where the program begins execution.
Main
A(n) __________ is a clear, unambiguous, step-by-step process for solving a problem.
Algorithm
A(n) ________ is a collection of one or more statements combined to perform an action.
Method
Windows 8, Android, Windows 7, and Linux are types of _______.
System software
The Framework Class Library (FCL) includes a number of different ________.
Namespaces
________ marks the end of a block comment.
*/
Programmers commonly verify that their design is correct by doing a(n) ____.
Desk check
One of the rules for creating a(n) ________ is to use a combination of alphabetical characters, numeric digits and the underscore character.
Identifier
_______ are predefined reserved identifiers that have special meaning to the compiler.
Keywords
Every time you declare a variable in the C# language you are actually _______ a class.
Instantiating
The _____ data type is a whole number, between a certain range of values, and contains no decimal point.
int
The _______ data type was added to the language to eliminate the problems of loss of precision in mathematical operations that occurred in previous languages.
decimal
The _____ is sometimes referred to as the remainder operator.
% mod
______ operators provide a shortcut way to write assignment statements using the result as part of the computation.
Compound
The C# category of ______ operators appear at the top of the precedence table with the order of operations.
Unary
_____ makes a variable temporarily behave as if it is a different type.
Cast
In order to place a value in memory that cannot be changed, you add the keyword _____ to the declaration.
const
A megabyte is approximately a(n) _______ bytes.
Million
______ is the universal character-encoding schema that provides a unique number for every character in many different languages.
Unicode
A(n) _______ represents an area in the computer memory where a value of a particular data type can be stored. When you declare a(n) _______, you allocate memory for that data item in your program.
Variable
When naming local variable identifiers and parameters, use _________.
Camel case
All programs consist of at least one ______.
Main