stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Do Now:Tracy Python Review Flashcards | StudBud
Explore
/
Do Now:Tracy Python Review
Do Now:Tracy Python Review
10 terms
·
StudBud Administration
·
82 plays
A #programming review of basic #Python concepts we learned using CodeHS and Tracy the Turtle
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
Why do we use functions in our code?
Make the code longer
Remove bugs from code
Make the code shorter
Make the code easier to read
2
Which of the following variable names follows all of the variable naming conventions?
SideLength
1st_side_length
variable1
side_length
3
Which of the following commands will draw a quarter circle?
circle(80, 90, 4)
circle(80, 90)
circle(80, 1/4)
circle(4)
4
What must we always begin a function definition with?
Five spaces
A colon
The letters "def"
A tab
5
Which of the following is NOT a reason to use comments in computer code?
Inform someone of possible bug locations
Increase code readability
Leave funny notes for someone to find
Make your code longer
6
Have you finished Codehs up to section 9?
No
Yes
7
What type of shape will be drawn by the following command: circle(100, 360, 6)?
triangle
square
hexagon
circle
8
Where does Tracy always start, and what direction is she facing?
In the middle of the screen, facing up
In the middle of the screen, facing right
At the top of the screen, facing left
At the bottom of the screen facing up
9
Which of the following best indicates a function that draws a square?
draw_square
square()
draw_square()
Square
10
What do you expect your grade to be on the Tracy quiz?
C
A
B
D