Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

NAME:_________________________________________GRADE:______DATE:________

HANDS-ON EXERCISES 3.3 DRAWING KINDS OF STAR


Directions: the following program has a missing part. Apply the reminder
below to set all the missing parts in the program to run without errors.
Reminder:

 set the pencolor to color blue


 set the penwidth to 4
 set move to 30
 set turn to -60
 set move to 30
 set turn to 120
 set move to 30
 set turn to -60
 set move to 30

1. GraphicsWindow.PenColor =
2. GraphicsWindow.PenWidth =
3. For I = 1 To 4
4. Turtle.Move
5. Turtle.Turn
6. Turtle.Move
7. Turtle.Turn
8. Turtle.Move
9. Turtle.Turn
10. Turtle.Move
11. Turtle.TurnRight()
12. EndFor
Programming Grading Rubric
Unsatisfactory ( ≤ Satisfactory (60% of Good (80% of the Excellent (100% of
40% of the points) the points) points) the points)
Runtime (20 • Does not execute • Executes without • Executes without • Executes without
points) due to errors. errors. errors. errors excellent
• User prompts are • User prompts • User prompts are user prompts, good
misleading or non- contain little understandable, use of symbols,
existent. information, poor minimum use of spacing in output.
• No testing has been design. symbols or spacing • Thorough and
completed, or no input • Some testing or in output. • Most organized testing
validation input validation has testing or input or input validation
been completed validation has been
completed. completed
Total points: _________
HANDS-ON EXERCISES 3.4 DRAWING TWO SHAPES
Directions: the following program has a missing part. Apply the reminder below
to set all the missing parts in the program to run without errors.
Reminder:

 set the speed to 5 only.


 Set the height to 350
 Set the width to 550
 Set x to 150
 Set y to 150

1. GraphicsWindow.Title = "Turtle Graphics"


2. GraphicsWindow.Height =
3. GraphicsWindow.Width =
4. Turtle.Show()
5. Turtle.Speed =
6. Turtle.X =
7. Turtle.Y =
8. For i = 0 To 200 Step 5
9. GraphicsWindow.PenColor = GraphicsWindow.GetRandomColor()
10. Turtle.Move(i)
11. Turtle.Turn(90)
12. EndFor
13. Turtle.PenUp()
14. Turtle.Move(260)
15. Turtle.Turn(60)
16. Turtle.Move(120)
17. Turtle.PenDown()
18. For i = 0 To 200 Step 5
19. GraphicsWindow.PenColor = GraphicsWindow.GetRandomColor()
20. Turtle.Move(i)
21. Turtle.Turn(120)
22. EndFor

Programming Grading Rubric


Unsatisfactory ( ≤ 40% of Satisfactory (60% of the Good (80% of the Excellent (100% of the
the points) points) points) points)
Runtime (20 • Does not execute due to • Executes without errors. • Executes without • Executes without
points) errors. • User prompts contain errors. errors excellent user
• User prompts are little information, poor • User prompts are prompts, good use of
misleading or non-existent. design. understandable, symbols, spacing in
• No testing has been • Some testing or input minimum use of output.
completed, or no input validation has been symbols or spacing in • Thorough and
validation completed output. • Most testing or organized testing or
input validation input validation has
completed. been completed
Total points: _________

HANDS-ON EXERCISES 3.5 DRAWING TWO SHAPES


Reminder:
 Set the height to 320
 Set the width to 300
 Set the pencolor “purple”
 Set the pen speed to 7
 Set x to 150
 Set y to 150
 Set Turtle.Move(i)
 Set Turtle.Turn(90)
1. GraphicsWindow.Title = "Turtle Graphics"
2. GraphicsWindow.Height =
3. GraphicsWindow.Width =
4. GraphicsWindow.PenColor = ""
5. Turtle.Show()
6. Turtle.Speed =
7. Turtle.X =
8. Turtle.Y =
9. For i = 0 To 200 Step 5
10. Turtle.Move()
11. Turtle.Turn()
12. EndFor

You might also like