CS411-Midterm
1 / 50
________ is a static class in the System namespace.
2 / 50
Syntax of struct and class are very ________.
3 / 50
An event is a list of___________.
4 / 50
Events can be ______________.
5 / 50
Which of the following does NOT include in event processing operations?
6 / 50
CLI stands for:
7 / 50
It is always possible to create an instance of a reference type.
8 / 50
Which of the following is built from request-response?
9 / 50
“FrameworkElement” is the base class that adds support for __________.
10 / 50
XML is a stricter version of ____________.
11 / 50
__________ is an entity that receives events from the system.
12 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
13 / 50
Indexers can take any number of ________.
14 / 50
Structs can not have destructors.
15 / 50
Obsoleteattribute causes a ________ warning to appear.
16 / 50
Anonymous methods ____________ the code size.
17 / 50
A class can inherit from ___________class/classes.
18 / 50
All the members of interfaces are implicitly__________.
19 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
20 / 50
___________ may contain events.
21 / 50
To use kbhit() command, you need to include which header file in your program?
22 / 50
WPF4 was released in _________________________.
23 / 50
XAML is a declarative programming language for creating and initializing objects.
24 / 50
Using xmldocument, the order is required.
25 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
26 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
27 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
28 / 50
A single exception can be handled differently.
29 / 50
The “this” pointer in methods refers to the ________ on which the method is called.
30 / 50
Which of the following is/are not derived from “Control” class?
31 / 50
Which of the following statements is TRUE about raw event?
32 / 50
The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.
33 / 50
________ is an occurrence within a particular system or domain.
34 / 50
Reference types hold a reference to an object in memory.
35 / 50
Console class can reside in multiple libraries.
36 / 50
If we want to place a component at top in "dockpanel" then which one is correct syntax?
37 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
38 / 50
________ processing operations include reading, creating, transforming, and deleting events.
39 / 50
C# is a _________ and .NET is a _________.
40 / 50
During the program execution, program can be stopped with the help of _________.
41 / 50
Multiple ________ are conventionally stored in multiple files.
42 / 50
A (n) _____________is a subscription mechanism for events.
43 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
44 / 50
System.Windows.Controls.Button b = new System.Windows.Controls.Button(); b.Content = "OK"; For the above code (written in C#) the corresponding XAML code will be:
45 / 50
Which of the following is not a feature of "C#"?
46 / 50
___________ method reads the whole document in memory.
47 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
48 / 50
Dependency properties are represented by _______________.
49 / 50
The result of Exception can bring __________ in the program.
50 / 50
Interfaces define a contract.
Your score is
The average score is 78%
Restart quiz