A there is no error b c d e what does this code draw

Info icon This preview shows pages 12–20. Sign up to view the full content.

View Full Document Right Arrow Icon
A. There is no error B C D E
Image of page 12

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
What does this code draw? World world1 = new World(200,100); Turtle maria = new Turtle(100, 50, world1); maria.forward(25); maria.turnLeft(); maria.forward(50); maria.turnRight(); maria.forward(25); A B C D Hint: Turtles start facing “up”
Image of page 13
CS Concept: Sequential Execution World world1 = new World(200,100); Turtle maria = new Turtle(100, 50, world1); maria.forward(25); maria.turnLeft(); maria.forward(50); maria.turnRight(); maria.forward(25); Vs. World world1 = new World(200,100); Turtle maria = new Turtle(100, 50, world1); maria.forward(25); maria.forward(50); maria.turnLeft(); maria.turnRight(); maria.forward(25);
Image of page 14

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
What does this code output? World world1 = new World(200,100); Turtle maria = new Turtle(100, 50, world1); maria.forward(25); maria.forward(50); maria.turnLeft(); maria.turnRight(); maria.forward(25); A B C D 1) SOLO VOTE (1 min) 2) Discuss in team (2 min) 3) GROUP VOTE (30 sec) Hint: Turtles start facing “up”
Image of page 15