CS411-Midterm
1 / 50
Attributes add ____________to your program.
2 / 50
The code given below is equivalent to _________. White
3 / 50
Which of the following is an entity that introduces event into the system?
4 / 50
To use kbhit() command, you need to include which header file in your program?
5 / 50
Reference types hold a reference to an object in memory.
6 / 50
________ contacts the service provider or the server.
7 / 50
Which of the following statements is TRUE about raw event?
8 / 50
Which of the following is an occurrence within a particular system or domain?
9 / 50
Wpf 3.5 released in__________.
10 / 50
Which of the following is/are not derived from “Control” class?
11 / 50
Clean room design is useful as a defense against __________.
12 / 50
BAML stands for:
13 / 50
A (n) _____________is a subscription mechanism for events.
14 / 50
Polymorphism needs the signatures to be the ________.
15 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
16 / 50
________ is built from request-response and it moves away from monolithic applications. Event-driven architecture (EDA)
17 / 50
___________ may contain events.
18 / 50
Indexers can take any number of ________.
19 / 50
There is/are _____ type(s) of padding in WPF element.
20 / 50
________ is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events.
21 / 50
Which of the following is built from request-response?
22 / 50
Ctor return any values and it initializes class members.
23 / 50
WPF stands for:
24 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
25 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
26 / 50
An initializer list can be used to use an alternate constructor.
27 / 50
Auto-implemented properties do not allow simplified syntax.
28 / 50
Interfaces define a contract.
29 / 50
Named parameters come before positional parameters.
30 / 50
________ operations are completed before the next operation can be started.
31 / 50
________ is a static class in the System namespace.
32 / 50
Attribute parameters can be either positional parameters or named parameters.
33 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
34 / 50
CLI stands for:
35 / 50
________ add declarative information to your programs.
36 / 50
Cast back to base type to call a/an ________ method of base.
37 / 50
At the time an event is fired, the _____________ methods will be invoked.
38 / 50
The ___________ method is used to read the whole file at once.
39 / 50
A method performs an action in a series of statements, called a ______________.
40 / 50
To delcare an anonymous method, you just use keyword “________”.
41 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
42 / 50
Static ctor exists to initialize class static members and called only ________.
43 / 50
The result of Exception can bring __________ in the program.
44 / 50
Stathread is stand for:
45 / 50
Default underlying type of an enum is ________.
46 / 50
___________methods do not have names.
47 / 50
Which of the following does NOT include in event processing operations?
48 / 50
49 / 50
"Situation" is an event occurrence that requires a (n) __________.
50 / 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:
Your score is
The average score is 78%
Restart quiz