CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

The initial name for C# was ___________.

2 / 50

Namespaces do not allow name reuse.

3 / 50

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

4 / 50

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

5 / 50

________ is a static class in the System namespace.

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

7 / 50

__________ events may or may not relate to an actual occurrence

8 / 50

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

9 / 50

_________ is an event that is introduced into an event processing system by an event producer.

10 / 50

WPF4 was released in _________________________.

11 / 50

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

12 / 50

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

13 / 50

Wpf 3.5 released in__________.

14 / 50

___________ reads entire document in memory.

15 / 50

To use kbhit() command, you need to include which header file in your program?

16 / 50

The “this” pointer in methods refers to the ________ on which the method is called.

17 / 50

XAML is a declarative programming language for creating and initializing objects.

18 / 50

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

19 / 50

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

20 / 50

Syntax of struct and class are very ________.

21 / 50

__________ is an entity that receives events from the system.

22 / 50

Ctor return any values and it initializes class members.

23 / 50

Clean room design is useful as a defense against __________.

24 / 50

Extension methods can only be defined in ______________ class.

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

Default underlying type of an enum is ________.

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

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

31 / 50

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

32 / 50

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

33 / 50

Stathread is stand for:

34 / 50

Polymorphism needs the signatures to be the ________.

35 / 50

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

36 / 50

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

37 / 50

A (n) _____________is a subscription mechanism for events.

38 / 50

Instances of value types do not have referential identity.

39 / 50

Wait for a single event is ____________operation.

40 / 50

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

41 / 50

Events may live ________ events like in event logs.

42 / 50

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

43 / 50

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

44 / 50

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

45 / 50

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

46 / 50

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

47 / 50

IsNumeric(string s) is a function of ______________ class.

48 / 50

Types of class members in C# are ________ and ________.

49 / 50

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

50 / 50

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

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