Test your understanding of Java with the following:

What does turtle1.forward() do?
What does turtle1.turn(-45) do?
What does turtle1.turn(45) do?
What does turtle1.penUp() do?
What does turtle1.hide() do?

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

Computer Science & Information Technology

You might also like to view...

A company has one headquarters location and ten remote sites. The remote sites do not need to communicate with each other, just with headquarters. Which of the following is the BEST topology to use?

A. Mesh B. Ring C. Hybrid D. Star

Computer Science & Information Technology

When working with arrays most programming languages perform __________ to ensure that programs don't use invalid subscripts.

a. buffer overrun protection b. bitwise data execution c. array bounds checking d. subscript totalling

Computer Science & Information Technology