CS411-Midterm
1 / 50
IsNumeric(string s) is a function of ______________ class.
2 / 50
Auto-implemented properties do not allow simplified syntax.
3 / 50
Enum of one type may not be ________ assigned to an enum of another type.
4 / 50
An initializer list can be used to use an alternate constructor.
5 / 50
________ decouple producers and consumers.
6 / 50
Identify the Correct statement?
7 / 50
C# is a _________ and .NET is a _________.
8 / 50
An indexer enables your class to be treated like a/an ________.
9 / 50
___________methods do not have names.
10 / 50
A (n) _____________is a subscription mechanism for events.
11 / 50
A method performs an action in a series of statements, called a ______________.
12 / 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?
13 / 50
System.Windows.Controls.Button b = new System.Windows.Controls.Button(); b.Content = "OK"; For the above code (written in C#) the corresponding XAML code will be:
14 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
15 / 50
_________ is an event that is introduced into an event processing system by an event producer.
16 / 50
________ add declarative information to your programs.
17 / 50
Types of class members in C# are ________ and ________.
18 / 50
g++ is a command of ____________.
19 / 50
Dependency properties are represented by _______________.
20 / 50
Default underlying type of an enum is ________.
21 / 50
Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.
22 / 50
________ processing operations include reading, creating, transforming, and deleting events.
23 / 50
Which of the following is/are not derived from “Control” class?
24 / 50
___________ may contain events.
25 / 50
________ invoke derived class methods through base class reference during run-time.
26 / 50
Attributes of a program can be queried at run time through __________.
27 / 50
Cast back to base type to call a/an ________ method of base.
28 / 50
A (n) ____________ is a set of associated events.
29 / 50
Which of the following does NOT include in event processing operations?
30 / 50
"Situation" is an event occurrence that requires a (n) __________.
31 / 50
Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.
32 / 50
Console class can reside in multiple libraries.
33 / 50
WPF stands for:
34 / 50
Value-types hold their value in ________where they are declared.
35 / 50
The __________ in the namespace indicate a hierarchy of nested namespaces.
36 / 50
_________ allows to keep the user interface description and implementation separate.
37 / 50
Attributes can be used at design time by application development tools.
38 / 50
A delegate is a reference to a method.
39 / 50
__________ events may or may not relate to an actual occurrence
40 / 50
At the time an event is fired, the _____________ methods will be invoked.
41 / 50
XML is a stricter version of ____________.
42 / 50
“out” parameters which are not used for return values or the “params” argument for variable arguments.
43 / 50
XAML is a declarative programming language for creating and initializing objects.
44 / 50
Reference types hold a reference to an object in memory.
45 / 50
A customer order can be represented as ________.
46 / 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?
47 / 50
If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?
48 / 50
Attribute parameters can be either positional parameters or named parameters.
49 / 50
Indexers can take any number of ________.
50 / 50
If we require to set components in table (column and row) format, then which panel will be used?
Your score is
The average score is 78%
Restart quiz