CS411 Visual Programming Solved MCQ's Spring 2015 By MMA(Awi)
Question # 1 of 10 ( Start time: 10:27:53 PM )
Total Marks: 1
Extension methods __________ access the private
data members of the class in which they are extended.
Select correct option:
may
cannot
may not
can
AML is compressed representation of _________.
Select correct option:
CAML:NS
XAML
XAML:NS
CAML
Question # 3 of 10 ( Start time: 10:30:09 PM )
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
Child object instance
Question # 4 of 10 ( Start time: 10:31:00 PM )
Total Marks: 1
IsNumeric(string s) is a function of
______________ class.
Select correct option:
math class
program class
string class
MyUtills class
Question # 5 of 10 ( Start time: 10:31:36 PM )
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 # 6 of 10 ( Start time: 10:32:45 PM )
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 # 7 of 10 ( Start time: 10:33:23 PM )
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
HeightMinimum
MinimumHeight
Question # 8 of 10 ( Start time: 10:34:38 PM )
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
WPF4 was released in
2012
2010
2005
2003
Question # 1 of 10 ( Start time: 10:42:36 PM
) 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 # 2 of 10 ( Start time: 10:42:58 PM
) Total Marks: 1
_________ allows to keep the user interface
description and implementation separate.
Select correct option:
GDI
WPF
Avalon
Altia
Question # 3 of 10 ( Start time: 10:43:15 PM
) Total Marks: 1
AML is compressed representation of _________.
Select correct option:
CAML:NS
XAML
XAML:NS
CAML
Question # 4 of 10 ( Start time: 10:43:53 PM
) 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
Question # 5 of 10 ( Start time: 10:45:20 PM
) 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: 10:46:20 PM
) 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 # 7 of 10 ( Start time: 10:47:41 PM
) Total Marks: 1
If we want to move an object in the 2-D x-y
coordinate system then which transform class will be used?
Select correct option:
Translate Transform
Skew Transform
Skew Transform
Rotate Transform
Question # 8 of 10 ( Start time: 10:48:09 PM
) Total Marks: 1
Dependency properties are represented by
_______________ .
Select correct option:
System.Windows.DependencyProperty
System.Windows.Dependency.Property
System.Windows.Dependency
System.Windows.Property.Dependency
Question # 9 of 10 ( Start time: 10:48:38 PM
) Total Marks: 1
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:
Select correct option:
<Button xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
Content="OK"/>
<Button xmlns= “OK”
Content="http://schemas.microsoft.com/winfx/2006/xaml/presentation
"/>
<Button
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
Event="OK"/>
<Button xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Call="OK"/>
Question # 10 of 10 ( Start time: 10:49:31 PM
) Total Marks: 1
Extension methods __________ access the private
data members of the class in which they are extended.
Select correct option:
May
Cannot
May not
Can
Question # 2 of 10 ( Start time: 10:52:00 PM
) Total Marks: 1
____________ is a base class similar to
UIElement but for document-related pieces of content that don’t have rendering
behavior on their own.
Select correct option:
ContentElement
VisualElement
SystemElement
XAMLElement
Question # 3 of 10 ( Start time: 10:52:37 PM
) 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: 10:53:54 PM
) 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 # 5 of 10 ( Start time: 10:54:42 PM
) 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 # 6 of 10 ( Start time: 10:55:06 PM
) Total Marks: 1
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:
Select correct option:
<Button
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
Content="OK"/>
<Button xmlns= “OK”
Content="http://schemas.microsoft.com/winfx/2006/xaml/presentation
"/>
<Button
xmlns=http://schemas.microsoft.com/winfx/2006/xaml/presentation
Event="OK"/>
<Button
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
Call="OK"/>
Question # 7 of 10 ( Start time: 10:55:42 PM
) Total Marks: 1
Mapping to the WPF namespaces is ______________
in-side the WPF assemblies.
Select correct option:
Specified at compile time
Hard-coded
None of the given
Dynamically specified
Question # 8 of 10 ( Start time: 10:56:13 PM
) Total Marks: 1
The _______________ user interfaces, enabled by
WPF, is getting a lot of attention.
Select correct option:
Loutish
Polished
Coarse
Distracted
Question # 9 of 10 ( Start time: 10:57:01 PM
) Total Marks: 1
If we want to move an object in the 2-D x-y
coordinate system then which transform class will be used?
Select correct option:
Translate Transform
Skew Transform
Skew Transform
Rotate Transform
Question # 10 of 10 ( Start time: 10:57:32 PM
) Total Marks: 1
The ___________ method is used to read the whole
file at once.
Select correct option:
ReadAllText(“test.txt”);
ReadAll();
Read(“test.txt”);
ReadLine();
Question # 1 of 10 ( Start time: 11:34:52 PM
) Total Marks: 1
With the help of WPF, an ugly looking
application can be _______ by the designers.
Select correct option:
Rearranged
Re-created
Re-themed
Rejected
Question # 2 of 10 ( Start time: 11:35:39 PM
) 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 # 3 of 10 ( Start time: 11:36:34 PM
) Total Marks: 1
_________ allows to keep the user interface
description and implementation separate.
Select correct option:
GDI
WPF
Avalon
Altia
Question # 4 of 10 ( Start time: 11:37:27 PM
) 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 # 5 of 10 ( Start time: 11:38:40 PM
) Total Marks: 1
Suppose we want to restrict the user to don’t
decrease the width of a WPF element from a specific amount then which property
will be used?
Select correct option:
MinimumWidth
WidthMinimum
MinWidth
None of given
Question # 6 of 10 ( Start time: 11:39:41 PM
) Total Marks: 1
The _______________ user interfaces, enabled by
WPF, is getting a lot of attention.
Select correct option:
Loutish
Polished
Coarse
Distracted
Question # 1 of 10 ( Start time: 01:06:02 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"
0 comments:
Post a Comment