CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Which is the right syntax to define an interface?

2 / 50

C# event is a class member that is ________ whenever the event it was designed for occurs (fires).

3 / 50

An indexer enables your class to be treated like a/an ________.

4 / 50

If we require to set components in table (column and row) format, then which panel will be used?

5 / 50

Cool stands for_________.

6 / 50

Extension methods __________ access the private data members of the class in which they are extended.

7 / 50

Attributes can be used at design time by application development tools.

8 / 50

Static ctor exists to initialize class static members and has many parameters.

9 / 50

The __________ in the namespace indicate a hierarchy of nested namespaces.

10 / 50

Clean room design is also called__________.

11 / 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 __________.

12 / 50

Single Threaded Apartment model is used for communicating with unmanaged COM.

13 / 50

An event is a list of___________.

14 / 50

Which of the following is an entity that introduces event into the system?

15 / 50

Default underlying type of an enum is ________.

16 / 50

Any class, including the same class that the event is declared in, may register one of its methods with the ________.

17 / 50

"Console" is a/an __________ class in the "System" namespace.

18 / 50

Events and ________ work hand in hand.

19 / 50

Which of the following is/are not derived from “Control” class?

20 / 50

Identify the Correct statement?

21 / 50

Which of the following is/are not derived from “Control” class?

22 / 50

___________ reads entire document in memory.

23 / 50

Markup extensions are invoked from ________ with explicit and consistent syntax.

24 / 50

Polymorphism needs the signatures to be the ________.

25 / 50

At the time an event is fired, the _____________ methods will be invoked.

26 / 50

The easiest way to declare an event is to put the event keyword in front of a ________ member.

27 / 50

Anonymous methods ____________ the code size.

28 / 50

Obsoleteattribute causes a ________ warning to appear.

29 / 50

___________ method reads the whole document in memory.

30 / 50

“FrameworkElement” is the base class that adds support for __________.

31 / 50

Zero-based index is used in jagged arrays.

32 / 50

It is always possible to create an instance of a reference type.

33 / 50

If we want to move an object in the 2-D x-y coordinate system then which transform class will be used?

34 / 50

The using directive can be used to rename a long namespace in the current file.

35 / 50

A method performs an action in a series of statements, called a ______________.

36 / 50

Unlike type converters, however, markup extensions are invoked from XAML with ___________.

37 / 50

Which of the following statements is TRUE about raw event?

38 / 50

A delegate is a reference to a method.

39 / 50

WPF4 was released in _________________________.

40 / 50

An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.

41 / 50

The interface forces each component to expose specific ________ members that will be used in a certain way.

42 / 50

Which of the following grabs the “OK” button by only knowing its name?

43 / 50

Indexers can take any number of ________.

44 / 50

________event consumer is an entity at the edge of an event processing system that receives events from the system.

45 / 50

A customer order can be represented as ________.

46 / 50

The System.Console is a ___________ which enables us to do Console Input and Output.

47 / 50

Object variables are references to the ________ object not the object themselves.

48 / 50

When the data is passed from one place to another in chunks, this data is called __________.

49 / 50

Syntax of struct and class are very ________.

50 / 50

The root object element in XAML must specify at least ________ XML namespace that is used to qualify itself and any child elements.

Your score is

The average score is 78%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi