CS411-Midterm
1 / 50
Attributes add ____________to your program.
2 / 50
Named parameters come before positional parameters.
3 / 50
C# is a _________ and .NET is a _________.
4 / 50
Instances of value types do not have referential identity.
5 / 50
The code given below is equivalent to _________. White
6 / 50
The base class will have the _____ functionality of all derived classes.
7 / 50
Dependency properties are represented by _______________.
8 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
9 / 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?
10 / 50
Attributes of a program can be queried at run time through __________.
11 / 50
An event is a list of___________.
12 / 50
________ have already happened whereas ________ are asking something to happen.
13 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
14 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
15 / 50
Which statement is true?
16 / 50
A (n) _____________is a subscription mechanism for events.
17 / 50
Auto-implemented properties do not allow simplified syntax.
18 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
19 / 50
It is always possible to create an instance of a reference type.
20 / 50
Indexers can take any number of ________.
21 / 50
Wpf 3.5 released in__________.
22 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
23 / 50
_________ Method is used to move the file from one directory to another.
24 / 50
Types of class members in C# are ________ and ________.
25 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
26 / 50
Ctor return any values and it initializes class members.
27 / 50
The only __________ .Net language has an intrinsic understanding of dependency Properties.
28 / 50
Obsoleteattribute causes a ________ warning to appear.
29 / 50
Console class can reside in multiple libraries.
30 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
31 / 50
Interfaces define a contract.
32 / 50
g++ is a command of ____________.
33 / 50
Which of the following is an entity that introduces event into the system?
34 / 50
Which of the following grabs the “OK” button by only knowing its name?
35 / 50
Which of the following does NOT include in event processing operations?
36 / 50
Which of the following is/are not derived from “Control” class?
37 / 50
There are ________ methods to read XML document.
38 / 50
________ events may or may not relate to an actual occurrence.
39 / 50
Every __________ is represented by an event-object.
40 / 50
Which of the following is not a feature of "C#"?
41 / 50
Enum of one type may not be ________ assigned to an enum of another type.
42 / 50
________ decouple producers and consumers.
43 / 50
Attribute parameters can be either positional parameters or named parameters.
44 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
45 / 50
________ is basically array of arrays.
46 / 50
Static ctor exists to initialize class static members and has many parameters.
47 / 50
Clean room design is also called__________.
48 / 50
To delcare an anonymous method, you just use keyword “________”.
49 / 50
Reference types hold a reference to an object in memory.
50 / 50
There is no order requirement on named parameters.
Your score is
The average score is 78%
Restart quiz