4 of 14 4. Consider the following procedure. drawCircle(xPos, yPos, rad) Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad The drawCircle procedure is to be used to draw the...


4 of 14<br>4. Consider the following procedure.<br>drawCircle(xPos, yPos, rad)<br>Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad<br>The drawCircle procedure is to be used to draw the following figure on a coordinate grid. Which of the following options would correctly<br>draw the figure? (Select 2 answers)<br>8-<br>7-<br>6-<br>4-<br>3<br>A. x+ 4<br>O B. X + 4<br>y+ 1<br>y + 1<br>r+0<br>REPEAT 3 TIMES<br>REPEAT 3 TIMES<br>{<br>drawCircle(x, y, r)<br>rer+1<br>y y + 1<br>drawCircle(x, y, r)<br>r+r+1<br>y+ y + 1<br>O C. x+4<br>D. x + 4<br>y+ 4<br>y- 4<br>r+ 3<br>r-3<br>REPEAT 3 TIMES<br>REPEAT 3 TIMES<br>drawCircle(x, y, r)<br>yy- 1<br>r+r-1<br>y-y-1<br>r+r-1<br>drawCircle(x, y, r)<br>Scroll down to see more<br>Powered by Linklt!<br>

Extracted text: 4 of 14 4. Consider the following procedure. drawCircle(xPos, yPos, rad) Draws a circle on a coordinate grid with center (xPos, yPos) and radius rad The drawCircle procedure is to be used to draw the following figure on a coordinate grid. Which of the following options would correctly draw the figure? (Select 2 answers) 8- 7- 6- 4- 3 A. x+ 4 O B. X + 4 y+ 1 y + 1 r+0 REPEAT 3 TIMES REPEAT 3 TIMES { drawCircle(x, y, r) rer+1 y y + 1 drawCircle(x, y, r) r+r+1 y+ y + 1 O C. x+4 D. x + 4 y+ 4 y- 4 r+ 3 r-3 REPEAT 3 TIMES REPEAT 3 TIMES drawCircle(x, y, r) yy- 1 r+r-1 y-y-1 r+r-1 drawCircle(x, y, r) Scroll down to see more Powered by Linklt!

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here