CS411-Midterm
1 / 50
The default constructor initializes the integers with ___________ value.
2 / 50
Attributes can be used at design time by application development tools.
3 / 50
Enum of one type may not be ________ assigned to an enum of another type.
4 / 50
________ is a static class in the System namespace.
5 / 50
Events and ________ work hand in hand.
6 / 50
__________ events may or may not relate to an actual occurrence
7 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
8 / 50
Clean room design is also called__________.
9 / 50
A (n) _____________is a subscription mechanism for events.
10 / 50
Cast back to base type to call a/an ________ method of base.
11 / 50
Indexers can take any number of ________.
12 / 50
XML is a stricter version of ____________.
13 / 50
If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
14 / 50
Default underlying type of an enum is ________.
15 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
16 / 50
BAML is compressed representation of _________.
17 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
18 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
19 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
20 / 50
There are ________ methods to read XML document.
21 / 50
Events are based on the principle of ____________.
22 / 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:
23 / 50
Structs can not have destructors.
24 / 50
________ invoke derived class methods through base class reference during run-time.
25 / 50
Object variables are references to the ________ object not the object themselves.
26 / 50
Wpf 3.5 released in__________.
27 / 50
Which of the following is/are not derived from “Control” class?
28 / 50
If we exclude the mechanism of calling the objects through name then:
29 / 50
Which of the following grabs the “OK” button by only knowing its name?
30 / 50
_________types have the notion of referential identity.
31 / 50
Derived class is exactly the same as base.
32 / 50
The initial name for C# was ___________.
33 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
34 / 50
An initializer list can be used to use an alternate constructor.
35 / 50
When the data is passed from one place to another in chunks, this data is called __________.
36 / 50
________ contacts the service provider or the server.
37 / 50
AML is compressed representation of _________.
38 / 50
Windows Presentation Foundations (WPF) was publicly announced in ________.
39 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
40 / 50
Visual Studio has a snippet called __________ that automatically expands into a definition of a dependency property, which makes defining one much faster than doing all the typing yourself!
41 / 50
Which is the right syntax to define an interface?
42 / 50
Value-types hold their value in ________where they are declared.
43 / 50
__________let any classes behave like an array.
44 / 50
Which statement is true?
45 / 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?
46 / 50
________ decouple producers and consumers.
47 / 50
________event consumer is an entity at the edge of an event processing system that receives events from the system.
48 / 50
___________ may contain events.
49 / 50
The common type system of C# has ________ types and ________ types.
50 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
Your score is
The average score is 78%
Restart quiz