CS411-Midterm
1 / 50
Obsoleteattribute causes a ________ warning to appear.
2 / 50
An event is a list of___________.
3 / 50
An initializer list can be used to use an alternate constructor.
4 / 50
________ decouple producers and consumers.
5 / 50
The code given below is equivalent to _________. White
6 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
7 / 50
The only __________ .Net language has an intrinsic understanding of dependency Properties.
8 / 50
Event-based programming is also known as:
9 / 50
The using directive can be used to rename a long namespace in the current file.
10 / 50
A single exception can be handled differently.
11 / 50
Wpf 3.5 released in__________.
12 / 50
___________ may contain events.
13 / 50
Attribute parameters can be either positional parameters or named parameters.
14 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
15 / 50
C# is a _________ and .NET is a _________.
16 / 50
A customer order can be represented as ________.
17 / 50
Events and ________ work hand in hand.
18 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
19 / 50
Anonymous method is a method without a name.
20 / 50
A compiled C# file is called ________.
21 / 50
System.Windows.Controls.Button b = new System.Windows.Controls.Button(); b.Content = "OK"; For the above code (written in C#) the corresponding XAML code will be:
22 / 50
Attributes can be used at design time by application development tools.
23 / 50
Instances of value types do not have referential identity.
24 / 50
An "object" element can have _________ type/s of children.
25 / 50
__________let any classes behave like an array.
26 / 50
Default value of first member is ________.
27 / 50
A delegate is a reference to a method.
28 / 50
Default underlying type of an enum is ________.
29 / 50
WPF4 was released in _________________________.
30 / 50
Attributes add ____________to your program.
31 / 50
Which of the following does NOT include in event processing operations?
32 / 50
__________ is an entity that receives events from the system.
33 / 50
Static ctor exists to initialize class static members and called only ________.
34 / 50
BAML is compressed representation of _________.
35 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
36 / 50
________ is a static class in the System namespace.
37 / 50
Enum of one type may not be ________ assigned to an enum of another type.
38 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
39 / 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?
40 / 50
XML is a stricter version of ____________.
41 / 50
If we exclude the mechanism of calling the objects through name then:
42 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
43 / 50
IsNumeric(string s) is a function of ______________ class.
44 / 50
Auto-implemented properties do not allow simplified syntax.
45 / 50
Which of the following statements is TRUE about raw event?
46 / 50
The result of Exception can bring __________ in the program.
47 / 50
"Situation" is an event occurrence that requires a (n) __________.
48 / 50
________ events may or may not relate to an actual occurrence.
49 / 50
50 / 50
A (n) _____________is a subscription mechanism for events.
Your score is
The average score is 78%
Restart quiz