CS411-Midterm
1 / 50
________ events may or may not relate to an actual occurrence.
2 / 50
A delegate is a reference to a method.
3 / 50
________ have already happened whereas ________ are asking something to happen.
4 / 50
Instances of value types do not have referential identity.
5 / 50
__________ events may or may not relate to an actual occurrence
6 / 50
It is always possible to create an instance of a reference type.
7 / 50
The base class will have the _____ functionality of all derived classes.
8 / 50
A customer order can be represented as ________.
9 / 50
The using directive can be used to rename a long namespace in the current file.
10 / 50
AML is compressed representation of _________.
11 / 50
Events can be ______________.
12 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
13 / 50
________ add declarative information to your programs.
14 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
15 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
16 / 50
Which of the following is/are not derived from “Control” class?
17 / 50
Wait for a single event is ____________operation.
18 / 50
Attributes are generally applied ________ in front of type and type member declarations.
19 / 50
Extension methods __________ access the private data members of the class in which they are extended.
20 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
21 / 50
An event is a list of___________.
22 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
23 / 50
Default underlying type of an enum is ________.
24 / 50
Indexers can take any number of ________.
25 / 50
The Main method returns a non-zero value which indicates the_____________.
26 / 50
_________ are called by garbage collector.
27 / 50
IsNumeric(string s) is a function of ______________ class.
28 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
29 / 50
WPF4 was released in _________________________.
30 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
31 / 50
Not implementing some methods of the interface in the class is _________________.
32 / 50
CLI stands for:
33 / 50
An initializer list can be used to use an alternate constructor.
34 / 50
Obsoleteattribute causes a ________ warning to appear.
35 / 50
Anonymous method is a method without a name.
36 / 50
Anonymous methods ____________ the code size.
37 / 50
A compiled C# file is called ________.
38 / 50
________ decouple producers and consumers.
39 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
40 / 50
The code given below is equivalent to _________. White
41 / 50
Which of the following is not a feature of "C#"?
42 / 50
During the program execution, program can be stopped with the help of _________.
43 / 50
_________types have the notion of referential identity.
44 / 50
Event-based programming is also known as:
45 / 50
Static ctor exists to initialize class static members and has many parameters.
46 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
47 / 50
All the members of interfaces are implicitly__________.
48 / 50
Extension methods can only be defined in ______________ class.
49 / 50
___________ method reads the whole document in memory.
50 / 50
Cool stands for_________.
Your score is
The average score is 78%
Restart quiz