CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

If we require to set components in table (column and row) format, then which panel will be used?

2 / 50

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

3 / 50

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

4 / 50

A customer order can be represented as ________.

5 / 50

Attribute parameters can be either positional parameters or named parameters.

6 / 50

Cool stands for_________.

7 / 50

Indexers can take any number of ________.

8 / 50

___________ method reads the whole document in memory.

9 / 50

C# is a _________ and .NET is a _________.

10 / 50

Structs can not have destructors.

11 / 50

Stathread is stand for:

12 / 50

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

13 / 50

Default value of first member is ________.

14 / 50

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

15 / 50

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

16 / 50

At the time an event is fired, the _____________ methods will be invoked.

17 / 50

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

18 / 50

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

19 / 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:

20 / 50

An "object" element can have _________ type/s of children.

21 / 50

Derived class is exactly the same as base.

22 / 50

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

23 / 50

All the members of interfaces are implicitly__________.

24 / 50

Events may live ________ events like in event logs.

25 / 50

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

26 / 50

Events and ________ work hand in hand.

27 / 50

________ is basically array of arrays.

28 / 50

The initial name for C# was ___________.

29 / 50

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

30 / 50

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

31 / 50

A single exception can be handled differently.

32 / 50

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

33 / 50

Clean room design is useful as a defense against __________.

34 / 50

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

35 / 50

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

36 / 50

Console class can reside in multiple libraries.

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

38 / 50

Namespaces do not allow name reuse.

39 / 50

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

40 / 50

Additional XML namespaces (on the root or on children) must be ______ to be used on any identifiers from that namespace.

41 / 50

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

42 / 50

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

43 / 50

WPF4 was released in _________________________.

44 / 50

Anonymous method is a method without a name.

45 / 50

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

46 / 50

________ can leave your program in an inconsistent state by not releasing resources or doing some other type of cleanup.

47 / 50

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

48 / 50

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

49 / 50

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

50 / 50

__________ events may or may not relate to an actual occurrence

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