CS411-Midterm
1 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
2 / 50
An "object" element can have _________ type/s of children.
3 / 50
Cast back to base type to call a/an ________ method of base.
4 / 50
An event is a list of___________.
5 / 50
A compiled C# file is called ________.
6 / 50
___________ may contain events.
7 / 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?
8 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
9 / 50
Anonymous methods ____________ the code size.
10 / 50
The base class will have the _____ functionality of all derived classes.
11 / 50
________ is an occurrence within a particular system or domain.
12 / 50
Multiple ________ are conventionally stored in multiple files.
13 / 50
Every __________ is represented by an event-object.
14 / 50
C# is a _________ and .NET is a _________.
15 / 50
Which is the right syntax to define an interface?
16 / 50
Graphical user interfaces and the event-driven model is not applied on which of the following?
17 / 50
Which statement is true?
18 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
19 / 50
A (n) _____________is a subscription mechanism for events.
20 / 50
The “this” pointer in methods refers to the ________ on which the method is called.
21 / 50
Events and ________ work hand in hand.
22 / 50
Events are based on the principle of ____________.
23 / 50
________ is built from request-response and it moves away from monolithic applications. Event-driven architecture (EDA)
24 / 50
Which of the following grabs the “OK” button by only knowing its name?
25 / 50
At the time an event is fired, the _____________ methods will be invoked.
26 / 50
An initializer list can be used to use an alternate constructor.
27 / 50
A delegate is a reference to a method.
28 / 50
Object variables are references to the ________ object not the object themselves.
29 / 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!
30 / 50
___________ method reads the whole document in memory.
31 / 50
During the program execution, program can be stopped with the help of _________.
32 / 50
Which of the following does NOT include in event processing operations?
33 / 50
__________ events may or may not relate to an actual occurrence
34 / 50
Default underlying type of an enum is ________.
35 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
36 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
37 / 50
Static ctor exists to initialize class static members and has many parameters.
38 / 50
___________ reads entire document in memory.
39 / 50
________ contacts the service provider or the server.
40 / 50
Indexers can take any number of ________.
41 / 50
“FrameworkElement” is the base class that adds support for __________.
42 / 50
Attribute parameters can be either positional parameters or named parameters.
43 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
44 / 50
__________let any classes behave like an array.
45 / 50
Value-types hold their value in ________where they are declared.
46 / 50
________ is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events.
47 / 50
The using directive can be used to rename a long namespace in the current file.
48 / 50
Obsoleteattribute causes a ________ warning to appear.
49 / 50
The result of Exception can bring __________ in the program.
50 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
Your score is
The average score is 78%
Restart quiz