CS411-Midterm
1 / 50
Multiple ________ are conventionally stored in multiple files.
2 / 50
Default value of first member is ________.
3 / 50
Not implementing some methods of the interface in the class is _________________.
4 / 50
Unlike type converters, however, markup extensions are invoked from XAML with ___________.
5 / 50
Cool stands for_________.
6 / 50
Which statement is True about interfaces?
7 / 50
A single exception can be handled differently.
8 / 50
Which of the following statements is TRUE about raw event?
9 / 50
Ctor return any values and it initializes class members.
10 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
11 / 50
Static ctor exists to initialize class static members and has many parameters.
12 / 50
“FrameworkElement” is the base class that adds support for __________.
13 / 50
An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.
14 / 50
The initial name for C# was ___________.
15 / 50
A (n) _____________is a subscription mechanism for events.
16 / 50
Instances of value types do not have referential identity.
17 / 50
Attributes add ____________to your program.
18 / 50
Which of the following is an entity that introduces event into the system?
19 / 50
An initializer list can be used to use an alternate constructor.
20 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
21 / 50
Every __________ is represented by an event-object.
22 / 50
The default constructor initializes the integers with ___________ value.
23 / 50
________ invoke derived class methods through base class reference during run-time.
24 / 50
__________ is an entity that receives events from the system.
25 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
26 / 50
It is always possible to create an instance of a reference type.
27 / 50
Events may live ________ events like in event logs.
28 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
29 / 50
Which of the following is/are not derived from “Control” class?
30 / 50
Which statement is true?
31 / 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?
32 / 50
Attributes of a program can be queried at run time through __________.
33 / 50
Polymorphism works on the basis that child class should have ______ feature/s of its parent class.
34 / 50
There is/are _____ type(s) of padding in WPF element.
35 / 50
IsNumeric(string s) is a function of ______________ class.
36 / 50
Obsoleteattribute causes a ________ warning to appear.
37 / 50
Attributes can be used at design time by application development tools.
38 / 50
Derived class is exactly the same as base.
39 / 50
The base class will have the _____ functionality of all derived classes.
40 / 50
_________ are unique types that allow you to assign symbolic names to integral values.
41 / 50
An object initializer is a syntax for initializing a struct without using a ctor.
42 / 50
The ___________ method is used to read the whole file at once.
43 / 50
Which of the following is an occurrence within a particular system or domain?
44 / 50
During the program execution, program can be stopped with the help of _________.
45 / 50
The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.
46 / 50
Reference types hold a reference to an object in memory.
47 / 50
Which of the following grabs the “OK” button by only knowing its name?
48 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
49 / 50
The common type system of C# has ________ types and ________ types.
50 / 50
Structs can not have destructors.
Your score is
The average score is 78%
Restart quiz