CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

There is/are _____ type(s) of padding in WPF element.

2 / 50

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

3 / 50

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

4 / 50

Anonymous methods ____________ the code size.

5 / 50

Graphical user interfaces and the event-driven model is not applied on which of the following?

6 / 50

Auto-implemented properties do not allow simplified syntax.

7 / 50

__________ is an entity that receives events from the system.

8 / 50

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

9 / 50

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

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

11 / 50

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

12 / 50

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

13 / 50

A compiled C# file is called ________.

14 / 50

All the members of interfaces are implicitly__________.

15 / 50

The default constructor initializes the integers with ___________ value.

16 / 50

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

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

18 / 50

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

19 / 50

BAML stands for:

20 / 50

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

21 / 50

The code given below is equivalent to _________. White

22 / 50

CLI stands for:

23 / 50

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

24 / 50

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

25 / 50

________ is a static class in the System namespace.

26 / 50

________ decouple producers and consumers.

27 / 50

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

28 / 50

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

29 / 50

_________ Method is used to move the file from one directory to another.

30 / 50

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

31 / 50

Console class can reside in multiple libraries.

32 / 50

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

33 / 50

Structs can not have destructors.

34 / 50

___________ method reads the whole document in memory.

35 / 50

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

36 / 50

Clean room design is useful as a defense against __________.

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

__________ events may or may not relate to an actual occurrence

42 / 50

Obsoleteattribute causes a ________ warning to appear.

43 / 50

There is no order requirement on named parameters.

44 / 50

Attributes add ____________to your program.

45 / 50

Dependency properties are represented by _______________.

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

Events are based on the principle of ____________.

48 / 50

Identify the Correct statement?

49 / 50

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

50 / 50

An event is a list of___________.

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