CS411-Midterm
1 / 50
___________methods do not have names.
2 / 50
________ is a static class in the System namespace.
3 / 50
If we want to place a component at top in "dockpanel" then which one is correct syntax?
4 / 50
Structs can not have destructors.
5 / 50
An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.
6 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
7 / 50
The using directive can be used to rename a long namespace in the current file.
8 / 50
Event-based programming is also known as:
9 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
10 / 50
___________ reads entire document in memory.
11 / 50
________ operations are completed before the next operation can be started.
12 / 50
To use kbhit() command, you need to include which header file in your program?
13 / 50
________ events may or may not relate to an actual occurrence.
14 / 50
_________ Method is used to move the file from one directory to another.
15 / 50
Events can be ______________.
16 / 50
Enum of one type may not be ________ assigned to an enum of another type.
17 / 50
Stathread is stand for:
18 / 50
The result of Exception can bring __________ in the program.
19 / 50
Using xmldocument, the order is required.
20 / 50
Types of class members in C# are ________ and ________.
21 / 50
__________ events may or may not relate to an actual occurrence
22 / 50
An initializer list can be used to use an alternate constructor.
23 / 50
The code given below is equivalent to _________. White
24 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
25 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
26 / 50
Mapping to the WPF namespaces is ______________ in-side the WPF assemblies. Specified at compile time
27 / 50
_________ are unique types that allow you to assign symbolic names to integral values.
28 / 50
Namespaces do not allow name reuse.
29 / 50
Clean room design is also called__________.
30 / 50
_________ are called by garbage collector.
31 / 50
g++ is a command of ____________.
32 / 50
Wpf 3.5 released in__________.
33 / 50
_________ allows to keep the user interface description and implementation separate.
34 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
35 / 50
_________ is an event that is introduced into an event processing system by an event producer.
36 / 50
The initial name for C# was ___________.
37 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
38 / 50
__________ are inherited by classes which provide the real implementation.
39 / 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?
40 / 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!
41 / 50
___________ may contain events.
42 / 50
A compiled C# file is called ________.
43 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
44 / 50
Console class can reside in multiple libraries.
45 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
46 / 50
Reference types hold a reference to an object in memory.
47 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
48 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
49 / 50
“FrameworkElement” is the base class that adds support for __________.
50 / 50
Interfaces define a contract.
Your score is
The average score is 78%
Restart quiz