100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CodeHS Python Questions 100% Correct Answers Verified Latest 2024 Version $7.99   Add to cart

Exam (elaborations)

CodeHS Python Questions 100% Correct Answers Verified Latest 2024 Version

 2 views  0 purchase
  • Course
  • Institution

How would I tell Tracy to move forward 100 pixels - forward(100) When using the circle() command, what value do we put inside the parentheses? - The radius of the circle When Tracy is facing right, from what location does she start drawing her circle? - The bottom of the circle Where does Trac...

[Show more]

Preview 2 out of 5  pages

  • July 2, 2024
  • 5
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
CodeHS Python Questions | 100% Correct
Answers | Verified | Latest 2024 Version
How would I tell Tracy to move forward 100 pixels - ✔✔forward(100)



When using the circle() command, what value do we put inside the parentheses? - ✔✔The radius of the
circle



When Tracy is facing right, from what location does she start drawing her circle? - ✔✔The bottom of the
circle



Where does Tracy always start in the grid world? - ✔✔At the (0,0) coordinate in the middle of the canvas



What are the dimensions of Tracy's world? - ✔✔400 pixels x 400 pixels



Which commands would move Tracy forward 100 pixels?A. forward(100)B. backward(-100)C. forward(-
100) - ✔✔A and B



Tracy always starts facing which direction? - ✔✔East



If Tracy is facing right, which of the following commands can be used to turn her to face up?A. left(90)B.
turn(up)C. right(-90)D. setposition(90) - ✔✔A and C



If Tracy started facing right, which direction would she be facing after we ran the following code?

left(90)

left(90)

right(90) - ✔✔Up



Which of the following is NOT a reason for loops are useful when writing code? - ✔✔Loops let us make
shapes of multiple sizes

, The following loop draws 3 circles on the screen. If I wanted to alter this loop to draw 10 circles, how
many lines would my code be?

for i in range(3):

circle(25)

forward(50) - ✔✔3 lines



If Tracy starts at the left edge of the canvas and moves forward 50 pixels, how many times will this code
need to be repeated to have Tracy reach the right edge of the canvas? - ✔✔8 times



Which lines of the code below will be repeated 4 times?

penup()

for i in range(4):

pendown()

circle(25)

forward(50)

backward(200) - ✔✔3, 4, and 5



Why do certain words change color in Python? - ✔✔To show that they are recognized as key words



If I use the command right(180), which way will Tracy turn? - ✔✔She will turn around



The setposition() command moves Tracy to a coordinate and: - ✔✔does not turn her



If you wanted Tracy to complete her command immediately, which speed value would you use? - ✔✔0



If you want three circles to be drawn next to each other (as seen in the image below), after drawing the
first circle, how far would you need to move Tracy before drawing the next circle? - ✔✔The circle's
diameter

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller hussle. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75759 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.99
  • (0)
  Add to cart