
Midterm Exam
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
When the following for loop is complete, how many spaces will Tracy have moved?
for i in range(6):
forward(10)
Back
60 spaces
2.
FLASHCARD QUESTION
Front
Suppose you write a function. How many times can you call the function in your code?
Back
As many times as you want
3.
FLASHCARD QUESTION
Front
In which of the following situations would it be best to make a function?
You need Tracy to move forward by 100.
You want Tracy to draw a blue line, and your program requires lots of blue lines.
You need Tracy to turn right and then turn left.
You need to change Tracy’s color.
Back
You want Tracy to draw a blue line, and your program requires lots of blue lines.
4.
FLASHCARD QUESTION
Front
Which of the following pieces of code will make Tracy do the following actions three times: go forward, change colors, and then turn around.
Back
5.
FLASHCARD QUESTION
Front
Which function would be most useful for making Tracy draw a mountain range, starting from the left side?
Back
6.
FLASHCARD QUESTION
Front
Which of the following is NOT a command you can give to Tracy? color, backward, left
Back
turn
7.
FLASHCARD QUESTION
Front
Which of the statements below is true about indentation in Python? Indentation only matters in for loops. Then, everything must be indented one level. Indentation never matters in Python. You can align your code any way you like, but indentation makes your code easier to read. Indentation always matters in Python. Every statement must be aligned correctly. Indentation only matters in functions. Then, everything must be indented one level.
Back
Indentation always matters in Python. Every statement must be aligned correctly.
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
25 questions
CPU Architecture - DG
Flashcard
•
10th Grade
24 questions
Push/Pull Factors
Flashcard
•
9th Grade
25 questions
Reach for the top-Santosh Yadav And Maria Sharapova
Flashcard
•
9th Grade
20 questions
Final Exam Flash Cards (Spanish)
Flashcard
•
9th Grade
29 questions
Tectonic Plates Review
Flashcard
•
8th Grade
21 questions
Vocabulary Flashcards
Flashcard
•
KG
21 questions
Block 5, Grade 8 Vocabulary Flashcards 3
Flashcard
•
9th Grade
20 questions
Manual de Envíos Internacionales
Flashcard
•
KG
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade