Site MapHelpFeedbackMultiple Choice Quiz
Multiple Choice Quiz
(See related pages)

1
The term, graphics, refers to which of the following?
A)Text
B)Drawings
C)Image
D)All of the above
2
When designing a form having graphics, the programmer creates a Graphics object to _______.
A)Draw with
B)Determine the characteristics of output devices
C)Use as a drawing surface
D)None of the above
3
To make sure that the graphics on the form get redrawn every time the form is rendered, place the code in the form's _______ procedure.
A)Load
B)Activate
C)Redraw
D)Paint
4
Pen objects are used for _______.
A)Lines
B)Filled shapes
C)Outline of shapes
D)Both A and C
5
The form you are designing requires a blue line graphic that is 10 pixels wide. What is the declaration statement for the Pen object?
A)Dim BluePen as New Pen (Color,10)
B)Dim BluePen(10) as New Pen (ColorBlue)
C)Dim Pen(Blue) as New Pen(10)
D)Dim BluePen as New Pen(Color.Blue, 10)
6
The coordinate system uses _______.
A)X as the horizontal position and Y as the vertical position
B)X as the vertical position and Y as the horizontal position
C)The lower right-hand corner of a form
D)The Left property and the Width property
7
A graphic is being placed on a button control on the form. Which object's starting point is used for the graphic?
A)The form
B)The button
C)A GroupBox
D)A PictureBox
8
Each of the drawing methods allows you to specify the _______.
A)Starting point for the upper-left corner of the drawing object
B)Size of the drawing object
C)Both A and B
D)Neither A nor B
9
The _______ holds the X and Y coordinates as a single unit
A)Point structure
B)Size structure
C)Rectangle structure
D)Graphics method
10
The _______ has two components, the width and height
A)Point structure
B)Size structure
C)Rectangle structure
D)Graphics method







Bradley:Programming in VB 2008Online Learning Center

Home > Chapter 13 > Multiple Choice Quiz