CS411-Midterm
1 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
2 / 50
Auto-implemented properties do not allow simplified syntax.
3 / 50
Which of the following statements is TRUE about raw event?
4 / 50
Instances of value types do not have referential identity.
5 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
6 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
7 / 50
Attribute parameters can be either positional parameters or named parameters.
8 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
9 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
10 / 50
If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
11 / 50
Every __________ is represented by an event-object.
12 / 50
A method performs an action in a series of statements, called a ______________.
13 / 50
Named parameters come before positional parameters.
14 / 50
Which of the following grabs the “OK” button by only knowing its name?
15 / 50
Which of the following is/are not derived from “Control” class?
16 / 50
17 / 50
________ decouple producers and consumers.
18 / 50
19 / 50
Obsoleteattribute causes a ________ warning to appear.
20 / 50
Extension methods __________ access the private data members of the class in which they are extended.
21 / 50
A delegate is a reference to a method.
22 / 50
The “this” pointer in methods refers to the ________ on which the method is called.
23 / 50
_________types have the notion of referential identity.
24 / 50
___________ method reads the whole document in memory.
25 / 50
XML is a stricter version of ____________.
26 / 50
Events may live ________ events like in event logs.
27 / 50
Types of class members in C# are ________ and ________.
28 / 50
All the members of interfaces are implicitly__________.
29 / 50
Structs can not have destructors.
30 / 50
Wpf 3.5 released in__________.
31 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
32 / 50
Anonymous methods ____________ the code size.
33 / 50
___________methods do not have names.
34 / 50
The only __________ .Net language has an intrinsic understanding of dependency Properties.
35 / 50
Cast back to base type to call a/an ________ method of base.
36 / 50
An "object" element can have _________ type/s of children.
37 / 50
The initial name for C# was ___________.
38 / 50
__________ are inherited by classes which provide the real implementation.
39 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
40 / 50
Attributes add ____________to your program.
41 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
42 / 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?
43 / 50
Which statement is true?
44 / 50
“FrameworkElement” is the base class that adds support for __________.
45 / 50
_________ Method is used to move the file from one directory to another.
46 / 50
Using xmldocument, the order is required.
47 / 50
The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.
48 / 50
Wait for a single event is ____________operation.
49 / 50
The common type system of C# has ________ types and ________ types.
50 / 50
An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.
Your score is
The average score is 78%
Restart quiz