CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

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

2 / 50

BAML stands for:

3 / 50

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

4 / 50

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

5 / 50

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

6 / 50

In event-driven architecture (EDA), ____________ sends event to ______________.

7 / 50

Namespaces do not allow name reuse.

8 / 50

A customer order can be represented as ________.

9 / 50

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

10 / 50

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

11 / 50

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

12 / 50

________ processing is computing that performs operations on events.

13 / 50

Indexers can take any number of ________.

14 / 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 __________.

15 / 50

CLI stands for:

16 / 50

The initial name for C# was ___________.

17 / 50

Anonymous method is a method without a name.

18 / 50

The interface forces each component to expose specific ________ members that will be used in a certain way.

19 / 50

Clean room design is also called__________.

20 / 50

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

21 / 50

Visual Studio has a snippet called __________ that automatically expands into a definition of a dependency property, which makes defining one much faster than doing all the typing yourself!

22 / 50

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

23 / 50

Attributes of a program can be queried at run time through __________.

24 / 50

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

25 / 50

___________ reads entire document in memory.

26 / 50

Multiple ________ are conventionally stored in multiple files.

27 / 50

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

28 / 50

A delegate is a reference to a method.

29 / 50

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

30 / 50

Events may live ________ events like in event logs.

31 / 50

Default value of first member is ________.

32 / 50

Wait for a single event is ____________operation.

33 / 50

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

34 / 50

Zero-based index is used in jagged arrays.

35 / 50

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

36 / 50

Derived Event is:

37 / 50

Event-based programming is also known as:

38 / 50

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

39 / 50

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

40 / 50

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

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

42 / 50

Clean room design is useful as a defense against __________.

43 / 50

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

44 / 50

A (n) _____________is a subscription mechanism for events.

45 / 50

___________methods do not have names.

46 / 50

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

47 / 50

BAML is compressed representation of _________.

48 / 50

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

49 / 50

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

50 / 50

When the data is passed from one place to another in chunks, this data is called __________.

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