CS411-Midterm
1 / 50
To delcare an anonymous method, you just use keyword “________”.
2 / 50
The Main method returns a non-zero value which indicates the_____________.
3 / 50
_________ are called by garbage collector.
4 / 50
________ processing operations include reading, creating, transforming, and deleting events.
5 / 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 __________.
6 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
7 / 50
Enum of one type may not be ________ assigned to an enum of another type.
8 / 50
Windows Presentation Foundations (WPF) was publicly announced in ________.
9 / 50
g++ is a command of ____________.
10 / 50
Value-types hold their value in ________where they are declared.
11 / 50
________ events may or may not relate to an actual occurrence.
12 / 50
Wait for a single event is ____________operation.
13 / 50
XAML is a declarative programming language for creating and initializing objects.
14 / 50
Obsoleteattribute causes a ________ warning to appear.
15 / 50
Indexers can take any number of ________.
16 / 50
Which of the following is/are not derived from “Control” class?
17 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
18 / 50
A customer order can be represented as ________.
19 / 50
A (n) ____________ is a set of associated events.
20 / 50
Which of the following grabs the “OK” button by only knowing its name?
21 / 50
Default value of first member is ________.
22 / 50
Which of the following does NOT include in event processing operations?
23 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
24 / 50
_________ Method is used to move the file from one directory to another.
25 / 50
Clean room design is also called__________.
26 / 50
Events and ________ work hand in hand.
27 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
28 / 50
___________ reads entire document in memory.
29 / 50
There are ________ methods to read XML document.
30 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
31 / 50
Interfaces define a contract.
32 / 50
During the program execution, program can be stopped with the help of _________.
33 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
34 / 50
Anonymous methods ____________ the code size.
35 / 50
Suppose we want to restrict the user to don’t decrease the height of a WPF element from a specific amount then which property will be used?
36 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
37 / 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:
38 / 50
Which statement is True about interfaces?
39 / 50
____________ is a base class similar to UIElement but for document-related pieces of content that don’t have rendering behavior on their own.
40 / 50
__________ events may or may not relate to an actual occurrence
41 / 50
Every __________ is represented by an event-object.
42 / 50
The ___________ method is used to read the whole file at once.
43 / 50
IsNumeric(string s) is a function of ______________ class.
44 / 50
CLI stands for:
45 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
46 / 50
If we exclude the mechanism of calling the objects through name then:
47 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
48 / 50
A class can inherit from ___________class/classes.
49 / 50
50 / 50
Instances of value types do not have referential identity.
Your score is
The average score is 78%
Restart quiz