When the following for loop is complete, how many spaces will Tracy have moved?
50 spaces / 60 spaces / 10 spaces / 5 spaces
50 spaces
What is the final result of the expression 4 + 5*3?
27/12/21/19
19
See question 2 unit 4 quiz
round(pi, 2)
Question 2
for i in range(3, 10, 2):
print(i)
What's your favorite memory about this year of life?
How many times can you call the "function" in your code?
Once / It depends on the function / As many times as you want / Not more than the amount of commands the function holds
What is the final result of the expression 7/2+6?
0/ 9.5 / 9/ 0.875
9.5
See question 3 unit 4 quiz
Sometimes numbers can be rounded in unexpected ways.
num = 0
for i in range(2, 8, 2):
num = num + i
12
What was a negative experience about life this year?
Whatever you say.
Which of the following is NOT a command you can give to Tracy?
Color / Turn / Backward / Left
Turn
What kind of data does a float variable contain?
Numbers that can have decimal components.
See question 9 chapter 4 quiz
5
8
Question 4 chapter 5 quiz
for i in range(0, 10):
What's some goals you have in life?
See Question 11 on Chapter 2 Quiz.
Defining a function means you are teaching the computer a new word. Calling a function means you are commanding the computer to complete defined actions.
What does the following code print?
x = 3.4
y = 1
print(int(x))
print(x + y)
3
4.4
See question 10 chapter 4 quiz
Almost eligible for Driver's License
Question 10 Chapter 5 quiz
0
1
0
1
See question 15 on Chapter 2 quiz.
for i in range(4):
left(90)
forward(90)
What is the final result of the expression 2**3?
8
Question 13
You are average height
Question 15. Chapter 5 Quiz
On Line 9