CS411-Visual Programming Mid-Term Grand Quiz Fall 2021

 

MID-TERM GRAND QUIZ
 FALL 2020

Question No 1:

A stream in which the (Raise For Success) events may be of different types is referred to as _______ event stream.

  • Homogeneous
  • Continuous
  • Heterogeneous Correct
  • Mutual

Question No 2:

Which of the following is (Raise For Success) the correct C# code to create button in WPF project?

  • System Windows Button b = new System Windows Button(), b Content = “OK”.
  • System Windows Controls Button b = new System Windows Controls Button(): b Content=”OK”. Correct
  • System Forms Button b = new System Forms Button(): b Content=”OK”.
  • System Forms Windows Button b = new System Forms Windows Button(): b Content=”OK”.

Question No 3:

Which of the following (Raise For Success) is the feature of C#.

  • Operator overloading is allowed
  • Interface supported
  • Multiple Inheritance
  • Locals cannot shadow global variables Correct

 Question No 4:

In C++ which of the following (Raise For Success) library is included for ‘cin’ and ‘cout’ function?

  • #include<fstream.h>
  • #include<iostream.h> Correct
  • #include<conio.h>
  • #include<ifstream.h>

Question No 5:

Dock panel (Raise For Success) is a _______ of stack panel.

  • Superset Correct
  • Subset
  • Union
  • Intersection



Question No 6:

XAML is good to (Raise For Success) concisely represent ______.

  • User interface Correct
  • User logic
  • User concerns
  • User behavior

Question No 7:

Attribute parameters (Raise For Success) can be either positional parameter or _________ parameters.

  • Named Correct
  • Static
  • Global
  • Private

Question No 8:

Multitouch (Raise For Success) events are available on ________.

  • Windows 95
  • Windows 99
  • Windows XP
  • Windows 7 or later Correct

Question No 9:

In XAML 2006, X Class (Raise For Success) modifier by default access level is ________.

  • Private
  • Internal
  • Public Correct
  • Protected

Question No 10:

Default value (Raise For Success) of Grid Row is __________.

  • O
  • 1 Correct
  • 2
  • 3



Question No 11:

The main method (Raise For Success) returns zero value, which indicated the _________.

  • Source of Program
  • Successful execution of Program Correct
  • Termination of Program
  • Exception in Program

Question No 12:

Select wrong (Raise For Success) statement about destructor in C#?

  • Class can have one destructor only
  • Destructor can have modifiers or parameters Correct
  • Destructor cannot be inherited or overloaded
  • Destructor work opposite to constructor

Question No 13:

In WPF _________ function adds (Raise For Success) another type as an owner of a dependency property that has already been registered to a type:

  • AddOnwer(Type,ProperyMetadata) Correct
  • Add_Onwer(Type,ProperyMetadata)
  • Onwer_Add(Type,ProperyMetadata)
  • Onwer(Type,ProperyMetadata)

Question No 14:

Which type of panel is (Raise For Success) used when we have to customize the building controls in wpf?

  • Grid
  • Stack Correct
  • Primitive
  • Wrap

Question No 15:

Additional XML, namespaces (on the roof or on children) must be _____ to be (Raise For Success) used on any identifiers from that namespace.

  • Given a common prefix.
  • Qualified with “Pre” keyword
  • Given a distinct prefix Correct
  • Qualified with “Ext” keyword



Question No 16:

A delegate is (Raise For Success) like ______ in some other languages.

  • Function Pointers Correct
  • Static variables
  • Scope modifier
  • None of given options

Question No 17:

Which of the following (Raise For Success) keyword is used to monitor exceptions?

  • Finally
  • Try
  • Throw Correct
  • Catch

Question No 18:

Superset of canvas (Raise For Success) is _________.

  • Grid
  • Stack Panel
  • Dock Panel
  • Wrap panel Correct

Question No 19:

Visibility attribute (Raise For Success) will be set to ________ to hide a particular panel in WPF.

  • Hide
  • Resizable
  • Invisible
  • Collapsed Correct

Question No 20:

What is the return (Raise For Success) type of destructions?

  • Int
  • Float
  • Void
  • No return types Correct



Question No 21:

In WPF _________ use (Raise For Success) the method to add additional data with the sealed class object.

  • Dependency Properties Correct
  • Class
  • Xmlns
  • Tree Structure

Question No 22:

An event processing agent is said to be ______ if the way if processes one (Raise For Success) event does not influence the way it processes any subsequent events.

  • Consumer
  • Producer
  • Stateless Correct
  • Heterogeneous

Question No 23:

________ Property value (Raise For Success) is used to set width and height of element in WPF according to its content.

  • Name
  • X-class Correct
  • Nan
  • Tree

Question No 24:

Ul element focusable (Raise For Success) value is________ by default.

  • True
  • False Correct
  • Nil
  • Zero

Question No 25:

Margin defines on (Raise For Success) extra space _________ while considering edges of the element.

  • Between
  • Inside
  • Outside Correct
  • Anywhere



Question No 26:

_________ Methods (Raise For Success) do not have names.

  • Non-anonymous
  • Anonymous Correct
  • Static
  • Private

Question No 27:

If we include the mechanism (Raise For Success) of calling the objects through name then.

  • Code will not complete Correct
  • Code will be difficult to debug
  • Code will have errors
  • Code will become design dependent

Question No 28:

Attached event will be (Raise For Success) raised by the ______ element while bubbling.

  • Parent
  • Child
  • Both 1 & 2 Correct
  • Header

Question No 29:

_________ Graphics work (Raise For Success) with shapes in WPF.

  • Scalar
  • Vector Correct
  • Both 1 & 2
  • Direct 3D

Question No 30:

Which of the following (Raise For Success) events may or may not relate to an actual occurrence?

  • Probabilistic Events Correct
  • Actual Events
  • Real Events
  • Expected Events

Previous Post Next Post