CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Ctor return any values and it initializes class members.

2 / 50

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

3 / 50

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

4 / 50

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

5 / 50

Zero-based index is used in jagged arrays.

6 / 50

__________let any classes behave like an array.

7 / 50

There is no order requirement on named parameters.

8 / 50

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

9 / 50

___________ reads entire document in memory.

10 / 50

Attributes add ____________to your program.

11 / 50

Event-based programming is also known as:

12 / 50

A delegate is a reference to a method.

13 / 50

Which statement is True about interfaces?

14 / 50

Value-types hold their value in ________where they are declared.

15 / 50

________ events may or may not relate to an actual occurrence.

16 / 50

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

17 / 50

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

18 / 50

Types not defined in any namespace are said reside in the ___________ namespace.

19 / 50

Derived class is exactly the same as base.

20 / 50

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

21 / 50

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

22 / 50

To use kbhit() command, you need to include which header file in your program?

23 / 50

Reference types hold a reference to an object in memory.

24 / 50

The System.Console is a ___________ which enables us to do Console Input and Output.

25 / 50

g++ is a command of ____________.

26 / 50

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

27 / 50

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

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

29 / 50

A compiled C# file is called ________.

30 / 50

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

31 / 50

________ add declarative information to your programs.

32 / 50

________ invoke derived class methods through base class reference during run-time.

33 / 50

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

34 / 50

________ is an occurrence within a particular system or domain.

35 / 50

Console class can reside in multiple libraries.

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

37 / 50

There are ________ methods to read XML document.

38 / 50

Clean room design is also called__________.

39 / 50

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

40 / 50

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

41 / 50

__________ events may or may not relate to an actual occurrence

42 / 50

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

43 / 50

Syntax of struct and class are very ________.

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

45 / 50

__________ are inherited by classes which provide the real implementation.

46 / 50

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

47 / 50

Using xmldocument, the order is required.

48 / 50

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

49 / 50

An event is a list of___________.

50 / 50

Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.

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