CS411-Midterm
1 / 50
Attributes can be used at design time by application development tools.
2 / 50
Which is the right syntax to define an interface?
3 / 50
________ add declarative information to your programs.
4 / 50
__________ is an entity that receives events from the system.
5 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
6 / 50
A (n) _____________is a subscription mechanism for events.
7 / 50
Obsoleteattribute causes a ________ warning to appear.
8 / 50
Cool stands for_________.
9 / 50
_________ Method is used to move the file from one directory to another.
10 / 50
Syntax of struct and class are very ________.
11 / 50
Reference types hold a reference to an object in memory.
12 / 50
To delcare an anonymous method, you just use keyword “________”.
13 / 50
There is no order requirement on named parameters.
14 / 50
________ invoke derived class methods through base class reference during run-time.
15 / 50
Attributes of a program can be queried at run time through __________.
16 / 50
The base class will have the _____ functionality of all derived classes.
17 / 50
It is always possible to create an instance of a reference type.
18 / 50
If we exclude the mechanism of calling the objects through name then:
19 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
20 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
21 / 50
Suppose we want to restrict the user to don’t decrease the height of a WPF element from a specific amount then which property will be used?
22 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
23 / 50
There is/are _____ type(s) of padding in WPF element.
24 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
25 / 50
Auto-implemented properties do not allow simplified syntax.
26 / 50
__________let any classes behave like an array.
27 / 50
A single exception can be handled differently.
28 / 50
________event consumer is an entity at the edge of an event processing system that receives events from the system.
29 / 50
Dependency properties are represented by _______________.
30 / 50
An event is a list of___________.
31 / 50
"Console" is a/an __________ class in the "System" namespace.
32 / 50
Instances of value types do not have referential identity.
33 / 50
Visual Studio has a snippet called __________ that automatically expands into a definition of a dependency property, which makes defining one much faster than doing all the typing yourself!
34 / 50
An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.
35 / 50
___________ reads entire document in memory.
36 / 50
37 / 50
Which of the following events may or may not relate to an actual occurrence?
38 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
39 / 50
A (n) ____________ is a set of associated events.
40 / 50
There are ________ methods to read XML document.
41 / 50
WPF stands for:
42 / 50
An initializer list can be used to use an alternate constructor.
43 / 50
A method performs an action in a series of statements, called a ______________.
44 / 50
Which of the following grabs the “OK” button by only knowing its name?
45 / 50
Interfaces define a contract.
46 / 50
________ is basically array of arrays.
47 / 50
Which of the following is not a feature of "C#"?
48 / 50
Attributes add ____________to your program.
49 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
50 / 50
“FrameworkElement” is the base class that adds support for __________.
Your score is
The average score is 78%
Restart quiz