55.5k views
5 votes
If you are using the drawArc command, and the 3rd & 4th parameters are equal, and the last parameter is 180, what will you draw?

a. a circle
b. an incomplete oval
c. an oval
d. a semi-circle (half of a circle)
e. There is no way to tell without knowing more information on the their parameters.

1 Answer

3 votes

Final answer:

Using the drawArc command with equal width and height parameters and an arc length of 180 degrees, you will draw a semi-circle.

Step-by-step explanation:

If you are using the drawArc command, and the third and fourth parameters are equal, and the fifth parameter is 180, you will draw a semi-circle (half of a circle). This is because the third and fourth parameters specify the width and height of the oval shaped by the arc, and if these are equal, it forms a circle. Therefore, drawing only half of this with an arc of 180 degrees results in a semi-circle.

User Chishaku
by
7.9k points