CS411-Midterm
1 / 50
If we exclude the mechanism of calling the objects through name then:
2 / 50
___________ may contain events.
3 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
4 / 50
_________types have the notion of referential identity.
5 / 50
Value-types hold their value in ________where they are declared.
6 / 50
The System.Console is a ___________ which enables us to do Console Input and Output.
7 / 50
__________let any classes behave like an array.
8 / 50
A method performs an action in a series of statements, called a ______________.
9 / 50
_________ are called by garbage collector.
10 / 50
The ___________ method is used to read the whole file at once.
11 / 50
Static ctor exists to initialize class static members and has many parameters.
12 / 50
Anonymous methods ____________ the code size.
13 / 50
Syntax of struct and class are very ________.
14 / 50
________ decouple producers and consumers.
15 / 50
________ have already happened whereas ________ are asking something to happen.
16 / 50
An "object" element can have _________ type/s of children.
17 / 50
BAML stands for:
18 / 50
Indexers can take any number of ________.
19 / 50
Using xmldocument, the order is required.
20 / 50
________ is a static class in the System namespace.
21 / 50
Which of the following is not a feature of "C#"?
22 / 50
When the data is passed from one place to another in chunks, this data is called __________.
23 / 50
At the time an event is fired, the _____________ methods will be invoked.
24 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
25 / 50
All the members of interfaces are implicitly__________.
26 / 50
_________ allows to keep the user interface description and implementation separate.
27 / 50
Polymorphism needs the signatures to be the ________.
28 / 50
If we require to set components in table (column and row) format, then which panel will be used?
29 / 50
In context of XAML child element rules, if the child is plain text and a type converter exists to transform the child into the parent type (and no properties are set on the parent element), treat the child as the input to the type converter and use the output as the __________.
30 / 50
In event-driven architecture (EDA), ____________ sends event to ______________.
31 / 50
Which statement is True about interfaces?
32 / 50
Console class can reside in multiple libraries.
33 / 50
The initial name for C# was ___________.
34 / 50
A (n) ____________ is a set of associated events.
35 / 50
Polymorphism works on the basis that child class should have ______ feature/s of its parent class.
36 / 50
Attribute parameters can be either positional parameters or named parameters.
37 / 50
The result of Exception can bring __________ in the program.
38 / 50
The code given below is equivalent to _________. White
39 / 50
________ is built from request-response and it moves away from monolithic applications. Event-driven architecture (EDA)
40 / 50
___________ method reads the whole document in memory.
41 / 50
Static ctor exists to initialize class static members and called only ________.
42 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
43 / 50
The common type system of C# has ________ types and ________ types.
44 / 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!
45 / 50
XAML is a declarative programming language for creating and initializing objects.
46 / 50
Reference types hold a reference to an object in memory.
47 / 50
A customer order can be represented as ________.
48 / 50
If we want to place a component at top in "dockpanel" then which one is correct syntax?
49 / 50
__________ are inherited by classes which provide the real implementation.
50 / 50
_________ Method is used to move the file from one directory to another.
Your score is
The average score is 78%
Restart quiz