CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Which of the following is built from request-response?

 

 

2 / 50

Zero-based index is used in jagged arrays.

3 / 50

Auto-implemented properties do not allow simplified syntax.

4 / 50

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

5 / 50

IsNumeric(string s) is a function of ______________ class.

6 / 50

A compiled C# file is called ________.

7 / 50

A (n) _____________is a subscription mechanism for events.

8 / 50

Extension methods can only be defined in ______________ class.

9 / 50

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

10 / 50

There is no order requirement on named parameters.

11 / 50

Namespaces do not allow name reuse.

12 / 50

Wpf 3.5 released in__________.

13 / 50

Event-based programming is also known as:

14 / 50

Named parameters come before positional parameters.

15 / 50

Console class can reside in multiple libraries.

16 / 50

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

17 / 50

There are ________ methods to read XML document.

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

__________let any classes behave like an array.

22 / 50

A class can inherit from ___________class/classes.

23 / 50

Events can be ______________.

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

25 / 50

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

26 / 50

Dependency properties are represented by _______________.

27 / 50

________ decouple producers and consumers.

28 / 50

The result of Exception can bring __________ in the program.

29 / 50

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

30 / 50

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

31 / 50

Polymorphism needs the signatures to be the ________.

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

33 / 50

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

34 / 50

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

35 / 50

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

36 / 50

Which statement is true?

37 / 50

Which statement is True about interfaces?

38 / 50

___________methods do not have names.

39 / 50

Clean room design is useful as a defense against __________.

40 / 50

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

41 / 50

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

42 / 50

Instances of value types do not have referential identity.

43 / 50

Ctor return any values and it initializes class members.

44 / 50

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

45 / 50

XML is a stricter version of ____________.

46 / 50

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

47 / 50

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

48 / 50

________ processing is computing that performs operations on events.

49 / 50

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

50 / 50

“out” parameters which are not used for return values or the “params” argument for variable arguments.

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