1/101
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress

B
A ________ holds only one data value at any given moment in time.
Option A
program
Option B
method
Option C
variable
Option D
data type
C
The values on the right and left sides of a math operator are called ________.
Option A
factors
Option B
expressions
Option C
operands
Option D
algorithms
C

C
You can use a(n) ________ to explicitly convert a value from one numeric data type to another, even if the conversion might result in loss of data.
Option A
data binding
Option B
cast operator
Option C
explicit operator
Option D
conversion formula
B

B
The ________ shows a description of an error, the name of the source code file containing the error, the error's line number and column number, and the name of the project.
Option A
Crash pop-up
Option B
Debug dialog box
Option C
Error List window
Option D
Just In Time debugger
C
A(n) ________ is a logical container in a program that holds methods and other program elements.
Option A
queue
Option B
program
Option C
event
Option D
class
D

C
Parts of a mathematical expression may be grouped with ________ to force some operations to be performed before others.
Option A
braces
Option B
parentheses
Option C
semicolons
Option D
double quotation marks
B

B

A

B
When a(n) ________ appears around an object in the Visual Studio Designer, it indicates that the object is selected and ready for editing.
Option A
editing icon
Option B
sizing handle
Option C
frame
Option D
bounding box
D

D

D

B
When you call the ToString method, you can optionally pass a(n) ________ as an argument to the method to indicate that you want the number to appear formatted in a specific way when it is returned as a string.
Option A
style specifier
Option B
design element
Option C
output value
Option D
formatting string
D

C

A

C
Appending the letter M or m to a numeric literal causes the number to be considered a ________ literal.
Option A
decimal
Option B
monetary
Option C
double
Option D
mnemonic
A
The ________ file contains an application's start-up code which executes when the application runs.
Option A
Program.cs
Option B
Main.cs
Option C
Source.cs
Option D
Code.cs
A
Fundamental types of data, such as integers and real numbers are known as ________ data types.
Option A
natural
Option B
primitive
Option C
basic
Option D
fundamental
B
When an operation is performed on two int values, the result will be a(n) ________.
Option A
double
Option B
string
Option C
decimal
Option D
int
D
When you want to display text on a form but not allow the user to change the text, you use a ________ control.
Option A
String
Option B
Font
Option C
Text
Option D
Label
D
In code you use a(n) ________ to store a value in a control's property.
Option A
string literal
Option B
assignment statement
Option C
constant
Option D
dialog box
B
The ________ dictates which operations are performed first in a mathematical expression.
Option A
operator position
Option B
least significant value
Option C
order of operations
Option D
compiler version
C
To convert the contents of a string to any of the numeric data types, we use a family of .NET methods known as the ________ methods.
Option A
Parse
Option B
ToString
Option C
Itoa
Option D
Convert
A

A

A

B
The file named ________ contains code associated with a form named Form1.
Option A
MainForm.cs
Option B
Form1.cs
Option C
Control.cs
Option D
Window.cs
B
Controls that display text have a ________ property that allows you to change the color of the text.
Option A
FontColor
Option B
TextColor
Option C
Color
Option D
ForeColor
D
A ________ variable belongs to the method in which it is declared and only statements inside that method can access the variable.
Option A
global
Option B
limited
Option C
static
Option D
local
D
If you want your code to execute a method, write a statement known as a(n) ________.
Option A
event handler
Option B
executor statement
Option C
initialization routine
Option D
method call
D
The ________ window in the debugger allows you to type the debugging commands using the keyboard.
Option A
watch
Option B
immediate
Option C
command
Option D
expert
B
A(n) ________ is an unexpected error that occurs when a program is running, causing the program to halt if the error is not properly dealt with.
Option A
bug
Option B
illegal operation
Option C
exception
Option D
logic error
C
Which of the following causes the debugger to stop on a specific statement while a program is running?
Option A
breakpoint
Option B
stopping line
Option C
line break
Option D
set point
A
The ________ data type is used to store any number that might have a fractional part.
Option A
boolean
Option B
double
Option C
int
Option D
string
B
A data value (variable or constant) passed into a method is known as a(n) ________.
Option A
delimiter
Option B
factor
Option C
argument
Option D
descriptor
C
A(n) ________ event occurs on a control when the user clicks the mouse while an application is running.
Option A
Click
Option B
Action
Option C
Mouse
Option D
Live
A

B
A(n) ________ is a method that executes when a specific event such as clicking the mouse takes place while an application is running.
Option A
feature coordinator
Option B
incident manager
Option C
event handler
Option D
action sequencer
C
If you do not initialize a(n) ________ field, it begins with a special value known as null.
Option A
double
Option B
int
Option C
string
Option D
decimal
C
A(n) ________ appears on one line in a program and begins with two forward slashes ( // ).
Option A
documentation comment
Option B
short comment
Option C
block comment
Option D
line comment
D
A math expression involving a double and a(n) ________ is not allowed unless a cast operator is used to convert one of the operands.
Option A
int
Option B
double
Option C
decimal
Option D
boolean
C
When a user types something into a TextBox control, the input is stored in the control's ________ property.
Option A
Text
Option B
String
Option C
Input
Option D
Value
A

C
When an operation involves an int and a decimal, the result will be a(n) ________.
Option A
string
Option B
int
Option C
decimal
Option D
double
C
A ________ is an identifier for a value that cannot be modified during the program's execution.
Option A
literal
Option B
keyword
Option C
sentinel
Option D
named constant
D
The order in which controls receive the focus is called the ________.
Option A
tab order
Option B
tab index
Option C
focus index
Option D
order element
A

D
The ________ property lets you designate a button on a form that will be clicked automatically when the user presses the Enter key.
Option A
AcceptButton
Option B
ConfirmButton
Option C
EnterButton
Option D
DefaultButton
A
A ________ property can be set to one of two possible values: true or false.
Option A
Toggle
Option B
Binary
Option C
Singular
Option D
Boolean
D
In code, you move the input focus by calling the ________ method.
Option A
Selection
Option B
Tab
Option C
Move
Option D
Focus
D

A

C
When you select an object in the Visual Studio Designer, the object's size, color, text, and other characteristics are displayed in the ________ window.
Option A
Properties
Option B
Designer
Option C
Editing
Option D
Object
A
A ________ is a declared block in a program between braces ( {...} ) that holds classes.
Option A
method
Option B
list
Option C
namespace
Option D
program
C
Each object created from a class is called a(n) ________ of the class.
Option A
instance
Option B
object
Option C
reference
Option D
field
A
You create a class by writing a(n) ________.
Option A
class declaration
Option B
code blueprint
Option C
preprocessor directive
Option D
object specification
A
The first line of a class declaration is known as the ________.
Option A
class header
Option B
object heading
Option C
class definition
Option D
data title
A
The process of matching a method call with the correct version of a method is known as ________.
Option A
matching
Option B
signing
Option C
pairing
Option D
binding
D
A class's ________ are statements that define the class's fields, properties, and methods.
Option A
overall body
Option B
private elements
Option C
field definitions
Option D
member declarations
D
When a ________ form is displayed, no other form in the application can receive the focus until the form is closed.
Option A
static
Option B
primary
Option C
modeless
Option D
modal
D
Static methods operate on ________.
Option A
only on static fields
Option B
the fields or properties of all instances of the class
Option C
only on properties of the constructor
Option D
only on static fields and static properties
D
Classes are ________ types.
Option A
binary
Option B
abstract
Option C
value
Option D
reference
D
To declare a class as abstract, you use the ________ keyword in the class header.
Option A
static
Option B
new
Option C
void
Option D
abstract
D
A class that is NOT abstract is sometimes called a(n) ________ class.
Option A
abstract
Option B
concrete
Option C
derived
Option D
base
B
To declare an interface, use the ________ keyword.
Option A
static
Option B
interface
Option C
public
Option D
abstract
B
The first parameter in an extension method must be preceded by the ________ keyword.
Option A
virtual
Option B
this
Option C
new
Option D
static
B

C

B
Extension methods can NOTbe applied to ________.
Option A
classes
Option B
structs
Option C
ints
Option D
Extension methods can be applied to all of these.
D
In object-oriented programming, ________ is used to create an "is a" relationship among classes.
Option A
elimination
Option B
logic
Option C
progression
Option D
inheritance
D
A variable declared as a base class type can only be used to reference members declared in the ________.
Option A
abstract class
Option B
derived class
Option C
parameterless constructor
Option D
base class
D
A class that is NOT intended to be instantiated but is to be used only as a base class is called a(n) ________.
Option A
entity class
Option B
abstract class
Option C
dummy class
Option D
placeholder
B
The ________ keyword declares that a method in the derived class overrides a method in the base class.
Option A
void
Option B
override
Option C
new
Option D
virtual
B
The ________ keyword declares that a derived class is allowed to override the current method in the base class.
Option A
override
Option B
class
Option C
static
Option D
virtual
D
When a derived class method has the same name as a base class method, it is often said that the derived class method ________ the base class method.
Option A
mimics
Option B
shadows
Option C
overrides
Option D
terminates
B
The term ________ refers to an object's ability to take different forms.
Option A
portability
Option B
code reuse
Option C
polymorphism
Option D
adaptation
C
A(n) ________ is a method that is automatically executed when an object is created.
Option A
executable
Option B
constructor
Option C
actuator
Option D
loader
B
In object-oriented programming, the ________ is more general than classes related to it.
Option A
default design
Option B
base class
Option C
derived class
Option D
container class
B
Base classes are sometimes called superclasses and derived classes are sometimes called ________.
Option A
planned classes
Option B
subclasses
Option C
copy classes
Option D
derivatives
B
The ________ inherits fields, properties, and methods from the base class without any of them having to be rewritten.
Option A
copy class
Option B
derived class
Option C
super instance
Option D
initialized object
B
When one object is a specialized version of another object, there is a(n) ________.
Option A
"is a" relationship
Option B
"has a" relationship
Option C
1:1 ratio
Option D
shared interest
A
To access a static property, you use ________.
Option A
an instance of the class
Option B
the constructor
Option C
the class
Option D
You cannot access a static property.
C
If you write a class with no constructor whatsoever, the compiler provides a(n) ________.
Option A
default constructor
Option B
null reference variable
Option C
void constructor
Option D
error message
A
When you add additional forms to a project, you add additional ________ which are stored in their own source code files.
Option A
methods
Option B
events
Option C
classes
Option D
objects
C
When a value is assigned to a property, the property's ________ is executed and the value being assigned is contained in the value parameter.
Option A
get accessor
Option B
ToValue method
Option C
return statement
Option D
set accessor
D
Each of the ________ in the description of a problem domain is a potential class.
Option A
nouns
Option B
articles
Option C
adjectives
Option D
verbs
A
When you create an array of a class type, each element of the array will be initialized with the value ________ by default.
Option A
void
Option B
null
Option C
false
Option D
0
B
When a method is ________, it means that multiple methods in the same class have the same name but use different types of parameters.
Option A
aliased
Option B
overloaded
Option C
shadowed
Option D
parameterized
B
The compiler uses a method's ________ to distinguish it from other methods of the same name.
Option A
return type
Option B
binding
Option C
name
Option D
signature
D
A ________ can be read but it cannot be modified.
Option A
private field
Option B
read-only property
Option C
hidden property
Option D
public field
B
A constructor that accepts arguments is known as a(n) ________.
Option A
aliased constructor
Option B
parameterized constructor
Option C
constructor method
Option D
alternate constructor
B
The ________ is a method that returns the property's value.
Option A
get accessor
Option B
Show method
Option C
this.Value method
Option D
Me method
A
A ________ is a special type of class member that allows an object to store and retrieve a piece of data.
Option A
variable
Option B
property
Option C
method
Option D
field
B
In a property definition, the ________ is automatically created by the compiler and its data type is the same as that of the property.
Option A
data parameter
Option B
this variable
Option C
copy variable
Option D
value parameter
D