• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

Computer Programming Python Qs (and answers)

Document preview thumbnail
Preview 2 out of 5 pages

How would I tell Tracy to move forward 100 pixels? correct answers forward(100) When Tracy is facing right, from what location does she start drawing her circle? correct answers The bottom of the circle When using the circle() command, what value do we put inside the parentheses? correct answers The radius of the circle How far does Tracy need to move from the starting position to reach the right side of the canvas? correct answers 200 pixels If you want Tracy to move forward 100 pixels without making a line, what set of commands should you write? correct answers penup() forward(100) What are the dimensions of Tracy's world? correct answers 400 x 400 pixels Which commands would move Tracy forward 100 pixels? I. forward(100) II. backward(-100) III. forward(-100) correct answers I and II Where does Tracy always start in the grid world? correct answers At the (0,0) coordinate in the middle of the canvas If Tracy started facing right, which direction would she be facing after we ran the following code? 1 left(90) 2 left(90) 3 right(90) correct answers Up Tracy always starts facing which direction? correct answers East If Tracy is facing right, which of the following commands can be used to turn her to face up? I. left(90) II. turn(up) III. right(-90) IV. setposition(90) correct answers I and II Which lines of the code below will be repeated 4 times? 1 penup() 2 for i in range(4): 3 pendown()


Document information

Uploaded on
February 14, 2023
Number of pages
5
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers
$9.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
SirAnton
3.7
(118)
Sold
810
Followers
438
Items
40068
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.