CS411 Visual Programming Solved MCQ's Spring 2015 Part 2 By MMA(Awi)
Question # 2 of 10 (Start time: 01:06:31 AM) Total
Marks: 1
Extension methods can only be defined in
______________ class.
Select correct option:
Dynamic class
Normal class
String class
Static
class
Question # 3 of 10 ( Start time: 01:06:57 AM
) Total Marks: 1
In context of XAML child element rules, if the
parent supports a content property and the type of the child is compatible with
that property, treat the child as its __________.
Select correct option:
Super class
Sub class
Value………..
Interface
Question # 4 of 10 ( Start time: 01:07:18 AM
) Total Marks: 1
_________ allows to keep the user interface
description and implementation separate.
Select correct option:
GDI
WPF………….
Avalon
Altia
Question # 5 of 10 ( Start time: 01:07:34 AM
) Total Marks: 1
Which of the following is/are not derived from
“Control” class?
Select correct option:
ListBox
StatusBar
None of the given…………….
Button
Question # 6 of 10 ( Start time: 01:08:20 AM
) Total Marks: 1
If we want to rotate an object clockwise about a
specified point in a 2-D x-y coordinate system then which transform class will
be used?
Select correct option:
None of given………….
Translate Transform
Skew Transform
Scale Transform
Question # 7 of 10 ( Start time: 01:08:39 AM
) Total Marks: 1
Additional XML namespaces (on the root or on
children) must be ______ to be used on any identifiers from that namespace.
Select correct option:
Given a common prefix
Qualified with “Pre” keyword
Given
a distinct prefix……………
Qualified with “Ext” keyword
Question # 8 of 10 ( Start time: 01:09:00 AM
) Total Marks: 1
The code given below is equivalent to _________
. <SolidColorBrush>White</SolidColorBrush>
Select correct option:
<WhiteBrush >MyWhiteBrush </
WhiteBrush>
None of the given options
<SolidColorBrush Color="White"/>……………
<Brush Style= “SolidWhite” >
Question # 9 of 10 ( Start time: 01:09:34 AM
) Total Marks: 1
“FrameworkElement” is the base class that adds
support for _______________.
Select correct option:
Some common mechanisms for Windows-based
controls
Data binding
All
of the given options……………
Styles
Question # 10 of 10 ( Start time: 01:10:46 AM
) Total Marks: 1
WPF4 was released in ___________.
Select correct option:
2012
2010………………
2005
2003
Question # 1 of 10 ( Start time: 01:19:08 AM
) Total Marks: 1
When the data is passed from one place to
another in chunks, this data is called ____________.
Select correct option:
Bits
Line
Byte
Stream
NOT Confirm
Question # 2 of 10 ( Start time: 01:20:22 AM
) Total Marks: 1
The _______________ user interfaces, enabled by
WPF, is getting a lot of attention.
Select correct option:
Loutish
Polished……………..
Coarse
Distracted
Question # 3 of 10 ( Start time: 01:21:14 AM
) Total Marks: 1
“FrameworkElement” is the base class that adds
support for _______________.
Select correct option:
Some common mechanisms for Windows-based
controls
Data binding
All
of the given options……………..
Styles
Question # 4 of 10 ( Start time: 01:21:35 AM
) Total Marks: 1
XAML specification defines rules that map
".NET" namespaces, types, properties, and events into _________. I)
XML namespaces II) XML elements III) XML Attributes
Select correct option:
(I) Only
(II) Only
(I),
(II) and (III) only…………….
(III) Only
Question # 5 of 10 ( Start time: 01:21:54 AM
) Total Marks: 1
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?
Select correct option:
Parent
Whole
Fill
Stretch……………
Question # 6 of 10 ( Start time: 01:22:58 AM
) Total Marks: 1
Suppose we want to restrict the user to don’t
increase the height of a WPF element from a specific amount then which property
will be used?
Select correct option:
MaximumHeight
MaxHeight…………….
None of given
HeightMaximum
Question # 7 of 10 ( Start time: 01:23:27 AM
) Total Marks: 1
All elements of WPF have following
property/properties.
Select correct option:
Width
None of given options
Height
and Width…………
Height
Question # 8 of 10 ( Start time: 01:23:56 AM
) Total Marks: 1
If we exclude the mechanism of calling the
objects through name then:
Select correct option:
Code will not compile
Code will be difficult to debug
Code will have errors
Code will become design dependent
Question # 9 of 10 ( Start time: 01:25:10 AM
) Total Marks: 1
IsNumeric(string s) is a function of
______________ class.
Select correct option:
Math class
Program class
String class
MyUtills
class…………..
Question # 10 of 10 ( Start time: 01:25:27 AM
) Total Marks: 1
WPF element in "DockPanel" has
property "dock". There is/are __________ possible value(s) of
"dock" property.
Select correct option:
Two
Three
Four……………….
One
Question # 1 of 10 ( Start time: 01:29:59 AM
) Total Marks: 1
If we want to place a component at top in
"dockpanel" then which one is correct syntax?
Select correct option:
PanelDock="Top"
Dock="Top"
DockPanel.Dock="Top"…………..
DockPanel="Top"
Question # 2 of 10 ( Start time: 01:30:16 AM
) Total Marks: 1
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?
Select correct option:
MinHeight………………
None of given
HeightMinimum
MinimumHeight
Question # 3 of 10 ( Start time: 01:30:33 AM
) Total Marks: 1
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!
Select correct option:
Propdp………
Property extension
Dpprop
Dependency property
Question # 4 of 10 ( Start time: 01:30:52 AM
) Total Marks: 1
WPF4 was released in ___________.
Select correct option:
2012
2010…………..
2005
2003
Question # 5 of 10 ( Start time: 01:31:02 AM
) Total Marks: 1
AML is compressed representation of _________.
Select correct option:
CAML:NS
XAML
XAML:NS
CAML
Question # 6 of 10 ( Start time: 01:31:13 AM
) Total Marks: 1
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 __________.
Select correct option:
Parent
object instance…………
Interface object instance
None of the given
Child object instance
Question # 7 of 10 ( Start time: 01:31:52 AM
) Total Marks: 1
The _______________ user interfaces, enabled by
WPF, is getting a lot of attention.
Select correct option:
Loutish
Polished…………
Coarse
Distracted
Question # 8 of 10 ( Start time: 01:32:04 AM
) Total Marks: 1
XAML specification defines rules that map
".NET" namespaces, types, properties, and events into _________. I)
XML namespaces II) XML elements III) XML Attributes
Select correct option:
(I) Only
(II) Only
(I),
(II) and (III) only…………..
(III) Only
Question # 9 of 10 ( Start time: 01:32:13 AM
) Total Marks: 1
“FrameworkElement” is the base class that adds
support for _______________.
Select correct option:
Some common mechanisms for Windows-based
controls
Data binding
All
of the given options………………
Styles
Question # 10 of 10 ( Start time: 01:32:33 AM
) Total Marks: 1
Suppose we want to restrict the user to don’t
increase the height of a WPF element from a specific amount then which property
will be used?
Select correct option:
MaximumHeight
MaxHeight…………..
None of given
HeightMaximum
Question # 1 of 10 ( Start time: 01:33:59 AM
) Total Marks: 1
If we want to place a component at top in
"dockpanel" then which one is correct syntax?
Select correct option:
PanelDock="Top"
Dock="Top"
DockPanel.Dock="Top"………………
DockPanel="Top"
Question # 2 of 10 ( Start time: 01:34:18 AM
) Total Marks: 1
The _______________ user interfaces, enabled by
WPF, is getting a lot of attention.
Select correct option:
Loutish
Polished……………
Coarse
Distracted
Question # 3 of 10 ( Start time: 01:34:38 AM
) Total Marks: 1
Additional XML namespaces (on the root or on
children) must be ______ to be used on any identifiers from that namespace.
Select correct option:
Given a common prefix
Qualified with “Pre” keyword
Given a distinct prefix……………
Qualified with “Ext” keyword
Question # 4 of 10 ( Start time: 01:35:05 AM
) Total Marks: 1
“FrameworkElement” is the base class that adds
support for _______________.
Select correct option:
Some common mechanisms for Windows-based
controls
Data binding
All
of the given options…………….
Styles
Question # 5 of 10 ( Start time: 01:35:29 AM
) Total Marks: 1
Supposed we want to place an element on canvas
on a specific location which properties will be used?
Select correct option:
Top and Bottom
Left and Bottom
Left and Right
Right and Bottom
Question # 6 of 10 ( Start time: 01:36:46 AM
) Total Marks: 1
_________ allows to keep the user interface
description and implementation separate.
Select correct option:
GDI
WPF………………..
Avalon
Altia
Question # 7 of 10 ( Start time: 01:37:14 AM
) Total Marks: 1
In context of XAML child element rules, if the
parent supports a content property and the type of the child is compatible with
that property, treat the child as its __________.
Select correct option:
Super class
Sub class
Value…………..
Interface
Question # 8 of 10 ( Start time: 01:37:37 AM
) Total Marks: 1
Extension methods can only be defined in
______________ class.
Select correct option:
Dynamic class
Normal class
String class
Static
class……………
Question # 9 of 10 ( Start time: 01:38:41 AM
) Total Marks: 1
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!
Select correct option:
Propdp………………
Property extension
Dpprop
Dependency property
Question # 10 of 10 ( Start time: 01:38:58 AM
) Total Marks: 1
WPF element in "DockPanel" has
property "dock". There is/are __________ possible value(s) of
"dock" property.
Select correct option:
Two
Three
Four…………..
One
0 comments:
Post a Comment