CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

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

2 / 50

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

3 / 50

Dependency properties are represented by _______________.

4 / 50

"Situation" is an event occurrence that requires a (n) __________.

5 / 50

Events are based on the principle of ____________.

6 / 50

Every __________ is represented by an event-object.

7 / 50

Event-based programming is also known as:

8 / 50

Cool stands for_________.

9 / 50

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

10 / 50

Multiple ________ are conventionally stored in multiple files.

11 / 50

If we want to place a component at top in "dockpanel" then which one is correct syntax?

12 / 50

Default underlying type of an enum is ________.

13 / 50

________ decouple producers and consumers.

14 / 50

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

15 / 50

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

16 / 50

__________ events may or may not relate to an actual occurrence

17 / 50

________ add declarative information to your programs.

18 / 50

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

19 / 50

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

20 / 50

A compiled C# file is called ________.

21 / 50

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

22 / 50

Wait for a single event is ____________operation.

23 / 50

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

24 / 50

The using directive can be used to rename a long namespace in the current file.

25 / 50

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

26 / 50

A customer order can be represented as ________.

27 / 50

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

28 / 50

The initial name for C# was ___________.

29 / 50

Named parameters come before positional parameters.

30 / 50

Derived class is exactly the same as base.

31 / 50

___________ may contain events.

32 / 50

Which statement is True about interfaces?

33 / 50

All the members of interfaces are implicitly__________.

34 / 50

Indexers can take any number of ________.

35 / 50

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

36 / 50

There are ________ methods to read XML document.

37 / 50

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

38 / 50

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

39 / 50

There is/are _____ type(s) of padding in WPF element.

40 / 50

Which of the following grabs the “OK” button by only knowing its name?

41 / 50

BAML stands for:

42 / 50

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

43 / 50

___________ reads entire document in memory.

44 / 50

Identify the Correct statement?

45 / 50

Suppose we want to restrict the user to don’t decrease the height of a WPF element from a specific amount then which property will be used?

46 / 50

________ contacts the service provider or the server.

47 / 50

Default value of first member is ________.

48 / 50

__________let any classes behave like an array.

49 / 50

The base class will have the _____ functionality of all derived classes.

50 / 50

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

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