CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

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

2 / 50

To delcare an anonymous method, you just use keyword “________”.

3 / 50

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

4 / 50

Interfaces define a contract.

5 / 50

The default constructor initializes the integers with ___________ value.

6 / 50

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

7 / 50

Structs can not have destructors.

8 / 50

Named parameters come before positional parameters.

9 / 50

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

10 / 50

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

11 / 50

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

12 / 50

Which statement is true?

13 / 50

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

14 / 50

___________ may contain events.

15 / 50

Wpf 3.5 released in__________.

16 / 50

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

17 / 50

All the members of interfaces are implicitly__________.

18 / 50

Auto-implemented properties do not allow simplified syntax.

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

Indexers can take any number of ________.

26 / 50

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

27 / 50

Ctor return any values and it initializes class members.

28 / 50

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

29 / 50

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

30 / 50

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

31 / 50

Which statement is True about interfaces?

32 / 50

________ is a static class in the System namespace.

33 / 50

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

34 / 50

Console class can reside in multiple libraries.

35 / 50

XAML is a declarative programming language for creating and initializing objects.

36 / 50

g++ is a command of ____________.

37 / 50

________ contacts the service provider or the server.

38 / 50

Events are based on the principle of ____________.

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

WPF4 was released in _________________________.

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

Which is the right syntax to define an interface?

49 / 50

Attributes add ____________to your program.

50 / 50

________ add declarative information to your programs.

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