CS411-Midterm
1 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
2 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
3 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
4 / 50
________ is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events.
5 / 50
C# is a _________ and .NET is a _________.
6 / 50
Static ctor exists to initialize class static members and called only ________.
7 / 50
During the program execution, program can be stopped with the help of _________.
8 / 50
Reference types hold a reference to an object in memory.
9 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
10 / 50
Anonymous method is a method without a name.
11 / 50
Wpf 3.5 released in__________.
12 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
13 / 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?
14 / 50
Derived class is exactly the same as base.
15 / 50
Which statement is True about interfaces?
16 / 50
The base class will have the _____ functionality of all derived classes.
17 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
18 / 50
The Main method returns a non-zero value which indicates the_____________.
19 / 50
Object variables are references to the ________ object not the object themselves.
20 / 50
________ decouple producers and consumers.
21 / 50
Stathread is stand for:
22 / 50
__________let any classes behave like an array.
23 / 50
Instances of value types do not have referential identity.
24 / 50
Attributes of a program can be queried at run time through __________.
25 / 50
A method performs an action in a series of statements, called a ______________.
26 / 50
Console class can reside in multiple libraries.
27 / 50
Events may live ________ events like in event logs.
28 / 50
Default underlying type of an enum is ________.
29 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
30 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
31 / 50
__________ events may or may not relate to an actual occurrence
32 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
33 / 50
Clean room design is also called__________.
34 / 50
Types of class members in C# are ________ and ________.
35 / 50
Interfaces define a contract.
36 / 50
________event consumer is an entity at the edge of an event processing system that receives events from the system.
37 / 50
An initializer list can be used to use an alternate constructor.
38 / 50
________ is built from request-response and it moves away from monolithic applications. Event-driven architecture (EDA)
39 / 50
Clean room design is useful as a defense against __________.
40 / 50
Default value of first member is ________.
41 / 50
________ operations are completed before the next operation can be started.
42 / 50
___________ may contain events.
43 / 50
_________ Method is used to move the file from one directory to another.
44 / 50
Indexers can take any number of ________.
45 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
46 / 50
Using xmldocument, the order is required.
47 / 50
It is always possible to create an instance of a reference type.
48 / 50
________ invoke derived class methods through base class reference during run-time.
49 / 50
___________methods do not have names.
50 / 50
Value-types hold their value in ________where they are declared.
Your score is
The average score is 78%
Restart quiz