CS411-Midterm
1 / 50
Enum of one type may not be ________ assigned to an enum of another type.
2 / 50
A customer order can be represented as ________.
3 / 50
Which of the following is an entity that introduces event into the system?
4 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
5 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
6 / 50
Default underlying type of an enum is ________.
7 / 50
A (n) _____________is a subscription mechanism for events.
8 / 50
Clean room design is useful as a defense against __________.
9 / 50
A class can inherit from ___________class/classes.
10 / 50
Attributes are generally applied ________ in front of type and type member declarations.
11 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
12 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
13 / 50
Instances of value types do not have referential identity.
14 / 50
Wpf 3.5 released in__________.
15 / 50
________ events may or may not relate to an actual occurrence.
16 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
17 / 50
Cast back to base type to call a/an ________ method of base.
18 / 50
All the members of interfaces are implicitly__________.
19 / 50
The default constructor initializes the integers with ___________ value.
20 / 50
________ is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events.
21 / 50
Stathread is stand for:
22 / 50
Attributes add ____________to your program.
23 / 50
C# is a _________ and .NET is a _________.
24 / 50
We want the width of button should cover the whole width of StackPanel in WPF then what should be value of HorizontalAlignment property of button?
25 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
26 / 50
_________ allows to keep the user interface description and implementation separate.
27 / 50
Events are based on the principle of ____________.
28 / 50
Auto-implemented properties do not allow simplified syntax.
29 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
30 / 50
The ___________ method is used to read the whole file at once.
31 / 50
________ is built from request-response and it moves away from monolithic applications. Event-driven architecture (EDA)
32 / 50
Event-based programming is also known as:
33 / 50
Structs can not have destructors.
34 / 50
Not implementing some methods of the interface in the class is _________________.
35 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
36 / 50
Value-types hold their value in ________where they are declared.
37 / 50
________ have already happened whereas ________ are asking something to happen.
38 / 50
XAML is a declarative programming language for creating and initializing objects.
39 / 50
The using directive can be used to rename a long namespace in the current file.
40 / 50
Wait for a single event is ____________operation.
41 / 50
Events and ________ work hand in hand.
42 / 50
A single exception can be handled differently.
43 / 50
BAML stands for:
44 / 50
Attributes of a program can be queried at run time through __________.
45 / 50
IsNumeric(string s) is a function of ______________ class.
46 / 50
An indexer enables your class to be treated like a/an ________.
47 / 50
Dependency properties are represented by _______________.
48 / 50
The initial name for C# was ___________.
49 / 50
________ contacts the service provider or the server.
50 / 50
“FrameworkElement” is the base class that adds support for __________.
Your score is
The average score is 78%
Restart quiz