CS411-Midterm
1 / 50
The initial name for C# was ___________.
2 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
3 / 50
AML is compressed representation of _________.
4 / 50
CLI stands for:
5 / 50
A (n) _____________is a subscription mechanism for events.
6 / 50
XAML is a declarative programming language for creating and initializing objects.
7 / 50
If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
8 / 50
________ decouple producers and consumers.
9 / 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 __________.
10 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
11 / 50
The base class will have the _____ functionality of all derived classes.
12 / 50
The code given below is equivalent to _________. White
13 / 50
Value-types hold their value in ________where they are declared.
14 / 50
BAML is compressed representation of _________.
15 / 50
Extension methods can only be defined in ______________ class.
16 / 50
Default value of first member is ________.
17 / 50
At the time an event is fired, the _____________ methods will be invoked.
18 / 50
__________ is an entity that receives events from the system.
19 / 50
The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.
20 / 50
Which of the following does NOT include in event processing operations?
21 / 50
_________types have the notion of referential identity.
22 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
23 / 50
Which of the following is an occurrence within a particular system or domain?
24 / 50
__________let any classes behave like an array.
25 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
26 / 50
All the members of interfaces are implicitly__________.
27 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
28 / 50
IsNumeric(string s) is a function of ______________ class.
29 / 50
An event is a list of___________.
30 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
31 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
32 / 50
Namespaces do not allow name reuse.
33 / 50
________ add declarative information to your programs.
34 / 50
A customer order can be represented as ________.
35 / 50
Which of the following grabs the “OK” button by only knowing its name?
36 / 50
Auto-implemented properties do not allow simplified syntax.
37 / 50
The common type system of C# has ________ types and ________ types.
38 / 50
g++ is a command of ____________.
39 / 50
_________ are unique types that allow you to assign symbolic names to integral values.
40 / 50
The Main method returns a non-zero value which indicates the_____________.
41 / 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?
42 / 50
Attributes of a program can be queried at run time through __________.
43 / 50
Named parameters come before positional parameters.
44 / 50
Cool stands for_________.
45 / 50
An initializer list can be used to use an alternate constructor.
46 / 50
Obsoleteattribute causes a ________ warning to appear.
47 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
48 / 50
If we require to set components in table (column and row) format, then which panel will be used?
49 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
50 / 50
Cast back to base type to call a/an ________ method of base.
Your score is
The average score is 78%
Restart quiz