Deck 19: Microwave Oven Application

Full screen (f)
exit full mode
Question
The property keyword is directly followed by _______.

A) a using directive
B) a set of parentheses
C) the property's type and name
D) keyword public
E) None of the above.
Use Space or
up arrow
down arrow
to flip the card.
Question
The Autos window allows you to ______.

A) view the contents of the properties used in the previously executed statement
B) view the values in the next statement to be executed
C) view all properties and values in the application
D) view only values from the current statement
E) Both a and b.
Question
A constructor_______ .

A) cannot return a value
B) has the same name as the class
C) cannot take arguments
D) must take arguments
E) Both a and b.
Question
An extensible language _______.

A) can be "extended" with new compilers
B) can be "extended" with new keywords
C) can be "extended" with new operators
D) can be "extended" with new data types
E) All of the above.
Question
Attempting to access a private member of a class outside that class _______.

A) is a run-time error
B) is a syntax error
C) is a logic error
D) can be accomplished using IntelliSense
E) None of the above.
Question
The String method_______adds characters to the beginning of a string.

A) Pad
B) PadFront
C) PadLeft
D) PadRight
E) None of the above.
Question
A Panel control most closely resembles a______ control in its purpose.

A) Button
B) GroupBox
C) Label
D) TextBox
E) None of the above.
Question
A class can contain_______ .

A) methods
B) instance variables
C) enumerations
D) constants
E) All of the above.
Question
Keywords public and private are called______ .

A) member-access modifiers
B) privacy modifiers
C) security modifiers
D) class modifiers
E) type modifiers
Question
Any methods or variables defined in the body of a class are considered to be _______of that class.

A) RadioButtons
B) namespaces
C) members
D) instances
E) None of the above.
Question
Use the_______ property of a Panel to set its background color.

A) BackGroundColor
B) BackColor
C) Color
D) BackGround
E) BackDropColor
Question
All controls in C# are represented in code as_____ .

A) doubles
B) ints
C) Forms
D) classes
E) Both a and b.
Question
A property definition usually consists of ______.

A) a set accessor
B) a get accessor
C) a property accessor
D) consistent state
E) Both a and b.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/13
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 19: Microwave Oven Application
1
The property keyword is directly followed by _______.

A) a using directive
B) a set of parentheses
C) the property's type and name
D) keyword public
E) None of the above.
the property's type and name
2
The Autos window allows you to ______.

A) view the contents of the properties used in the previously executed statement
B) view the values in the next statement to be executed
C) view all properties and values in the application
D) view only values from the current statement
E) Both a and b.
Both a and b.
3
A constructor_______ .

A) cannot return a value
B) has the same name as the class
C) cannot take arguments
D) must take arguments
E) Both a and b.
Both a and b.
4
An extensible language _______.

A) can be "extended" with new compilers
B) can be "extended" with new keywords
C) can be "extended" with new operators
D) can be "extended" with new data types
E) All of the above.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
5
Attempting to access a private member of a class outside that class _______.

A) is a run-time error
B) is a syntax error
C) is a logic error
D) can be accomplished using IntelliSense
E) None of the above.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
6
The String method_______adds characters to the beginning of a string.

A) Pad
B) PadFront
C) PadLeft
D) PadRight
E) None of the above.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
7
A Panel control most closely resembles a______ control in its purpose.

A) Button
B) GroupBox
C) Label
D) TextBox
E) None of the above.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
8
A class can contain_______ .

A) methods
B) instance variables
C) enumerations
D) constants
E) All of the above.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
9
Keywords public and private are called______ .

A) member-access modifiers
B) privacy modifiers
C) security modifiers
D) class modifiers
E) type modifiers
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
10
Any methods or variables defined in the body of a class are considered to be _______of that class.

A) RadioButtons
B) namespaces
C) members
D) instances
E) None of the above.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
11
Use the_______ property of a Panel to set its background color.

A) BackGroundColor
B) BackColor
C) Color
D) BackGround
E) BackDropColor
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
12
All controls in C# are represented in code as_____ .

A) doubles
B) ints
C) Forms
D) classes
E) Both a and b.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
13
A property definition usually consists of ______.

A) a set accessor
B) a get accessor
C) a property accessor
D) consistent state
E) Both a and b.
Unlock Deck
Unlock for access to all 13 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 13 flashcards in this deck.