CS411-Midterm
1 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
2 / 50
Extension methods __________ access the private data members of the class in which they are extended.
3 / 50
Cast back to base type to call a/an ________ method of base.
4 / 50
________ have already happened whereas ________ are asking something to happen.
5 / 50
Which of the following is/are not derived from “Control” class?
6 / 50
_________ is an event that is introduced into an event processing system by an event producer.
7 / 50
Cool stands for_________.
8 / 50
The base class will have the _____ functionality of all derived classes.
9 / 50
Which of the following is an occurrence within a particular system or domain?
10 / 50
Event-based programming is also known as:
11 / 50
A delegate is a reference to a method.
12 / 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 __________.
13 / 50
During the program execution, program can be stopped with the help of _________.
14 / 50
Default underlying type of an enum is ________.
15 / 50
_________ are called by garbage collector.
16 / 50
The ___________ method is used to read the whole file at once.
17 / 50
The using directive can be used to rename a long namespace in the current file.
18 / 50
A method performs an action in a series of statements, called a ______________.
19 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
20 / 50
Anonymous methods ____________ the code size.
21 / 50
________ operations are completed before the next operation can be started.
22 / 50
Indexers can take any number of ________.
23 / 50
Which is the right syntax to define an interface?
24 / 50
There is no order requirement on named parameters.
25 / 50
Dependency properties are represented by _______________.
26 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
27 / 50
________ is a static class in the System namespace.
28 / 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?
29 / 50
Structs can not have destructors.
30 / 50
Instances of value types do not have referential identity.
31 / 50
___________ may contain events.
32 / 50
If we exclude the mechanism of calling the objects through name then:
33 / 50
"Console" is a/an __________ class in the "System" namespace.
34 / 50
Default value of first member is ________.
35 / 50
An event is a list of___________.
36 / 50
Which property will be used if we want to restrict the user to don’t increase the width of a WPF element from a specific amount?
37 / 50
XAML is a declarative programming language for creating and initializing objects.
38 / 50
Every __________ is represented by an event-object.
39 / 50
An initializer list can be used to use an alternate constructor.
40 / 50
__________ is an entity that receives events from the system.
41 / 50
Obsoleteattribute causes a ________ warning to appear.
42 / 50
A (n) ____________ is a set of associated events.
43 / 50
At the time an event is fired, the _____________ methods will be invoked.
44 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
45 / 50
If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
46 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
47 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
48 / 50
________ events may or may not relate to an actual occurrence.
49 / 50
C# is a _________ and .NET is a _________.
50 / 50
Events are based on the principle of ____________.
Your score is
The average score is 78%
Restart quiz