Answer the following statements true (T) or false (F)
1. The statements gr.DrawLine(Pens.Red, 10, 20, 30, 40) and
gr.DrawLine(Pens.Red, 30, 40, 10, 20) draw the same line.
2. The statement gr.FillRectangle(Brushes.Red, 10, 20, 30, 40) draws a solid
rectangle of width 40 pixels.
3. The statement gr.FillRectangle(Brushes.Red, 0, 0, picOutput.Width/2,
picOuput.Height/2) colors the upper-left quarter of the picture box red.
4. The statement gr.FillPie(Brushes.Red, 10, 10, 30, 30, 0, 180) draws a semi-
circle.
5. The sector of a circle with sweep angle 90 consists of a quarter of the circle.
1. T
2. F
3. T
4. T
5. T
You might also like to view...
Which of the following frames is the state after the user clicks the button with the mouse pointer?
A. Over B. Up C. Hit D. Down
What keyword modifier indicates that a method can be called by referring to the class rather than an object from the class?
A. static B. internal C. protected D. nonstatic
The ____ algorithm does the same amount of work no matter how the numbers are initially arranged.
a. pattern-matching b. control c. selection sort d. indexing
A constructor can specify the return type:
a. int. b. string. c. void. d. A constructor cannot specify a return type.