CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Which statement is true?

2 / 50

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

3 / 50

________ is a static class in the System namespace.

4 / 50

All the members of interfaces are implicitly__________.

5 / 50

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

6 / 50

“FrameworkElement” is the base class that adds support for __________.

7 / 50

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

8 / 50

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

9 / 50

________ operations are completed before the next operation can be started.

10 / 50

________ decouple producers and consumers.

11 / 50

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

12 / 50

________ is basically array of arrays.

13 / 50

AML is compressed representation of _________.

14 / 50

___________methods do not have names.

15 / 50

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

16 / 50

WPF stands for:

17 / 50

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

18 / 50

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

19 / 50

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

20 / 50

Attribute parameters can be either positional parameters or named parameters.

21 / 50

__________ are inherited by classes which provide the real implementation.

22 / 50

Attributes are generally applied ________ in front of type and type member declarations.

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

Identify the Correct statement?

27 / 50

Namespaces do not allow name reuse.

28 / 50

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

29 / 50

_________ are called by garbage collector.

30 / 50

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

31 / 50

A single exception can be handled differently.

32 / 50

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

33 / 50

Static ctor exists to initialize class static members and called only ________.

34 / 50

A class can inherit from ___________class/classes.

35 / 50

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

36 / 50

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

37 / 50

Any class, including the same class that the event is declared in, may register one of its methods with the ________.

38 / 50

Single Threaded Apartment model is used for communicating with unmanaged COM.

39 / 50

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

40 / 50

________event consumer is an entity at the edge of an event processing system that receives events from the system.

41 / 50

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

42 / 50

We can add constructors to a struct and can also overload the default ctor which initializes everything to default values.

43 / 50

An indexer enables your class to be treated like a/an ________.

44 / 50

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

45 / 50

Which statement is True about interfaces?

46 / 50

Named parameters come before positional parameters.

47 / 50

Syntax of struct and class are very ________.

48 / 50

___________ reads entire document in memory.

49 / 50

Console class can reside in multiple libraries.

50 / 50

_________types have the notion of referential identity.

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