CS411-Midterm
1 / 50
________ decouple producers and consumers.
2 / 50
The ___________ method is used to read the whole file at once.
3 / 50
There is/are _____ type(s) of padding in WPF element.
4 / 50
Reference types hold a reference to an object in memory.
5 / 50
________ add declarative information to your programs.
6 / 50
Syntax of struct and class are very ________.
7 / 50
Value-types hold their value in ________where they are declared.
8 / 50
________ processing operations include reading, creating, transforming, and deleting events.
9 / 50
Multiple ________ are conventionally stored in multiple files.
10 / 50
"Console" is a/an __________ class in the "System" namespace.
11 / 50
Auto-implemented properties do not allow simplified syntax.
12 / 50
________ have already happened whereas ________ are asking something to happen.
13 / 50
Events may live ________ events like in event logs.
14 / 50
___________ may contain events.
15 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
16 / 50
__________let any classes behave like an array.
17 / 50
____________ is a base class similar to UIElement but for document-related pieces of content that don’t have rendering behavior on their own.
18 / 50
_________ Method is used to move the file from one directory to another.
19 / 50
Derived class is exactly the same as base.
20 / 50
Types not defined in any namespace are said reside in the ___________ namespace.
21 / 50
The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.
22 / 50
Instances of value types do not have referential identity.
23 / 50
Attribute parameters can be either positional parameters or named parameters.
24 / 50
We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.
25 / 50
An "object" element can have _________ type/s of children.
26 / 50
BAML is compressed representation of _________.
27 / 50
Attributes are generally applied ________ in front of type and type member declarations.
28 / 50
XAML is a declarative programming language for creating and initializing objects.
29 / 50
Extension methods __________ access the private data members of the class in which they are extended.
30 / 50
Ctor return any values and it initializes class members.
31 / 50
Cool stands for_________.
32 / 50
Namespaces do not allow name reuse.
33 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
34 / 50
IsNumeric(string s) is a function of ______________ class.
35 / 50
___________ reads entire document in memory.
36 / 50
Which of the following is/are not derived from “Control” class?
37 / 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?
38 / 50
A delegate is a reference to a method.
39 / 50
Any class, including the same class that the event is declared in, may register one of its methods with the ________.
40 / 50
To use kbhit() command, you need to include which header file in your program?
41 / 50
Which of the following does NOT include in event processing operations?
42 / 50
Wpf 3.5 released in__________.
43 / 50
Named parameters come before positional parameters.
44 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
45 / 50
Types of class members in C# are ________ and ________.
46 / 50
The easiest way to declare an event is to put the event keyword in front of a ________ member.
47 / 50
Event-based programming is also known as:
48 / 50
Every __________ is represented by an event-object.
49 / 50
Overloaded operators must be static and must be declared in the class for which the operator is defined.
50 / 50
All the members of interfaces are implicitly__________.
Your score is
The average score is 78%
Restart quiz