CS411-Midterm
1 / 50
System.Windows.Controls.Button b = new System.Windows.Controls.Button(); b.Content = "OK"; For the above code (written in C#) the corresponding XAML code will be:
2 / 50
___________methods do not have names.
3 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
4 / 50
Which of the following is/are not derived from “Control” class?
5 / 50
Ctor return any values and it initializes class members.
6 / 50
Anonymous methods ____________ the code size.
7 / 50
There is/are _____ type(s) of padding in WPF element.
8 / 50
The Main method returns a non-zero value which indicates the_____________.
9 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
10 / 50
Attributes can be used at design time by application development tools.
11 / 50
_________ is an event that is introduced into an event processing system by an event producer.
12 / 50
The “this” pointer in methods refers to the ________ on which the method is called.
13 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
14 / 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!
15 / 50
Every __________ is represented by an event-object.
16 / 50
Obsoleteattribute causes a ________ warning to appear.
17 / 50
Static ctor exists to initialize class static members and has many parameters.
18 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
19 / 50
Which of the following is an entity that introduces event into the system?
20 / 50
IsNumeric(string s) is a function of ______________ class.
21 / 50
A (n) ____________ is a set of associated events.
22 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
23 / 50
Auto-implemented properties do not allow simplified syntax.
24 / 50
The ___________ method is used to read the whole file at once.
25 / 50
An indexer enables your class to be treated like a/an ________.
26 / 50
It is always possible to create an instance of a reference type.
27 / 50
Console class can reside in multiple libraries.
28 / 50
Clean room design is also called__________.
29 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
30 / 50
Default value of first member is ________.
31 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
32 / 50
The only __________ .Net language has an intrinsic understanding of dependency Properties.
33 / 50
Interfaces define a contract.
34 / 50
Named parameters come before positional parameters.
35 / 50
If we exclude the mechanism of calling the objects through name then:
36 / 50
The using directive can be used to rename a long namespace in the current file.
37 / 50
38 / 50
All the members of interfaces are implicitly__________.
39 / 50
Attributes of a program can be queried at run time through __________.
40 / 50
An "object" element can have _________ type/s of children.
41 / 50
Attributes are generally applied ________ in front of type and type member declarations.
42 / 50
Events can be ______________.
43 / 50
_________ allows to keep the user interface description and implementation separate.
44 / 50
“FrameworkElement” is the base class that adds support for __________.
45 / 50
BAML stands for:
46 / 50
A compiled C# file is called ________.
47 / 50
Reference types hold a reference to an object in memory.
48 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
49 / 50
________ processing operations include reading, creating, transforming, and deleting events.
50 / 50
__________ are inherited by classes which provide the real implementation.
Your score is
The average score is 78%
Restart quiz