CS411-Midterm
1 / 50
Which statement is true?
2 / 50
Cast back to base type to call a/an ________ method of base.
3 / 50
Namespaces do not allow name reuse.
4 / 50
“FrameworkElement” is the base class that adds support for __________.
5 / 50
Which of the following is an occurrence within a particular system or domain?
6 / 50
________ contacts the service provider or the server.
7 / 50
Value-types hold their value in ________where they are declared.
8 / 50
An indexer enables your class to be treated like a/an ________.
9 / 50
The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.
10 / 50
Ctor return any values and it initializes class members.
11 / 50
The base class will have the _____ functionality of all derived classes.
12 / 50
The result of Exception can bring __________ in the program.
13 / 50
Syntax of struct and class are very ________.
14 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
15 / 50
At the time an event is fired, the _____________ methods will be invoked.
16 / 50
Static ctor exists to initialize class static members and has many parameters.
17 / 50
Polymorphism needs the signatures to be the ________.
18 / 50
Default value of first member is ________.
19 / 50
____________ is a base class similar to UIElement but for document-related pieces of content that don’t have rendering behavior on their own.
20 / 50
g++ is a command of ____________.
21 / 50
To delcare an anonymous method, you just use keyword “________”.
22 / 50
Which of the following is/are not derived from “Control” class?
23 / 50
XAML is a declarative programming language for creating and initializing objects.
24 / 50
________ add declarative information to your programs.
25 / 50
If we require to set components in table (column and row) format, then which panel will be used?
26 / 50
Anonymous methods ____________ the code size.
27 / 50
Attributes add ____________to your program.
28 / 50
The initial name for C# was ___________.
29 / 50
________ invoke derived class methods through base class reference during run-time.
30 / 50
An initializer list can be used to use an alternate constructor.
31 / 50
________ is basically array of arrays.
32 / 50
A delegate is a reference to a method.
33 / 50
Multiple ________ are conventionally stored in multiple files.
34 / 50
An "object" element can have _________ type/s of children.
35 / 50
"Console" is a/an __________ class in the "System" namespace.
36 / 50
Zero-based index is used in jagged arrays.
37 / 50
Using xmldocument, the order is required.
38 / 50
Clean room design is useful as a defense against __________.
39 / 50
Events and ________ work hand in hand.
40 / 50
Reference types hold a reference to an object in memory.
41 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
42 / 50
Which of the following is built from request-response?
43 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
44 / 50
Identify the Correct statement?
45 / 50
Console class can reside in multiple libraries.
46 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
47 / 50
________ events may or may not relate to an actual occurrence.
48 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
49 / 50
Wpf 3.5 released in__________.
50 / 50
________ is a static class in the System namespace.
Your score is
The average score is 78%
Restart quiz