No student devices needed. Know more
7 questions
"Gogga" in java allows us to
move a bug
make spots
do calculations
play music
To program with Gogga I need a file called
it.jar
jar.it
it.it
jarva
To create a Gogga on a grid, I need the following command in my program:
Gogga bug = new Gogga();
Go Gogga Go;
Gogga bug ();
Gogga gogga on the wall;
By default a new Gogga bug is:
at position x = 7, y = 5
RED
points UP
moves around all the time
To make a Gogga go forwards on the grid use the command:
bug.move();
bug.move;
moveIt();
bug.forward();
You can make a Gogga turn by doing this:
bug.turnRight();
bug.turnLeft();
bug.turn();
bug.rotate();
// The following code must draw a square:
Gogga bug = new Gogga();
bug.move();
_________
bug.move();
bug.turnLeft();
bug.move();
bug.turnLeft();
bug.move();
// Give the missing line?
Explore all questions with a free account