Codehs Unit 2 test Revised Questions and Answers / Sure A +
3 benefits of variables - store information that can be used in code, store text or numbers, they can be altered as we progress through the code code for Tracy to move to (-100,50),forward 50 then draw a circle of radius 20. - penup() setposition(-100,50) forward(50) pendown() circle(20) code to move tracy to the coordinate(-200,-200) - setposition(-200,-200) forward(100) left(120) forward(100) left(120) forward(100) left(120) what shape will this code make? - triangle How do I tell Tracy to use the color red and change the pen thickness to 20 pixels? - color("red") pensive(20) how to code moving back 100 pixels. - backward(100) forward(-100) how to draw a circle with a diameter of 200 - circle(100)
Document information
- Uploaded on
- June 6, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers