Deck 28: Visual Basic 2012 How to Program

Full screen (f)
exit full mode
Question
TextDecorations can put lines through text at three different levels.
Use Space or
up arrow
down arrow
to flip the card.
Question
WPF supports linear and radial color gradients.
Question
Using a(n)______ object,a Button's Background can be set to _____.

A)SolidColorBrush,a color
B)ImageBrush,an image
C)VisualBrush,a video
D)All of the above
Question
A shape's Stroke property _______________.

A)specifies the inner color
B)specifies the outline color
C)may be set to a Color or a Brush
D)b and c.
Question
The difference between a Polyline and a Polygon is that _______

A)A Polyline has a repeating pattern of identical lines and corners
B)A Polygon connects its first and last points.
C)A Polyline is closed and can be filled with a color.
D)None of the above.
Question
All gradient brushes are a transition between two colors.
Question
A Line is identified by the coordinates of its endpoint.
Question
A solid red circle can be drawn using a shape of type _______.

A)Ellipse
B)Circle
C)Oval
D)All of the above.
Question
The __________ property determines the font that text is written in (e.g.Arial,Verdana).

A)FontName
B)FontStyle
C)FontFamily
D)none of the above
Question
The __________ FontSize property is set in units of __________

A)machine-independent pixels
B)millimeters (mm)
C)inches (in)
D)font points
Question
The transform that moves a shape,but otherwise leaves it unchanged,is known as a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Question
The difference between a shape that is Hidden and one that is Collapsed is:

A)A Collapsed shape does not take up space.
B)A Hidden shape has a clickable tab to reveal it.
C)A Collapsed shape expands when the mouse is over it.
D)Both a.and b.
Question
WPF uses a raster-based graphics system.
Question
A Canvas control uses absolute positioning.
Question
WPF sizes are measured in a machine-independent standard,allowing different devices to display WPF applications correctly.
Question
A shape's Fill property may be set to a Color or a Brush.
Question
In WPF,the logical point (1,1)represents a point _____.

A)One pixel to the right and one pixel down from the top-left corner
B)Same as (a),but with machine-independent pixels
C)In the top right of the element
D)None of the above
Question
Video files are set as the Source property of a _____.

A)TVFrame
B)VisualBrush
C)MediaElement
D)None of the above
Question
The use of logical points is consistent with relative positioning.
Question
The points of a polygon or polyline are stored in a type of collection known as a CoordinateArray.
Question
A DoubleAnimation type _______.

A)animates two properties
B)animates a property of type Double
C)animates a property which changes in one way,then reverses
D)none of the above
Question
A WPF animation changes a property from one value to another over a set period of time.
Question
The transform that changes the size of a shape,but otherwise leaves it unchanged,is a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Question
Transforms cannot be applied to controls,only shapes.
Question
Setting the Stretch property of a MediaElement to Uniform keeps the video at its original size.
Question
The transform that distorts an object's shape horizontally or vertically is known as a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Question
When a Storyboard is triggered,________.

A)its embedded animations play,one at a time
B)its embedded animations are triggered simultaneously
C)TargetPropertys are set to their final values
D)none of the above
Question
Bitmap effects can be used to give the illusion of a 3-D object.
Question
The transform that rotates a shape around a point,but otherwise leaves it unchanged,is known as a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Question
Setting the Stretch property of a MediaElement to Fill makes the video as large as possible without distortion or cropping.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/30
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 28: Visual Basic 2012 How to Program
1
TextDecorations can put lines through text at three different levels.
False
2
WPF supports linear and radial color gradients.
True
3
Using a(n)______ object,a Button's Background can be set to _____.

A)SolidColorBrush,a color
B)ImageBrush,an image
C)VisualBrush,a video
D)All of the above
D
4
A shape's Stroke property _______________.

A)specifies the inner color
B)specifies the outline color
C)may be set to a Color or a Brush
D)b and c.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
5
The difference between a Polyline and a Polygon is that _______

A)A Polyline has a repeating pattern of identical lines and corners
B)A Polygon connects its first and last points.
C)A Polyline is closed and can be filled with a color.
D)None of the above.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
6
All gradient brushes are a transition between two colors.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
7
A Line is identified by the coordinates of its endpoint.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
8
A solid red circle can be drawn using a shape of type _______.

A)Ellipse
B)Circle
C)Oval
D)All of the above.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
9
The __________ property determines the font that text is written in (e.g.Arial,Verdana).

A)FontName
B)FontStyle
C)FontFamily
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
10
The __________ FontSize property is set in units of __________

A)machine-independent pixels
B)millimeters (mm)
C)inches (in)
D)font points
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
11
The transform that moves a shape,but otherwise leaves it unchanged,is known as a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
12
The difference between a shape that is Hidden and one that is Collapsed is:

A)A Collapsed shape does not take up space.
B)A Hidden shape has a clickable tab to reveal it.
C)A Collapsed shape expands when the mouse is over it.
D)Both a.and b.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
13
WPF uses a raster-based graphics system.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
14
A Canvas control uses absolute positioning.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
15
WPF sizes are measured in a machine-independent standard,allowing different devices to display WPF applications correctly.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
16
A shape's Fill property may be set to a Color or a Brush.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
17
In WPF,the logical point (1,1)represents a point _____.

A)One pixel to the right and one pixel down from the top-left corner
B)Same as (a),but with machine-independent pixels
C)In the top right of the element
D)None of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
18
Video files are set as the Source property of a _____.

A)TVFrame
B)VisualBrush
C)MediaElement
D)None of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
19
The use of logical points is consistent with relative positioning.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
20
The points of a polygon or polyline are stored in a type of collection known as a CoordinateArray.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
21
A DoubleAnimation type _______.

A)animates two properties
B)animates a property of type Double
C)animates a property which changes in one way,then reverses
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
22
A WPF animation changes a property from one value to another over a set period of time.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
23
The transform that changes the size of a shape,but otherwise leaves it unchanged,is a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
24
Transforms cannot be applied to controls,only shapes.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
25
Setting the Stretch property of a MediaElement to Uniform keeps the video at its original size.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
26
The transform that distorts an object's shape horizontally or vertically is known as a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
27
When a Storyboard is triggered,________.

A)its embedded animations play,one at a time
B)its embedded animations are triggered simultaneously
C)TargetPropertys are set to their final values
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
28
Bitmap effects can be used to give the illusion of a 3-D object.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
29
The transform that rotates a shape around a point,but otherwise leaves it unchanged,is known as a:

A)TranslateTransform
B)SkewTransform
C)ScaleTransform
D)none of the above
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
30
Setting the Stretch property of a MediaElement to Fill makes the video as large as possible without distortion or cropping.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 30 flashcards in this deck.