CS411-Midterm
1 / 50
Static ctor exists to initialize class static members and has many parameters.
2 / 50
Attributes of a program can be queried at run time through __________.
3 / 50
__________ is an entity that receives events from the system.
4 / 50
An initializer list can be used to use an alternate constructor.
5 / 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?
6 / 50
There is no order requirement on named parameters.
7 / 50
________ is an occurrence within a particular system or domain.
8 / 50
________ events may or may not relate to an actual occurrence.
9 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
10 / 50
Which of the following is an occurrence within a particular system or domain?
11 / 50
Named parameters come before positional parameters.
12 / 50
Not implementing some methods of the interface in the class is _________________.
13 / 50
Obsoleteattribute causes a ________ warning to appear.
14 / 50
A single exception can be handled differently.
15 / 50
Which statement is True about interfaces?
16 / 50
___________ reads entire document in memory.
17 / 50
To delcare an anonymous method, you just use keyword “________”.
18 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
19 / 50
"Console" is a/an __________ class in the "System" namespace.
20 / 50
_________types have the notion of referential identity.
21 / 50
___________ may contain events.
22 / 50
Zero-based index is used in jagged arrays.
23 / 50
_________ allows to keep the user interface description and implementation separate.
24 / 50
________ decouple producers and consumers.
25 / 50
The base class will have the _____ functionality of all derived classes.
26 / 50
An "object" element can have _________ type/s of children.
27 / 50
Static ctor exists to initialize class static members and called only ________.
28 / 50
Windows Presentation Foundations (WPF) was publicly announced in ________.
29 / 50
Namespaces do not allow name reuse.
30 / 50
CLI stands for:
31 / 50
________ processing is computing that performs operations on events.
32 / 50
An event is a list of___________.
33 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
34 / 50
Types of class members in C# are ________ and ________.
35 / 50
________ add declarative information to your programs.
36 / 50
_________ is an event that is introduced into an event processing system by an event producer.
37 / 50
The result of Exception can bring __________ in the program.
38 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
39 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
40 / 50
Extension methods __________ access the private data members of the class in which they are extended.
41 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
42 / 50
Wait for a single event is ____________operation.
43 / 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!
44 / 50
At the time an event is fired, the _____________ methods will be invoked.
45 / 50
Clean room design is useful as a defense against __________.
46 / 50
Which of the following grabs the “OK” button by only knowing its name?
47 / 50
48 / 50
Which of the following is an entity that introduces event into the system?
49 / 50
Instances of value types do not have referential identity.
50 / 50
Which is the right syntax to define an interface?
Your score is
The average score is 78%
Restart quiz