CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Default underlying type of an enum is ________.

2 / 50

IsNumeric(string s) is a function of ______________ class.

3 / 50

__________ are inherited by classes which provide the real implementation.

4 / 50

Clean room design is useful as a defense against __________.

5 / 50

Indexers can take any number of ________.

6 / 50

Enum of one type may not be ________ assigned to an enum of another type.

7 / 50

Events and ________ work hand in hand.

8 / 50

________ is said to be stateless if the way it processes one event does not influence the way it processes any subsequent events.

9 / 50

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

10 / 50

________ have already happened whereas ________ are asking something to happen.

11 / 50

The default constructor initializes the integers with ___________ value.

12 / 50

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

13 / 50

Windows Presentation Foundations (WPF) was publicly announced in ________.

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

15 / 50

The common type system of C# has ________ types and ________ types.

16 / 50

________ add declarative information to your programs.

17 / 50

Attributes add ____________to your program.

18 / 50

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

19 / 50

Named parameters come before positional parameters.

20 / 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:

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

There are ________ methods to read XML document.

26 / 50

Not implementing some methods of the interface in the class is _________________.

27 / 50

Which of the following is not a feature of "C#"?

28 / 50

Derived Event is:

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

30 / 50

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

31 / 50

_________ are unique types that allow you to assign symbolic names to integral values.

32 / 50

Namespaces do not allow name reuse.

33 / 50

The initial name for C# was ___________.

34 / 50

Writing higher-level functions that call upon lower-level functions _________ a program.

35 / 50

An event is a list of___________.

36 / 50

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

37 / 50

Wait for a single event is ____________operation.

38 / 50

Reference types hold a reference to an object in memory.

39 / 50

__________let any classes behave like an array.

40 / 50

CLI stands for:

41 / 50

"Situation" is an event occurrence that requires a (n) __________.

42 / 50

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

43 / 50

The Main method returns a non-zero value which indicates the_____________.

44 / 50

Zero-based index is used in jagged arrays.

45 / 50

Dependency properties are represented by _______________.

46 / 50

Instances of value types do not have referential identity.

47 / 50

Polymorphism works on the basis that child class should have ______ feature/s of its parent class.

48 / 50

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

49 / 50

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

50 / 50

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

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