CS411-Midterm
1 / 50
All the members of interfaces are implicitly__________.
2 / 50
Events can be ______________.
3 / 50
Namespaces do not allow name reuse.
4 / 50
___________ may contain events.
5 / 50
XAML is a declarative programming language for creating and initializing objects.
6 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
7 / 50
A customer order can be represented as ________.
8 / 50
Default underlying type of an enum is ________.
9 / 50
Wait for a single event is ____________operation.
10 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
11 / 50
The code given below is equivalent to _________. White
12 / 50
Which of the following is/are not derived from “Control” class?
13 / 50
A class can inherit from ___________class/classes.
14 / 50
Attributes are generally applied ________ in front of type and type member declarations.
15 / 50
Event-based programming is also known as:
16 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
17 / 50
_________types have the notion of referential identity.
18 / 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?
19 / 50
Which of the following is an occurrence within a particular system or domain?
20 / 50
Every __________ is represented by an event-object.
21 / 50
________ events may or may not relate to an actual occurrence.
22 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
23 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
24 / 50
The using directive can be used to rename a long namespace in the current file.
25 / 50
Types of class members in C# are ________ and ________.
26 / 50
Static ctor exists to initialize class static members and called only ________.
27 / 50
_________ is an event that is introduced into an event processing system by an event producer.
28 / 50
Default value of first member is ________.
29 / 50
The Main method returns a non-zero value which indicates the_____________.
30 / 50
Which is the right syntax to define an interface?
31 / 50
Derived class is exactly the same as base.
32 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
33 / 50
________ have already happened whereas ________ are asking something to happen.
34 / 50
We want the width of button should cover the whole width of StackPanel in WPF then what should be value of HorizontalAlignment property of button?
35 / 50
Which statement is true?
36 / 50
Console class can reside in multiple libraries.
37 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
38 / 50
The ___________ method is used to read the whole file at once.
39 / 50
To use kbhit() command, you need to include which header file in your program?
40 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
41 / 50
Structs can not have destructors.
42 / 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!
43 / 50
________ is an occurrence within a particular system or domain.
44 / 50
A (n) _____________is a subscription mechanism for events.
45 / 50
_________ are unique types that allow you to assign symbolic names to integral values.
46 / 50
Syntax of struct and class are very ________.
47 / 50
Which of the following statements is TRUE about raw event?
48 / 50
There is no order requirement on named parameters.
49 / 50
A single exception can be handled differently.
50 / 50
Events and ________ work hand in hand.
Your score is
The average score is 78%
Restart quiz