Skip to main content\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 17.12 Write Code Questions
Checkpoint 17.12.1.
There are 3 syntax errors in the following code. Fix it to work correctly without errors.
Checkpoint 17.12.2.
The code below is correct, but the lines are in the wrong order. Fix it so that it runs properly.
Checkpoint 17.12.3.
The following program is missing things on lines 1, 2, and 3. Add the missing parts.
Checkpoint 17.12.4.
Rearrange the code so it draws a square.
Checkpoint 17.12.5.
The following code has 3 syntax errors. Fix the errors so that the code runs.
Checkpoint 17.12.6.
Fix the 6 errors in the following code.
Checkpoint 17.12.7.
The following code draws two lines of a rectangle. Add code to finish drawing the rectangle.
Checkpoint 17.12.8.
You need to fix or add 4 things so that the code runs.
Checkpoint 17.12.9.
The following code is missing 3 lines that do the required set-up. Add them so that the code runs.
Checkpoint 17.12.10.
Finish the code so that it draws an equilateral triangle.
Checkpoint 17.12.11.
Create a drawing that includes penup, pendown, and pensize.
Checkpoint 17.12.12.
Checkpoint 17.12.13.
Create a drawing with at least 3 colors and using at least 3 turtles.
Checkpoint 17.12.14.
Checkpoint 17.12.15.
Write code below to draw a diamond shape.
Checkpoint 17.12.16.
Write code that spells CS in block letters (it will look more like C5).
Checkpoint 17.12.17.
Write code below to draw a star like this picture.
Checkpoint 17.12.18.
Write code to draw a “V” starting from the center with each side a different color and only turning the turtle twice and no using penup or pendown.
Checkpoint 17.12.19.
Write code below to draw at least one of your initials in block style.
Checkpoint 17.12.20.
Use 4 turtles and 4 colors to draw a big plus sign with each segment of the plus sign being a different color.