CS411 Midterm Online Quiz

0%

CS411-Midterm

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

2 / 50

________ decouple producers and consumers.

3 / 50

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

4 / 50

__________ is an entity that receives events from the system.

5 / 50

Derived class is exactly the same as base.

6 / 50

Cool stands for_________.

7 / 50

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

8 / 50

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

9 / 50

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

10 / 50

Stathread is stand for:

11 / 50

________ is an occurrence within a particular system or domain.

12 / 50

Events may live ________ events like in event logs.

13 / 50

Syntax of struct and class are very ________.

14 / 50

A delegate is a reference to a method.

15 / 50

A single exception can be handled differently.

16 / 50

Obsoleteattribute causes a ________ warning to appear.

17 / 50

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

18 / 50

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

19 / 50

________ is built from request-response and it moves away from monolithic applications.  Event-driven architecture (EDA)

20 / 50

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

21 / 50

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

22 / 50

Wait for a single event is ____________operation.

23 / 50

___________ method reads the whole document in memory.

24 / 50

The ______, ________ and ________of applications that use events, either directly or indirectly is called event-based programming.

25 / 50

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

26 / 50

_________types have the notion of referential identity.

27 / 50

________ processing is computing that performs operations on events.

28 / 50

Ctor return any values and it initializes class members.

29 / 50

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

30 / 50

Structs can not have destructors.

31 / 50

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

32 / 50

Which is the right syntax to define an interface?

33 / 50

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

34 / 50

An event is a list of___________.

35 / 50

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

36 / 50

There are ________ methods to read XML document.

37 / 50

g++ is a command of ____________.

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

39 / 50

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

40 / 50

Extension methods can only be defined in ______________ class.

41 / 50

What is the default value of "ColumnSpan" property of "Dockpanel"?

42 / 50

The default constructor initializes the integers with ___________ value.

43 / 50

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

44 / 50

XML is a stricter version of ____________.

45 / 50

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

46 / 50

Anonymous method is a method without a name.

47 / 50

________ is a static class in the System namespace.

48 / 50

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

49 / 50

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

50 / 50

The result of Exception can bring __________ in the program.

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