CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

________ is a static class in the System namespace.

2 / 50

AML is compressed representation of _________.

3 / 50

________ is basically array of arrays.

4 / 50

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

5 / 50

The initial name for C# was ___________.

6 / 50

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

7 / 50

Cast back to base type to call a/an ________ method of base.

8 / 50

Static ctor exists to initialize class static members and called only ________.

9 / 50

An event is a list of___________.

10 / 50

Overloaded operators must be static and must be declared in the class for which the operator is defined.

11 / 50

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

12 / 50

Event-based programming is also known as:

13 / 50

A (n) ____________ is a set of associated events.

14 / 50

________ decouple producers and consumers.

15 / 50

Syntax of struct and class are very ________.

16 / 50

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

17 / 50

Clean room design is also called__________.

18 / 50

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

19 / 50

An event is a list of___________.

20 / 50

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

21 / 50

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

22 / 50

Namespaces do not allow name reuse.

23 / 50

g++ is a command of ____________.

24 / 50

The base class will have the _____ functionality of all derived classes.

25 / 50

Obsoleteattribute causes a ________ warning to appear.

26 / 50

Zero-based index is used in jagged arrays.

27 / 50

The ___________ method is used to read the whole file at once.

28 / 50

CLI stands for:

29 / 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?

30 / 50

XAML is a declarative programming language for creating and initializing objects.

31 / 50

WPF4 was released in _________________________.

32 / 50

Ctor return any values and it initializes class members.

33 / 50

If we want to place a component at top in "dockpanel" then which one is correct syntax?

34 / 50

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

35 / 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?

36 / 50

Identify the Correct statement?

37 / 50

___________ reads entire document in memory.

38 / 50

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

39 / 50

Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.

40 / 50

Which is the right syntax to define an interface?

41 / 50

Events are based on the principle of ____________.

42 / 50

A compiled C# file is called ________.

43 / 50

___________ may contain events.

44 / 50

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

45 / 50

Dependency properties are represented by _______________.

46 / 50

If we exclude the mechanism of calling the objects through name then:

47 / 50

A customer order can be represented as ________.

48 / 50

Events and ________ work hand in hand.

49 / 50

A delegate is a reference to a method.

50 / 50

Attributes of a program can be queried at run time through __________.

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