CS411-Midterm
1 / 50
Which of the following events may or may not relate to an actual occurrence?
2 / 50
If we want to place a component at top in "dockpanel" then which one is correct syntax?
3 / 50
Namespaces do not allow name reuse.
4 / 50
BAML is compressed representation of _________.
5 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
6 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
7 / 50
Instances of value types do not have referential identity.
8 / 50
Which property will be used if we want to restrict the user to don’t increase the width of a WPF element from a specific amount?
9 / 50
There is no order requirement on named parameters.
10 / 50
Extension methods __________ access the private data members of the class in which they are extended.
11 / 50
Derived Event is:
12 / 50
What is the default value of "RowSpan" property of "Dockpanel"?
13 / 50
It is always possible to create an instance of a reference type.
14 / 50
Which of the following is/are not derived from “Control” class?
15 / 50
________ add declarative information to your programs.
16 / 50
_________ Method is used to move the file from one directory to another.
17 / 50
Which of the following is not a feature of "C#"?
18 / 50
Wpf 3.5 released in__________.
19 / 50
The default constructor initializes the integers with ___________ value.
20 / 50
Not implementing some methods of the interface in the class is _________________.
21 / 50
Polymorphism works on the basis that child class should have ______ feature/s of its parent class.
22 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
23 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
24 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
25 / 50
Which of the following does NOT include in event processing operations?
26 / 50
An initializer list can be used to use an alternate constructor.
27 / 50
Static ctor exists to initialize class static members and called only ________.
28 / 50
_________ are unique types that allow you to assign symbolic names to integral values.
29 / 50
Attributes can be used at design time by application development tools.
30 / 50
There is/are _____ type(s) of padding in WPF element.
31 / 50
________ is a static class in the System namespace.
32 / 50
Indexers can take any number of ________.
33 / 50
A delegate is a reference to a method.
34 / 50
C# event is a class member that is ________ whenever the event it was designed for occurs (fires).
35 / 50
__________let any classes behave like an array.
36 / 50
An event is a list of___________.
37 / 50
The using directive can be used to rename a long namespace in the current file.
38 / 50
Every __________ is represented by an event-object.
39 / 50
Which statement is True about interfaces?
40 / 50
“FrameworkElement” is the base class that adds support for __________.
41 / 50
Which of the following is an entity that introduces event into the system?
42 / 50
Markup extensions are invoked from ________ with explicit and consistent syntax.
43 / 50
_________ is an event that is introduced into an event processing system by an event producer.
44 / 50
Named parameters come before positional parameters.
45 / 50
If we exclude the mechanism of calling the objects through name then:
46 / 50
________ operations are completed before the next operation can be started.
47 / 50
An indexer enables your class to be treated like a/an ________.
48 / 50
Zero-based index is used in jagged arrays.
49 / 50
__________ events may or may not relate to an actual occurrence
50 / 50
________ invoke derived class methods through base class reference during run-time.
Your score is
The average score is 78%
Restart quiz