Deck 21: Windows 8 Graphics and Multimedia

Full screen (f)
exit full mode
Question
Windows 8 graphic elements are rendered on screen using a _______ system in which calculations determine how to size and scale each element,allowing graphic elements to be preserved across any rendering size.

A)raster-based
B)dynamic-rendering
C)vector-based
D)degradation-based
Use Space or
up arrow
down arrow
to flip the card.
Question
Which of the following statements about Stretch values is false?

A)The Stretch value UniformToFill indicates that the image should fill the element in which it's displayed and the original image's aspect ratio should be maintained.Keeping this ratio at its original value ensures that the video does not look stretched,though it might be cropped-that is,you'll see only a portion of the image.Other possibilities for Stretch are:
B)The Stretch value None gives the image a zero size.
C)The Stretch value Fill resizes the image to the width and height of the area it's filling.This changes the image's aspect ratio.
D)The Stretch value Uniform preserves the image's aspect ratio but resizes it to fit the width or height of the area it's filling.
Question
Which of the following statements is false?

A)The graphics system in Windows 8 uses your computer's graphics hardware to reduce the load on the CPU.
B)Windows 8 graphics use resolution-independent units of measurement,making apps more uniform and portable across devices.
C)The size properties of graphic elements in Windows 8 are measured in machine-independent pixels,where one pixel typically represents 1/96 of an inch-however,this depends on the computer's resolution settings.
D)Some users set their screens to higher resolutions so that everything appears larger on the screen and some set their screens to lower resolutions to have more screen space to work with.
Question
Rectangles have a Stroke property,which defines the color of the shape's outline.If either the Fill or the Stroke is not specified,that property will be rendered ________.

A)translucently
B)opaquely
C)shaded
D)transparently
Question
Which of the following statements is false?

A)By default,the Toolbox contains only the Rectangle and Ellipse shapes,which you can drag onto the GUI designer.
B)To edit a shape's properties in the Properties window you must first select the shape in the designer.
C)A Canvas allows you to specify the exact position of a shape.
D)The Document Outline window shows the nested structure of a page's layouts and controls and makes it easier to select specific controls to customize them with the Properties window.
Question
Unless otherwise specified,the elements in a one-cell Grid are ________ within the Grid.

A)centered horizontally
B)centered vertically
C)not centered
D)centered horizontally and vertically
Question
Which of the following statements about RotateTransforms is false?

A)To apply a rotation to a Polygon,we set its RenderTransform property to a new RotateTransform object.
B)The RotateTransform's CenterX and 44 properties represent the coordinates of the point of rotation-the point around which the shape will rotate.
C)The Angle property indicates the number of degrees to rotate.
D)A positive value for the Angle rotates counterclockwise.
Question
A Line is defined by its ________ endpoint(s).

A)1
B)2
C)3
D)4
Question
Which of the following statements is false?

A)In raster-based systems,the precise pixels are specified for each graphical element.
B)Graphic elements other than images and video are drawn using Windows 8's raster-based system,so they look good at many screen resolutions.
C)Brushes can be used to fill an element with solid colors,images and gradients,allowing for unique and interesting visual experiences.
D)Windows 8 transforms are used to reposition and reorient controls and shapes.
Question
Which of the following statements is false?

A)You can use any custom color created from a combination of alpha (transparency),red,green and blue components called ARGB values-each is an integer in the range 0-255 that defines the amount of alpha,red,green and blue in the color,respectively.
B)An alpha value of 0 is completely opaque and an alpha value of 255 is completely transparent.
C)In the IDE,the alpha is specified as a percentage from 0 to 100,which the IDE then translates into 00-FF.
D)To specify an ImageBrush for a TextBlock,click the tab below the Foreground property,then specify values for the Stretch and ImageSource properties.
Question
Which of the following is not a way that you can create a ControlTemplate:

A)You can create a Page.Resources element in the XAML and edit the XAML directly.
B)You can edit a copy of a control's default Style,which contains the control's default ControlTemplate.
C)You can define a new ControlTemplate then edit its content.
D)You can edit the Templates.Resources element in the XAML.
Question
Which of the following statements about setting a Rectangle's Fill to a gradient is false?

A)Logical points reference locations in the control independent of the actual size.
B)The point (0,0)represents the control's top-left corner while the point (1,1)represents the bottom-right corner.
C)The gradient will transition linearly from the start point to the end point.
D)You must assign properties StartPoint and EndPoint logical points that are defined as x- and y-coordinates with values between 0.0 and 255.0,inclusive.
Question
In Visual Basic,a ________ is a gradual transition through two or more colors.

A)slant
B)progressive coloration
C)gradient
D)ramp
Question
Shape objects have a StrokeThickness property which defines the thickness of the outline.The default value for StrokeThickness is ________ pixel(s).

A)one
B)two
C)three
D)five
Question
Which of the following statements is false?

A)To draw a circle or ellipse,you can use the Circle control.
B)An Ellipse's location and size is defined like a Rectangle-with attached properties Canvas.Left and Canvas.Top for the upper-left corner,and properties Width and Height for the size.
C)Together,the Canvas.Left,Canvas.Top,Width and Height of an Ellipse define an invisible bounding rectangle in which the Ellipse touches the center of each side.
D)To draw a circle,provide the same value for the Width and Height.
Question
Which of the following statements about SolidColorBrushes and ImageBrushes is false?

A)You can use SolidColorBrushes and ImageBrushes to change an element's graphic properties,such as the Fill,Stroke or Background.
B)A SolidColorBrush specifies a solid color to apply to a property.
C)If you're editing the XAML directly,the IDE's IntelliSense feature will display a drop-down list of predefined color names that you can use.
D)You may also specify any solid color you like via the Properties window's Stroke section.
Question
Which of the following statements about Polylines and Polygons is false?

A)Each Polyline and Polygon object has a Points property defined in the XAML.This property consists of a series of points that are defined as x-y coordinates on the Canvas.
B)Each point's x and y values are separated by a comma,and each point is separated from the next with a space.
C)The Points property is an object of class PointCollection (namespace Windows.UI.Xaml.Media)that stores individual Point objects.
D)Polygon draws a series of connected lines defined by a set of points,while Polyline does the same but connects the start and end points to make a closed figure.
Question
Which of the following statements is false?

A)A gradient's colors are defined by GradientStops-each specifies a single color along the gradient.
B)A GradientStop's Location property defines where along the linear transition you want the color to appear.
C)You can change the GradientStops' positions by dragging the thumbs that represent them on the sample gradient in the Properties window.
D)If GradientStops have x:Name properties in the XAML,we can interact with them programmatically to change their colors.
Question
Color method FromArgb receives four bytes that specify the alpha,red,green and blue components of a color.Each byte can represent values in the range ________.

A)0-99
B)1-256
C)0-255
D)1-100
Question
A transform can be applied to any UI element to reposition or reorient the graphic.Which of the following statements about transforms is false?

A)A RotateTransform,rotates an object around a point by a specified rotation angle.
B)A ScaleTransform scales the object along the x-axis and y-axis.
C)A SkewTransform skews (or shears)the object.
D)You can apply only one transform to a control.
Question
The VisualState element: <strong>The VisualState element:   Indicates that when the CheckBox is checked,the GradientStop named ________ should have its Color property changed to LimeGreen.</strong> A)Color B)startColor C)TargetProperty D)TargetName <div style=padding-top: 35px>
Indicates that when the CheckBox is checked,the GradientStop named ________ should have its Color property changed to LimeGreen.

A)Color
B)startColor
C)TargetProperty
D)TargetName
Question
Which of the following statements is false?

A)There are many animation capabilities in Windows 8.
B)An ObjectAnimationUsingKeyFrames animation allows you to change a property of an object to a new value.
C)You can specify that animations be performed over a period of time.
D)Other animation types include animating Points so that you can move an object,animating transitions from one color to another over time and animating numeric values over time-this could be used to animate an object's size changes.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 21: Windows 8 Graphics and Multimedia
1
Windows 8 graphic elements are rendered on screen using a _______ system in which calculations determine how to size and scale each element,allowing graphic elements to be preserved across any rendering size.

A)raster-based
B)dynamic-rendering
C)vector-based
D)degradation-based
C
2
Which of the following statements about Stretch values is false?

A)The Stretch value UniformToFill indicates that the image should fill the element in which it's displayed and the original image's aspect ratio should be maintained.Keeping this ratio at its original value ensures that the video does not look stretched,though it might be cropped-that is,you'll see only a portion of the image.Other possibilities for Stretch are:
B)The Stretch value None gives the image a zero size.
C)The Stretch value Fill resizes the image to the width and height of the area it's filling.This changes the image's aspect ratio.
D)The Stretch value Uniform preserves the image's aspect ratio but resizes it to fit the width or height of the area it's filling.
B
3
Which of the following statements is false?

A)The graphics system in Windows 8 uses your computer's graphics hardware to reduce the load on the CPU.
B)Windows 8 graphics use resolution-independent units of measurement,making apps more uniform and portable across devices.
C)The size properties of graphic elements in Windows 8 are measured in machine-independent pixels,where one pixel typically represents 1/96 of an inch-however,this depends on the computer's resolution settings.
D)Some users set their screens to higher resolutions so that everything appears larger on the screen and some set their screens to lower resolutions to have more screen space to work with.
D
4
Rectangles have a Stroke property,which defines the color of the shape's outline.If either the Fill or the Stroke is not specified,that property will be rendered ________.

A)translucently
B)opaquely
C)shaded
D)transparently
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following statements is false?

A)By default,the Toolbox contains only the Rectangle and Ellipse shapes,which you can drag onto the GUI designer.
B)To edit a shape's properties in the Properties window you must first select the shape in the designer.
C)A Canvas allows you to specify the exact position of a shape.
D)The Document Outline window shows the nested structure of a page's layouts and controls and makes it easier to select specific controls to customize them with the Properties window.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
6
Unless otherwise specified,the elements in a one-cell Grid are ________ within the Grid.

A)centered horizontally
B)centered vertically
C)not centered
D)centered horizontally and vertically
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
7
Which of the following statements about RotateTransforms is false?

A)To apply a rotation to a Polygon,we set its RenderTransform property to a new RotateTransform object.
B)The RotateTransform's CenterX and 44 properties represent the coordinates of the point of rotation-the point around which the shape will rotate.
C)The Angle property indicates the number of degrees to rotate.
D)A positive value for the Angle rotates counterclockwise.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
8
A Line is defined by its ________ endpoint(s).

A)1
B)2
C)3
D)4
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
9
Which of the following statements is false?

A)In raster-based systems,the precise pixels are specified for each graphical element.
B)Graphic elements other than images and video are drawn using Windows 8's raster-based system,so they look good at many screen resolutions.
C)Brushes can be used to fill an element with solid colors,images and gradients,allowing for unique and interesting visual experiences.
D)Windows 8 transforms are used to reposition and reorient controls and shapes.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following statements is false?

A)You can use any custom color created from a combination of alpha (transparency),red,green and blue components called ARGB values-each is an integer in the range 0-255 that defines the amount of alpha,red,green and blue in the color,respectively.
B)An alpha value of 0 is completely opaque and an alpha value of 255 is completely transparent.
C)In the IDE,the alpha is specified as a percentage from 0 to 100,which the IDE then translates into 00-FF.
D)To specify an ImageBrush for a TextBlock,click the tab below the Foreground property,then specify values for the Stretch and ImageSource properties.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
11
Which of the following is not a way that you can create a ControlTemplate:

A)You can create a Page.Resources element in the XAML and edit the XAML directly.
B)You can edit a copy of a control's default Style,which contains the control's default ControlTemplate.
C)You can define a new ControlTemplate then edit its content.
D)You can edit the Templates.Resources element in the XAML.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
12
Which of the following statements about setting a Rectangle's Fill to a gradient is false?

A)Logical points reference locations in the control independent of the actual size.
B)The point (0,0)represents the control's top-left corner while the point (1,1)represents the bottom-right corner.
C)The gradient will transition linearly from the start point to the end point.
D)You must assign properties StartPoint and EndPoint logical points that are defined as x- and y-coordinates with values between 0.0 and 255.0,inclusive.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
13
In Visual Basic,a ________ is a gradual transition through two or more colors.

A)slant
B)progressive coloration
C)gradient
D)ramp
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
14
Shape objects have a StrokeThickness property which defines the thickness of the outline.The default value for StrokeThickness is ________ pixel(s).

A)one
B)two
C)three
D)five
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following statements is false?

A)To draw a circle or ellipse,you can use the Circle control.
B)An Ellipse's location and size is defined like a Rectangle-with attached properties Canvas.Left and Canvas.Top for the upper-left corner,and properties Width and Height for the size.
C)Together,the Canvas.Left,Canvas.Top,Width and Height of an Ellipse define an invisible bounding rectangle in which the Ellipse touches the center of each side.
D)To draw a circle,provide the same value for the Width and Height.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
16
Which of the following statements about SolidColorBrushes and ImageBrushes is false?

A)You can use SolidColorBrushes and ImageBrushes to change an element's graphic properties,such as the Fill,Stroke or Background.
B)A SolidColorBrush specifies a solid color to apply to a property.
C)If you're editing the XAML directly,the IDE's IntelliSense feature will display a drop-down list of predefined color names that you can use.
D)You may also specify any solid color you like via the Properties window's Stroke section.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
17
Which of the following statements about Polylines and Polygons is false?

A)Each Polyline and Polygon object has a Points property defined in the XAML.This property consists of a series of points that are defined as x-y coordinates on the Canvas.
B)Each point's x and y values are separated by a comma,and each point is separated from the next with a space.
C)The Points property is an object of class PointCollection (namespace Windows.UI.Xaml.Media)that stores individual Point objects.
D)Polygon draws a series of connected lines defined by a set of points,while Polyline does the same but connects the start and end points to make a closed figure.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
18
Which of the following statements is false?

A)A gradient's colors are defined by GradientStops-each specifies a single color along the gradient.
B)A GradientStop's Location property defines where along the linear transition you want the color to appear.
C)You can change the GradientStops' positions by dragging the thumbs that represent them on the sample gradient in the Properties window.
D)If GradientStops have x:Name properties in the XAML,we can interact with them programmatically to change their colors.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
19
Color method FromArgb receives four bytes that specify the alpha,red,green and blue components of a color.Each byte can represent values in the range ________.

A)0-99
B)1-256
C)0-255
D)1-100
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
20
A transform can be applied to any UI element to reposition or reorient the graphic.Which of the following statements about transforms is false?

A)A RotateTransform,rotates an object around a point by a specified rotation angle.
B)A ScaleTransform scales the object along the x-axis and y-axis.
C)A SkewTransform skews (or shears)the object.
D)You can apply only one transform to a control.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
21
The VisualState element: <strong>The VisualState element:   Indicates that when the CheckBox is checked,the GradientStop named ________ should have its Color property changed to LimeGreen.</strong> A)Color B)startColor C)TargetProperty D)TargetName
Indicates that when the CheckBox is checked,the GradientStop named ________ should have its Color property changed to LimeGreen.

A)Color
B)startColor
C)TargetProperty
D)TargetName
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
22
Which of the following statements is false?

A)There are many animation capabilities in Windows 8.
B)An ObjectAnimationUsingKeyFrames animation allows you to change a property of an object to a new value.
C)You can specify that animations be performed over a period of time.
D)Other animation types include animating Points so that you can move an object,animating transitions from one color to another over time and animating numeric values over time-this could be used to animate an object's size changes.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 22 flashcards in this deck.