CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

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

2 / 50

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

3 / 50

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

4 / 50

Single Threaded Apartment model is used for communicating with unmanaged COM.

5 / 50

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

6 / 50

Extension methods can only be defined in ______________ class.

7 / 50

An "UIElement" receives mouse events only if "IsHitTestVisible" is ________.

8 / 50

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

9 / 50

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

10 / 50

Anonymous methods ____________ the code size.

11 / 50

Obsoleteattribute causes a ________ warning to appear.

12 / 50

An event is a list of___________.

13 / 50

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

14 / 50

Events may live ________ events like in event logs.

15 / 50

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

16 / 50

During the program execution, program can be stopped with the help of _________.

17 / 50

A (n) _____________is a subscription mechanism for events.

18 / 50

__________ is an entity that receives events from the system.

19 / 50

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

20 / 50

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

21 / 50

Enum of one type may not be ________ assigned to an enum of another type.

22 / 50

WPF stands for:

23 / 50

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

24 / 50

Which of the following is built from request-response?

 

 

25 / 50

Auto-implemented properties do not allow simplified syntax.

26 / 50

Events and ________ work hand in hand.

27 / 50

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

28 / 50

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

29 / 50

WPF4 was released in _________________________.

30 / 50

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

31 / 50

Events can be ______________.

32 / 50

Wpf 3.5 released in__________.

33 / 50

XML is a stricter version of ____________.

34 / 50

Which of the following is an entity that introduces event into the system?

35 / 50

Console class can reside in multiple libraries.

36 / 50

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

37 / 50

Wait for a single event is ____________operation.

38 / 50

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

39 / 50

CLI stands for:

40 / 50

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

41 / 50

Reference types hold a reference to an object in memory.

42 / 50

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

43 / 50

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

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

45 / 50

Using xmldocument, the order is required.

46 / 50

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

47 / 50

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

48 / 50

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

49 / 50

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

50 / 50

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

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