stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Exploration Week 2 Flashcards | StudBud
Explore
/
Exploration Week 2
Exploration Week 2
11 terms
·
StudBud Administration
·
23 plays
Imported from external platform
Flashcards
11 cards
F
Practice quiz
P
Host live
L
Questions
11
Answers
1
What punctuation is needed to begin a multi-line comment?
"""
"
#
*
2
What symbol is used at the beginning of an in-line comment?
"
:
#
!
3
Why do certain words change color in Python?
To show that they are recognized as keywords
To tell you that these words cannot be used in Python code
To show you that these words can be clicked
To tell Python to skip these words when running the code
4
If I use the command right(180), which way will Tracy turn?
She will turn to face left
She will turn in a circle
She will turn to face up
She will turn around
5
Which of the following is NOT a reason for loops are useful when writing code?
Loops let us make shapes of multiple sizes
Loops help us write the same program with fewer lines of code
Loops make it easier to alter code once it’s written
Loops make our code easier to read
6
If I am creating a function that is going to draw 2 squares, which of the following would be the best name option?
draw_squares
Draw_Two_Squares
draw_shapes
2_squares
7
To three circles next to each other, draw first circle, how far do you need to move Tracy before drawing the next one
50 pixels
The circle’s radius
The circle’s diameter
100 pixels
8
Which of the names below follow all naming rules?
Draw a Circle
4_circles
make_square
my_function
9
The setposition() command moves Tracy to a coordinate and:
turns her to face down
turns her to face left
turns her to face up
does not turn her
10
Comments are:
Always blue when Python recognizes themAnswered
Only needed when a program is over 50 lines
Written for humans to read and understand
Commands performed by the computer
11
If you wanted Tracy to complete her command immediately, which speed value would you use?
0
5
10
1