CS411-Midterm
1 / 50
________ is an occurrence within a particular system or domain.
2 / 50
Polymorphism works on the basis that child class should have ______ feature/s of its parent class.
3 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
4 / 50
WPF stands for:
5 / 50
The default constructor initializes the integers with ___________ value.
6 / 50
Auto-implemented properties do not allow simplified syntax.
7 / 50
Graphical user interfaces and the event-driven model is not applied on which of the following?
8 / 50
Obsoleteattribute causes a ________ warning to appear.
9 / 50
__________ are inherited by classes which provide the real implementation.
10 / 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:
11 / 50
Clean room design is also called__________.
12 / 50
________ add declarative information to your programs.
13 / 50
Types of class members in C# are ________ and ________.
14 / 50
Events may live ________ events like in event logs.
15 / 50
_________ Method is used to move the file from one directory to another.
16 / 50
BAML is compressed representation of _________.
17 / 50
Indexers can take any number of ________.
18 / 50
The Main method returns a non-zero value which indicates the_____________.
19 / 50
Events are based on the principle of ____________.
20 / 50
Event-based programming is also known as:
21 / 50
A delegate is a reference to a method.
22 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
23 / 50
A class can inherit from ___________class/classes.
24 / 50
Ctor return any values and it initializes class members.
25 / 50
Interfaces define a contract.
26 / 50
Extension methods __________ access the private data members of the class in which they are extended.
27 / 50
Anonymous method is a method without a name.
28 / 50
All the members of interfaces are implicitly__________.
29 / 50
There is no order requirement on named parameters.
30 / 50
A (n) _____________is a subscription mechanism for events.
31 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
32 / 50
BAML stands for:
33 / 50
Clean room design is useful as a defense against __________.
34 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
35 / 50
A method performs an action in a series of statements, called a ______________.
36 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
37 / 50
Which is the right syntax to define an interface?
38 / 50
It is always possible to create an instance of a reference type.
39 / 50
___________ may contain events.
40 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
41 / 50
________ is built from request-response and it moves away from monolithic applications. Event-driven architecture (EDA)
42 / 50
XAML is a declarative programming language for creating and initializing objects.
43 / 50
Which of the following does NOT include in event processing operations?
44 / 50
Which of the following is/are not derived from “Control” class?
45 / 50
_________ allows to keep the user interface description and implementation separate.
46 / 50
Structs can not have destructors.
47 / 50
________ invoke derived class methods through base class reference during run-time.
48 / 50
Stathread is stand for:
49 / 50
Attribute parameters can be either positional parameters or named parameters.
50 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
Your score is
The average score is 78%
Restart quiz