CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

_________types have the notion of referential identity.

2 / 50

Events may live ________ events like in event logs.

3 / 50

Multiple ________ are conventionally stored in multiple files.

4 / 50

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

5 / 50

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

6 / 50

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

7 / 50

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

8 / 50

Which of the following events may or may not relate to an actual occurrence?

9 / 50

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

10 / 50

Default value of first member is ________.

11 / 50

__________let any classes behave like an array.

12 / 50

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

13 / 50

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

14 / 50

Anonymous methods ____________ the code size.

15 / 50

Namespaces do not allow name reuse.

16 / 50

The only __________ .Net language has an intrinsic understanding of dependency Properties.

17 / 50

We want the width of button should cover the whole width of StackPanel in WPF then what should be value of HorizontalAlignment property of button?

18 / 50

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

19 / 50

Obsoleteattribute causes a ________ warning to appear.

20 / 50

________ add declarative information to your programs.

21 / 50

Named parameters come before positional parameters.

22 / 50

Which of the following statements is TRUE about raw event?

23 / 50

System.Windows.Controls.Button b = new System.Windows.Controls.Button(); b.Content = "OK"; For the above code (written in C#) the corresponding XAML code will be:

24 / 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!

25 / 50

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

26 / 50

Events are based on the principle of ____________.

27 / 50

Default underlying type of an enum is ________.

28 / 50

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

29 / 50

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

30 / 50

Events and ________ work hand in hand.

31 / 50

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

32 / 50

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

33 / 50

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

34 / 50

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

35 / 50

________ contacts the service provider or the server.

36 / 50

The initial name for C# was ___________.

37 / 50

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

38 / 50

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

39 / 50

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

40 / 50

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

41 / 50

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

42 / 50

A class can inherit from ___________class/classes.

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

Attribute parameters can be either positional parameters or named parameters.

47 / 50

________ decouple producers and consumers.

48 / 50

Zero-based index is used in jagged arrays.

49 / 50

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

50 / 50

A delegate is a reference to a method.

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