Test your understanding of Java with the following:

a. What does turtle1.forward() do?
b. What does turtle1.turn(-45) do?
c. What does turtle1.turn(45) do?
d. What does turtle1.penUp() do?
e. What does turtle1.hide() do?

a. It asks a turtle go forward 100 pixels.
b. It asks a turtle turn left 45 degrees.
c. It asks a turtle turn right 45 degrees.
d. It asks a turtle to pick up its pen.
e. It asks a turtle to stop drawing itself.

Computer Science & Information Technology

You might also like to view...

A wireless network receiving site is experiencing occasional loss of signal due to interference. Discuss the steps you would take to correct this problem.

What will be an ideal response?

Computer Science & Information Technology

In the figure above, which number refers to the Cage?

A. 1 B. 2 C. 4 D. 5

Computer Science & Information Technology