CS411-Midterm
1 / 50
Clean room design is useful as a defense against __________.
2 / 50
Console class can reside in multiple libraries.
3 / 50
g++ is a command of ____________.
4 / 50
XAML is a declarative programming language for creating and initializing objects.
5 / 50
Obsoleteattribute causes a ________ warning to appear.
6 / 50
Attributes can be used at design time by application development tools.
7 / 50
Attributes are generally applied ________ in front of type and type member declarations.
8 / 50
________ add declarative information to your programs.
9 / 50
XML is a stricter version of ____________.
10 / 50
____________ is a base class similar to UIElement but for document-related pieces of content that don’t have rendering behavior on their own.
11 / 50
Default value of first member is ________.
12 / 50
A method performs an action in a series of statements, called a ______________.
13 / 50
Attribute parameters can be either positional parameters or named parameters.
14 / 50
Default underlying type of an enum is ________.
15 / 50
Which of the following is/are not derived from “Control” class?
16 / 50
The code given below is equivalent to _________. White
17 / 50
Dependency properties are represented by _______________.
18 / 50
Value-types hold their value in ________where they are declared.
19 / 50
________event consumer is an entity at the edge of an event processing system that receives events from the system.
20 / 50
Identify the Correct statement?
21 / 50
If we want to scale an object in the 2-D x-y coordinate system then which transform class will be used?
22 / 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?
23 / 50
During the program execution, program can be stopped with the help of _________.
24 / 50
25 / 50
________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.
26 / 50
Writing higher-level functions that call upon lower-level functions _________ a program.
27 / 50
Which statement is true?
28 / 50
Which of the following does NOT include in event processing operations?
29 / 50
What is the default value of "ColumnSpan" property of "Dockpanel"?
30 / 50
Enum of one type may not be ________ assigned to an enum of another type.
31 / 50
Which of the following grabs the “OK” button by only knowing its name?
32 / 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:
33 / 50
Single Threaded Apartment model is used for communicating with unmanaged COM.
34 / 50
Not implementing some methods of the interface in the class is _________________.
35 / 50
The interface forces each component to expose specific ________ members that will be used in a certain way.
36 / 50
________ have already happened whereas ________ are asking something to happen.
37 / 50
________ events may or may not relate to an actual occurrence.
38 / 50
________ invoke derived class methods through base class reference during run-time.
39 / 50
Events may live ________ events like in event logs.
40 / 50
"Console" is a/an __________ class in the "System" namespace.
41 / 50
________ decouple producers and consumers.
42 / 50
Anonymous methods ____________ the code size.
43 / 50
Cool stands for_________.
44 / 50
__________ are inherited by classes which provide the real implementation.
45 / 50
________ operations are completed before the next operation can be started.
46 / 50
__________ events may or may not relate to an actual occurrence
47 / 50
An event is a list of___________.
48 / 50
_________ allows to keep the user interface description and implementation separate.
49 / 50
Syntax of struct and class are very ________.
50 / 50
An initializer list can be used to use an alternate constructor.
Your score is
The average score is 78%
Restart quiz