CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Overloaded operators must be static and must be declared in the class for which the operator is defined.

2 / 50

___________methods do not have names.

3 / 50

Default value of first member is ________.

4 / 50

Which is the right syntax to define an interface?

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

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

9 / 50

An event is a list of___________.

10 / 50

BAML is compressed representation of _________.

11 / 50

The default constructor initializes the integers with ___________ value.

12 / 50

Named parameters come before positional parameters.

13 / 50

WPF4 was released in _________________________.

14 / 50

There are ________ methods to read XML document.

15 / 50

Polymorphism needs the signatures to be the ________.

16 / 50

The “this” pointer in methods refers to the ________ on which the method is called.

17 / 50

Clean room design is useful as a defense against __________.

18 / 50

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

19 / 50

All the members of interfaces are implicitly__________.

20 / 50

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

21 / 50

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

22 / 50

Syntax of struct and class are very ________.

23 / 50

Which of the following is built from request-response?

 

 

24 / 50

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

25 / 50

__________ are inherited by classes which provide the real implementation.

26 / 50

Which statement is true?

27 / 50

Attribute parameters can be either positional parameters or named parameters.

28 / 50

Events are based on the principle of ____________.

29 / 50

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

30 / 50

Multiple ________ are conventionally stored in multiple files.

31 / 50

Derived Event is:

32 / 50

Zero-based index is used in jagged arrays.

33 / 50

A single exception can be handled differently.

34 / 50

Extension methods can only be defined in ______________ class.

35 / 50

A class can inherit from ___________class/classes.

36 / 50

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

37 / 50

_________ are called by garbage collector.

38 / 50

An initializer list can be used to use an alternate constructor.

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

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

44 / 50

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

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

46 / 50

A method performs an action in a series of statements, called a ______________.

47 / 50

__________ events may or may not relate to an actual occurrence

48 / 50

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

49 / 50

Ctor return any values and it initializes class members.

50 / 50

Console class can reside in multiple libraries.

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