CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Polymorphism needs the signatures to be the ________.

2 / 50

BAML stands for:

3 / 50

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

4 / 50

Interfaces define a contract.

5 / 50

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

6 / 50

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

7 / 50

Enum of one type may not be ________ assigned to an enum of another type.

8 / 50

Reference types hold a reference to an object in memory.

9 / 50

Attributes add ____________to your program.

10 / 50

Instances of value types do not have referential identity.

11 / 50

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

12 / 50

All the members of interfaces are implicitly__________.

13 / 50

Unlike type converters, however, markup extensions are invoked from XAML with ___________.

14 / 50

Events and ________ work hand in hand.

15 / 50

________ is an occurrence within a particular system or domain.

16 / 50

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

17 / 50

Which is the right syntax to define an interface?

18 / 50

Mapping to the WPF namespaces is ______________ in-side the WPF assemblies.  Specified at compile time

19 / 50

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

20 / 50

In context of XAML child element rules, if the child is plain text and a type converter exists to transform the child into the parent type (and no properties are set on the parent element), treat the child as the input to the type converter and use the output as the __________.

21 / 50

Derived Event is:

22 / 50

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

23 / 50

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

24 / 50

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

25 / 50

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

26 / 50

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

27 / 50

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

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

29 / 50

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

30 / 50

A compiled C# file is called ________.

31 / 50

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

32 / 50

Events are based on the principle of ____________.

33 / 50

________ add declarative information to your programs.

34 / 50

A class can inherit from ___________class/classes.

35 / 50

Which of the following statements is TRUE about raw event?

36 / 50

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

37 / 50

The result of Exception can bring __________ in the program.

38 / 50

A delegate is a reference to a method.

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

Obsoleteattribute causes a ________ warning to appear.

43 / 50

__________ events may or may not relate to an actual occurrence

44 / 50

Which of the following is built from request-response?

 

 

45 / 50

________ processing operations include reading, creating, transforming, and deleting events.

46 / 50

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

47 / 50

The default constructor initializes the integers with ___________ value.

48 / 50

Events may live ________ events like in event logs.

49 / 50

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

50 / 50

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

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