CS411-Midterm
1 / 50
A delegate is a reference to a method.
2 / 50
All the members of interfaces are implicitly__________.
3 / 50
BAML stands for:
4 / 50
Namespaces do not allow name reuse.
5 / 50
Events are based on the principle of ____________.
6 / 50
Cool stands for_________.
7 / 50
Which of the following is built from request-response?
8 / 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?
9 / 50
Multiple ________ are conventionally stored in multiple files.
10 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
11 / 50
A compiled C# file is called ________.
12 / 50
Polymorphism needs the signatures to be the ________.
13 / 50
IsNumeric(string s) is a function of ______________ class.
14 / 50
Auto-implemented properties do not allow simplified syntax.
15 / 50
There is/are _____ type(s) of padding in WPF element.
16 / 50
________ decouple producers and consumers.
17 / 50
Which statement is true?
18 / 50
Syntax of struct and class are very ________.
19 / 50
There are ________ methods to read XML document.
20 / 50
___________methods do not have names.
21 / 50
The common type system of C# has ________ types and ________ types.
22 / 50
WPF stands for:
23 / 50
Which of the following is/are not derived from “Control” class?
24 / 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 __________.
25 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
26 / 50
It is always possible to create an instance of a reference type.
27 / 50
WPF4 was released in _________________________.
28 / 50
Which of the following events may or may not relate to an actual occurrence?
29 / 50
________ is basically array of arrays.
30 / 50
A single exception can be handled differently.
31 / 50
Anonymous methods ____________ the code size.
32 / 50
AML is compressed representation of _________.
33 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
34 / 50
__________ are inherited by classes which provide the real implementation.
35 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
36 / 50
Wpf 3.5 released in__________.
37 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
38 / 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?
39 / 50
C# is a _________ and .NET is a _________.
40 / 50
“FrameworkElement” is the base class that adds support for __________.
41 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
42 / 50
Reference types hold a reference to an object in memory.
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
Extension methods __________ access the private data members of the class in which they are extended.
45 / 50
The initial name for C# was ___________.
46 / 50
47 / 50
Events can be ______________.
48 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
49 / 50
The Main method returns a non-zero value which indicates the_____________.
50 / 50
An event is a list of___________.
Your score is
The average score is 78%
Restart quiz