CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

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

2 / 50

A class can inherit from ___________class/classes.

3 / 50

An "object" element can have _________ type/s of children.

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

Named parameters come before positional parameters.

8 / 50

Events are based on the principle of ____________.

9 / 50

XML is a stricter version of ____________.

10 / 50

An object initializer is a syntax for initializing a struct without using a ctor.

11 / 50

Which of the following is built from request-response?

 

 

12 / 50

________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.

13 / 50

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

14 / 50

The code given below is equivalent to _________. White

15 / 50

Syntax of struct and class are very ________.

16 / 50

___________ may contain events.

17 / 50

_________ allows to keep the user interface description and implementation separate.

18 / 50

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

19 / 50

The default constructor initializes the integers with ___________ value.

20 / 50

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

21 / 50

Auto-implemented properties do not allow simplified syntax.

22 / 50

The initial name for C# was ___________.

23 / 50

Using xmldocument, the order is required.

24 / 50

________ add declarative information to your programs.

25 / 50

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

26 / 50

Extension methods can only be defined in ______________ class.

27 / 50

A delegate is a reference to a method.

28 / 50

________ processing is computing that performs operations on events.

29 / 50

_________ is an event that is introduced into an event processing system by an event producer.

30 / 50

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

31 / 50

Which of the following events may or may not relate to an actual occurrence?

32 / 50

Mapping to the WPF namespaces is ______________ in-side the WPF assemblies.  Specified at compile time

33 / 50

A single exception can be handled differently.

34 / 50

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

35 / 50

Which of the following statements is TRUE about raw event?

36 / 50

Which of the following does NOT include in event processing operations?

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

38 / 50

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

39 / 50

________ contacts the service provider or the server.

40 / 50

Wait for a single event is ____________operation.

41 / 50

Instances of value types do not have referential identity.

42 / 50

________ is a static class in the System namespace.

43 / 50

Which of the following is an occurrence within a particular system or domain?

44 / 50

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

45 / 50

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

46 / 50

____________ is a base class similar to UIElement but for document-related pieces of content that don’t have rendering behavior on their own.

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

48 / 50

WPF stands for:

49 / 50

Derived Event is:

50 / 50

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

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