CS411-Midterm
1 / 50
Extension methods __________ access the private data members of the class in which they are extended.
2 / 50
Value-types hold their value in ________where they are declared.
3 / 50
__________ events may or may not relate to an actual occurrence
4 / 50
A class can inherit from ___________class/classes.
5 / 50
Named parameters come before positional parameters.
6 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
7 / 50
A compiled C# file is called ________.
8 / 50
BAML stands for:
9 / 50
________ events may or may not relate to an actual occurrence.
10 / 50
An event is a list of___________.
11 / 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?
12 / 50
Namespaces do not allow name reuse.
13 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
14 / 50
"Console" is a/an __________ class in the "System" namespace.
15 / 50
“FrameworkElement” is the base class that adds support for __________.
16 / 50
Derived Event is:
17 / 50
Clean room design is useful as a defense against __________.
18 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
19 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
20 / 50
21 / 50
Which statement is true?
22 / 50
To delcare an anonymous method, you just use keyword “________”.
23 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
24 / 50
Static ctor exists to initialize class static members and has many parameters.
25 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
26 / 50
________ invoke derived class methods through base class reference during run-time.
27 / 50
Auto-implemented properties do not allow simplified syntax.
28 / 50
__________let any classes behave like an array.
29 / 50
Dependency properties are represented by _______________.
30 / 50
________ is basically array of arrays.
31 / 50
Not implementing some methods of the interface in the class is _________________.
32 / 50
Indexers can take any number of ________.
33 / 50
Attributes add ____________to your program.
34 / 50
Which of the following does NOT include in event processing operations?
35 / 50
Obsoleteattribute causes a ________ warning to appear.
36 / 50
A delegate is a reference to a method.
37 / 50
_________ are called by garbage collector.
38 / 50
Events and ________ work hand in hand.
39 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
40 / 50
_________ are unique types that allow you to assign symbolic names to integral values.
41 / 50
Events may live ________ events like in event logs.
42 / 50
Attributes can be used at design time by application development tools.
43 / 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!
44 / 50
Stathread is stand for:
45 / 50
Wait for a single event is ____________operation.
46 / 50
Anonymous method is a method without a name.
47 / 50
If we exclude the mechanism of calling the objects through name then:
48 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
49 / 50
At the time an event is fired, the _____________ methods will be invoked.
50 / 50
The result of Exception can bring __________ in the program.
Your score is
The average score is 78%
Restart quiz