CS411 Midterm Online Quiz

0%

CS411-Midterm

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

2 / 50

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

3 / 50

All the members of interfaces are implicitly__________.

4 / 50

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

5 / 50

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

6 / 50

Events can be ______________.

7 / 50

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

8 / 50

A customer order can be represented as ________.

9 / 50

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

10 / 50

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

11 / 50

Events are based on the principle of ____________.

12 / 50

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

13 / 50

Dependency properties are represented by _______________.

14 / 50

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

15 / 50

Extension methods __________ access the private data members of the class in which they are extended.

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

17 / 50

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

18 / 50

An event is a list of___________.

19 / 50

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

20 / 50

Syntax of struct and class are very ________.

21 / 50

Polymorphism needs the signatures to be the ________.

22 / 50

Every __________ is represented by an event-object.

23 / 50

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

24 / 50

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

25 / 50

Which statement is true?

26 / 50

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

27 / 50

WPF4 was released in _________________________.

28 / 50

Auto-implemented properties do not allow simplified syntax.

29 / 50

Wait for a single event is ____________operation.

30 / 50

Default underlying type of an enum is ________.

31 / 50

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

32 / 50

XML is a stricter version of ____________.

33 / 50

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

34 / 50

An event is a list of___________.

35 / 50

Cast back to base type to call a/an ________ method of base.

36 / 50

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

37 / 50

________ add declarative information to your programs.

38 / 50

The initial name for C# was ___________.

39 / 50

Reference types hold a reference to an object in memory.

40 / 50

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

41 / 50

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

42 / 50

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

43 / 50

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

44 / 50

Which of the following is not a feature of "C#"?

45 / 50

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

46 / 50

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

47 / 50

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

48 / 50

"Console" is a/an __________ class in the "System" namespace.

49 / 50

__________let any classes behave like an array.

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

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