CS411 Midterm Online Quiz

0%

CS411-Midterm

1 / 50

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

2 / 50

Which of the following does NOT include in event processing operations?

3 / 50

Auto-implemented properties do not allow simplified syntax.

4 / 50

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

5 / 50

In context of XAML child element rules, if the child is plain text and a type converter exists to transform the child into the parent type (and no properties are set on the parent element), treat the child as the input to the type converter and use the output as the __________.

6 / 50

Every __________ is represented by an event-object.

7 / 50

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

8 / 50

__________ are inherited by classes which provide the real implementation.

9 / 50

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

10 / 50

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

11 / 50

Polymorphism needs the signatures to be the ________.

12 / 50

________ contacts the service provider or the server.

13 / 50

An event is a list of___________.

14 / 50

Default value of first member is ________.

15 / 50

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

16 / 50

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

17 / 50

Structs can not have destructors.

18 / 50

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

19 / 50

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

20 / 50

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

21 / 50

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

22 / 50

C# event is a class member that is ________ whenever the event it was designed for occurs (fires).

23 / 50

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

24 / 50

Anonymous method is a method without a name.

25 / 50

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

26 / 50

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

27 / 50

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

28 / 50

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

29 / 50

Events can be ______________.

30 / 50

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

31 / 50

There are ________ methods to read XML document.

32 / 50

The easiest way to declare an event is to put the event keyword in front of a ________ member.

33 / 50

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

34 / 50

A (n) _____________is a subscription mechanism for events.

35 / 50

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

36 / 50

What is the default value of "ColumnSpan" property of "Dockpanel"?

37 / 50

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

38 / 50

Which of the following is built from request-response?

 

 

39 / 50

Ctor return any values and it initializes class members.

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

41 / 50

___________methods do not have names.

42 / 50

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

43 / 50

Identify the Correct statement?

44 / 50

Graphical user interfaces and the event-driven model is not applied on which of the following?

45 / 50

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

46 / 50

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

47 / 50

An initializer list can be used to use an alternate constructor.

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

49 / 50

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

50 / 50

Default underlying type of an enum is ________.

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