C#
The NOT operator is written as ____.
!
If you precede a letter in the Text property value of a ButtonBase object with a(n) ____, that letter acts as an access key.
&
In a MenuStrip, if you create each main menu item with a(n) ____ in front of a unique letter, then the user can press Alt and the given letter to activate the menu choice as an alternative to clicking it with the mouse.
&
When you declare objects, their numeric fields initialize to ____.
0
When you use curly braces to enclose a list of array values, you must complete the statement with a ____.
;
You can use the conditional ____ operator within a Boolean expression to determine whether two expressions are both true.
AND
Often totals are ____—that is, gathered together and added into a final sum by processing individual records one at a time in a loop.
Accumulated
Arguments within a method call often are referred to as ____ parameters.
Actual
+= is the C# ____ operator; it adds the operand on the right to the operand on the left and assigns it to the operand on the left in one step.
Add and Assign
Setting the ____ property causes a Control to remain at a fixed distance from the side of a container when the user resizes it.
Anchor
____ represent(s) information that a method needs to perform its task.
Arguments
A(n) ____ arithmetic operator has one argument to the left and another argument to the right of the operator.
Binary
A(n) ____ is any device you can use without knowing how it works internally.
Black Box
Programmers sometimes refer to encapsulation as using a ____.
Black Box
In C#, a ____ is a collection of one or more statements contained within a pair of curly braces.
Block
You declare a Boolean variable by using type ____.
Bool
In a switch statement, the keyword ____ is followed by one of the possible values that might equal the switch expression.
Case
You use the ____ data type to hold any single character.
Char
____ objects are GUI widgets the user can click to select an option; any number of these can be selected at the same time.
CheckBox
CheckBox and RadioButton objects have a ____ method that is called when the object is clicked by the user.
CheckedChanged ()
A ____ is similar to a ListBox but with check boxes appearing to the left of each item.
CheckedListBox
A(n) ____ describes potential objects.
Class
When filling in the items in a MenuStrip control, you can double-click an entry to generate a ____ method that will execute if the user clicks on the entry.
Click ()
A ____ is similar to a ListBox, except that it displays an additional editing field to allow the user to select from the list or to enter new text.
ComboBox
An expression containing a(n) ____ operator has a Boolean value.
Comparison
After you write and save a program, you must ____ it into intermediate language.
Compile
Programmers use a computer program called a(n) ____ to translate their high-level language statements into machine code.
Compiler
The keyword ____ is used to declare a named constant.
Const
The ____ class provides the definitions for GUI objects.
Control
The ____ Control displays a month calendar when the down arrow is selected.
DateTimePicker
To achieve a working program that accomplishes the tasks it is meant to accomplish, you must remove all syntax and logical errors from the program. This process is called ____ the program.
Debugging
A prefix or postfix ____ operator reduces a variable's value by 1.
Decrement
Some loops are controlled by reducing, or ____, a variable and testing whether the value remains greater than some benchmark value.
Decrementing
The optional keyword ____ is used prior to any action that should occur if the test expression does not match any case.
Default
The ____ loop checks the bottom of the loop after one repetition has occurred.
Do
Setting the ____ property attaches a Control to the side of a container so that the Control stretches when the container's size is adjusted.
Dock
When designing a Form, you will usually use the ____ design features in the IDE instead of typing code statements.
Drag-and-Drop
____ is the technique of packaging an object's attributes and methods into a cohesive unit that can be used as an undivided entity.
Encapsulation
To purposefully override the unifying type in an arithmetic operation, use a(n) ____ by placing the desired result type in parentheses followed by the variable or constant to be cast.
Explicit cast
Arrays are useful when you need to store just one value in memory at a time.
False
When you declare objects, their bool fields initialize to ____.
False
A(n) ____ number is one that contains decimal positions.
Floating-point
A(n) ____________________ is similar to pseudocode, but you write the steps in diagram form, as a series of shapes connected by arrows.
Flowchart
With a ____ loop, you can indicate the starting value for the loop control variable, the test condition that controls loop entry, and the expression that alters the loop control variable, all in one convenient place.
For
A ____ is a string of characters that optionally contains fixed text and contains one or more format items or placeholders for variable values.
Format String
A method ____ includes the method name and information about what will pass into and be returned from a method.
Header
A ____ programming language allows you to use a vocabulary of reasonable terms such as "read," "write," or "add" instead of the sequence of on/off switches that perform these tasks.
High-level
In programming languages, a variable is referenced by using a one-word name, which is called a(n) ____, with no embedded spaces.
Identifier
A(n) ____ statement is used to make a single-alternative decision.
If
If you have a dual-alternative decision (you want to perform one action when a Boolean expression evaluates as true and an alternate action when it evaluates as false), you can use a(n) ____ statement.
If-else
In arithmetic operations with operands of dissimilar types, a(n) ____ is the automatic conversion of nonconforming operands to a unifying type.
Implicit Cast
____ provides the ability to extend a class so as to create a more specific class.
Inheritance
If a value is given to a variable at the time it is declared, this is called a(n) ____.
Initialization
A class describes the attributes and methods of every object that is a(n) ____, or example, of that class.
Instance
An array subscript can be an expression, as long as the expression evaluates to a(n) ____.
Integer
In C#, an array subscript must be a(n) ____.
Integer
A program that accepts console input from the user is a(n) ____ program.
Interactive
Methods can ____, or call, other methods; that is, a program uses a method's name and the method performs a job for the class.
Invoke
One execution of any loop is called a(n) ____.
Iteration
void and static are examples of C# predefined ____.
Keywords
A ____ provides the capability to link the user to other sources, such as Web pages or files.
LinkLabel
ListBox, ComboBox, and CheckedListBox objects all allow users to select choices from a list. These three classes descend from ____.
ListControl
The ____ behind any program involves executing the various statements and procedures in the correct order to produce the desired results.
Logic
A(n) ____________________ is a structure that allows repeated execution of a block of statements.
Loop
Internally, computers are constructed from circuitry that consists of small on/off switches. The most basic circuitry-level language that computers use to control the operation of those switches is called ____.
Machine Language
A ____ is an object you can instantiate on a remote computer so that you can manipulate a reference to the object rather than a local copy of the object.
MarshalByRefObject
For convenience, the individual operations used in a computer program often are grouped into logical units called ____.
Methods
The ____ Control allows you to retrieve date information.
MonthCalendar
The ListBox provides a Boolean ____ property, which you can set to display items in columns instead of in a straight vertical list.
MultiColumn
A(n) ____ is a construct that acts like a container to provide a way to group similar classes.
Namespace
When method calls are placed inside other method calls, the calls are ____ method calls.
Nested
The ____ operator is used to create objects.
New
The keyword ____ is also known as the new operator.
New
You can use the conditional ____ operator when you want some action to occur even if only one of two conditions is true.
OR
The evaluated Boolean expression in a while statement can be a compound expression that uses ANDs and ____.
ORs
When designing a MenuStrip control, the programmer should follow conventional menu order; for example, a Help option is usually located ____ of the main menu.
On the far-right side
When you use a loop within a loop, you should always think of the ____ loop as the all-encompassing loop.
Outer
As an alternative to the Convert class methods, you can use a(n) ____ method to convert a string to a number.
Parse ( )
When programmers adopt the style of capitalizing the first letter of all new words in an identifier, even the first one, they call the style ____.
Pascal casing
A ____ consists of a pair of curly braces containing a number that indicates the desired variable's position in a list that follows the string.
Placeholder
The do-while loop is a(n) ____ loop.
PostTest
The ____ access limits method access to the containing class.
Private
____ are nonexecuting statements that you add to document a program.
Program comments
An instruction to the user to enter data is called a ____.
Prompt
Programmers often use ____________________, a tool that helps them plan a program's logic by writing plain English statements.
Pseudocode
The ____ modifier allows unlimited access to a method.
Public
____ objects are GUI widgets the user can click to select an option; only one of a group can be selected at a time.
RadioButton
You can use the ____ method to accept user input from the keyboard.
ReadLine ( )
A ____ statement causes a value to be sent back to the calling method.
Return
When creating a flowchart or pseudocode representation of a task, a ____ structure is one in which one step follows another unconditionally.
Sequence
When you drag multiple Controls onto a Form, blue ____ appear and help you align new Controls with others already in place.
Snap Lines
In the C# statement moneyString = someMoney.ToString("F3"), the expression F3 is an example of a(n) ____.
Standard Numeric Format String
If you use the keyword modifier ____, you indicate that a method can be called without referring to an object.
Static
In C#, you use the ____ data type to hold a series of characters.
String
You can distinguish each element from the others in an array with a(n) ____.
Subscript
The ____ method from the Convert class converts a specified value to an 8-bit unsigned integer.
ToByte ( )
In C#, arrays are objects.
True
You can combine as many AND and OR operators in an expression as needed.
True
A ____ loop consists of the keyword while, followed by a Boolean expression within parentheses, followed by the body of the loop.
While
The ____ method displays output on the screen and positions the cursor on the next line.
WriteLine