CS411-Midterm
1 / 50
__________let any classes behave like an array.
2 / 50
Extension methods __________ access the private data members of the class in which they are extended.
3 / 50
Types of class members in C# are ________ and ________.
4 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
5 / 50
Which of the following is/are not derived from “Control” class?
6 / 50
An "object" element can have _________ type/s of children.
7 / 50
Stathread is stand for:
8 / 50
Console class can reside in multiple libraries.
9 / 50
_________types have the notion of referential identity.
10 / 50
__________ events may or may not relate to an actual occurrence
11 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
12 / 50
_________ Method is used to move the file from one directory to another.
13 / 50
Multiple ________ are conventionally stored in multiple files.
14 / 50
It is always possible to create an instance of a reference type.
15 / 50
WPF4 was released in _________________________.
16 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
17 / 50
Every __________ is represented by an event-object.
18 / 50
Instances of value types do not have referential identity.
19 / 50
BAML stands for:
20 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
21 / 50
AML is compressed representation of _________.
22 / 50
23 / 50
The base class will have the _____ functionality of all derived classes.
24 / 50
Obsoleteattribute causes a ________ warning to appear.
25 / 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?
26 / 50
___________ may contain events.
27 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
28 / 50
To delcare an anonymous method, you just use keyword “________”.
29 / 50
The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.
30 / 50
WPF stands for:
31 / 50
________ operations are completed before the next operation can be started.
32 / 50
To use kbhit() command, you need to include which header file in your program?
33 / 50
All the members of interfaces are implicitly__________.
34 / 50
Static ctor exists to initialize class static members and called only ________.
35 / 50
An event is a list of___________.
36 / 50
Clean room design is useful as a defense against __________.
37 / 50
Interfaces define a contract.
38 / 50
Which of the following events may or may not relate to an actual occurrence?
39 / 50
Which of the following does NOT include in event processing operations?
40 / 50
C# is a _________ and .NET is a _________.
41 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
42 / 50
________ events may or may not relate to an actual occurrence.
43 / 50
Polymorphism works on the basis that child class should have ______ feature/s of its parent class.
44 / 50
A (n) ____________ is a set of associated events.
45 / 50
Default underlying type of an enum is ________.
46 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
47 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
48 / 50
If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
49 / 50
A (n) _____________is a subscription mechanism for events.
50 / 50
The ___________ method is used to read the whole file at once.
Your score is
The average score is 78%
Restart quiz