CS411-Midterm
1 / 50
A (n) _____________is a subscription mechanism for events.
2 / 50
________ is a static class in the System namespace.
3 / 50
Attributes can be used at design time by application development tools.
4 / 50
Windows Presentation Foundations (WPF) was publicly announced in ________.
5 / 50
____________ is a base class similar to UIElement but for document-related pieces of content that don’t have rendering behavior on their own.
6 / 50
A single exception can be handled differently.
7 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
8 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
9 / 50
Which is the right syntax to define an interface?
10 / 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 __________.
11 / 50
Which statement is True about interfaces?
12 / 50
An "object" element can have _________ type/s of children.
13 / 50
Events may live ________ events like in event logs.
14 / 50
Reference types hold a reference to an object in memory.
15 / 50
BAML stands for:
16 / 50
________ invoke derived class methods through base class reference during run-time.
17 / 50
Auto-implemented properties do not allow simplified syntax.
18 / 50
Static ctor exists to initialize class static members and called only ________.
19 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
20 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
21 / 50
If we exclude the mechanism of calling the objects through name then:
22 / 50
Default underlying type of an enum is ________.
23 / 50
Attribute parameters can be either positional parameters or named parameters.
24 / 50
________event consumer is an entity at the edge of an event processing system that receives events from the system.
25 / 50
"Console" is a/an __________ class in the "System" namespace.
26 / 50
A method performs an action in a series of statements, called a ______________.
27 / 50
Indexers can take any number of ________.
28 / 50
________ add declarative information to your programs.
29 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
30 / 50
If we require to set components in table (column and row) format, then which panel will be used?
31 / 50
The only __________ .Net language has an intrinsic understanding of dependency Properties.
32 / 50
IsNumeric(string s) is a function of ______________ class.
33 / 50
Events can be ______________.
34 / 50
Dependency properties are represented by _______________.
35 / 50
Derived class is exactly the same as base.
36 / 50
Attributes add ____________to your program.
37 / 50
__________ events may or may not relate to an actual occurrence
38 / 50
The using directive can be used to rename a long namespace in the current file.
39 / 50
The base class will have the _____ functionality of all derived classes.
40 / 50
________ contacts the service provider or the server.
41 / 50
_________ allows to keep the user interface description and implementation separate.
42 / 50
To use kbhit() command, you need to include which header file in your program?
43 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
44 / 50
Which of the following is built from request-response?
45 / 50
A compiled C# file is called ________.
46 / 50
Which of the following statements is TRUE about raw event?
47 / 50
There is/are _____ type(s) of padding in WPF element.
48 / 50
In event-driven architecture (EDA), ____________ sends event to ______________.
49 / 50
A delegate is a reference to a method.
50 / 50
To delcare an anonymous method, you just use keyword “________”.
Your score is
The average score is 78%
Restart quiz