CS411-Midterm
1 / 50
An initializer list can be used to use an alternate constructor.
2 / 50
Graphical user interfaces and the event-driven model is not applied on which of the following?
3 / 50
Wpf 3.5 released in__________.
4 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
5 / 50
Suppose we want to restrict the user to don’t decrease the height of a WPF element from a specific amount then which property will be used?
6 / 50
Anonymous methods ____________ the code size.
7 / 50
___________ reads entire document in memory.
8 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
9 / 50
Which of the following does NOT include in event processing operations?
10 / 50
Cast back to base type to call a/an ________ method of base.
11 / 50
The using directive can be used to rename a long namespace in the current file.
12 / 50
_________ are called by garbage collector.
13 / 50
Which of the following is not a feature of "C#"?
14 / 50
Event-based programming is also known as:
15 / 50
Derived Event is:
16 / 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?
17 / 50
The initial name for C# was ___________.
18 / 50
Attribute parameters can be either positional parameters or named parameters.
19 / 50
Which of the following is/are not derived from “Control” class?
20 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
21 / 50
g++ is a command of ____________.
22 / 50
Events and ________ work hand in hand.
23 / 50
In event-driven architecture (EDA), ____________ sends event to ______________.
24 / 50
Polymorphism needs the signatures to be the ________.
25 / 50
WPF4 was released in _________________________.
26 / 50
The only __________ .Net language has an intrinsic understanding of dependency Properties.
27 / 50
___________ may contain events.
28 / 50
Auto-implemented properties do not allow simplified syntax.
29 / 50
Default value of first member is ________.
30 / 50
__________ is an entity that receives events from the system.
31 / 50
"Console" is a/an __________ class in the "System" namespace.
32 / 50
________ processing is computing that performs operations on events.
33 / 50
An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.
34 / 50
Extension methods __________ access the private data members of the class in which they are extended.
35 / 50
Events are based on the principle of ____________.
36 / 50
Cool stands for_________.
37 / 50
Value-types hold their value in ________where they are declared.
38 / 50
C# is a _________ and .NET is a _________.
39 / 50
________ contacts the service provider or the server.
40 / 50
Reference types hold a reference to an object in memory.
41 / 50
A method performs an action in a series of statements, called a ______________.
42 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
43 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
44 / 50
BAML is compressed representation of _________.
45 / 50
"Situation" is an event occurrence that requires a (n) __________.
46 / 50
In context of XAML child element rules, if the child is plain text and a type converter exists to transform the child into the parent type (and no properties are set on the parent element), treat the child as the input to the type converter and use the output as the __________.
47 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
48 / 50
XML is a stricter version of ____________.
49 / 50
Multiple ________ are conventionally stored in multiple files.
50 / 50
Object variables are references to the ________ object not the object themselves.
Your score is
The average score is 78%
Restart quiz