CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

Events can be ______________.

2 / 50

Clean room design is also called__________.

3 / 50

Attributes add ____________to your program.

4 / 50

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

5 / 50

There is no order requirement on named parameters.

6 / 50

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

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

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

Indexers are similar to properties, but are accessed via a/an ____________ rather than a property name.

12 / 50

A single exception can be handled differently.

13 / 50

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

14 / 50

Default underlying type of an enum is ________.

15 / 50

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

16 / 50

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

17 / 50

Derived Event is:

18 / 50

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

19 / 50

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

20 / 50

___________methods do not have names.

21 / 50

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

22 / 50

Derived class is exactly the same as base.

23 / 50

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

24 / 50

g++ is a command of ____________.

25 / 50

___________ reads entire document in memory.

26 / 50

The default constructor initializes the integers with ___________ value.

27 / 50

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

28 / 50

Events are based on the principle of ____________.

29 / 50

Dependency properties are represented by _______________.

30 / 50

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

31 / 50

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

32 / 50

Which of the following is built from request-response?

 

 

33 / 50

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

34 / 50

The System.Console is a ___________ which enables us to do Console Input and Output.

35 / 50

Anonymous method is a method without a name.

36 / 50

________ add declarative information to your programs.

37 / 50

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

38 / 50

XML is a stricter version of ____________.

39 / 50

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

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

41 / 50

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

42 / 50

________ processing operations include reading, creating, transforming, and deleting events.

43 / 50

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

44 / 50

Instances of value types do not have referential identity.

45 / 50

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

46 / 50

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

47 / 50

Console class can reside in multiple libraries.

48 / 50

A compiled C# file is called ________.

49 / 50

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

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