CodeHS Python Unit 2 Flashcard Review
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 1+ times
FREE Resource
Student preview

25 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What will be the output of the following program? Options: Three circles with radii of 3, 7 and 2. Three shapes- a triangle (3 sides), a heptagon (7 sides), and a line (2 sides). Three shapes- a triangle (3 sides), a pentagon (5 sides), and a heptagon (7 sides). Two shapes- a triangle (3 sides) and a pentagon (5 sides).
Back
Two shapes- a triangle (3 sides) and a pentagon (5 sides).
2.
FLASHCARD QUESTION
Front
What will be the output of the following code? Options: 5 circles in a row, 4 circles in a row, A slinky with 5 circles, An infinite loop will occur
Back
An infinite loop will occur
3.
FLASHCARD QUESTION
Front
Which function would be the most useful for Tracy to draw a mountain range, starting from the left side? Options: # Has Tracy draw a single triangle def make_triangle():, # Change's Tracy's color to red def change_to_red():, # Moves Tracy forward by 100 def move_100():, # Draws a square def my_function():
Back
# Has Tracy draw a single triangle
def make_triangle():
4.
FLASHCARD QUESTION
Front
How can we use variable to control the size of a circle? Options: radius = 50, circle(radius), radius = circle(50), circle(radius), radius = 50, circle(50)
Back
radius = 50
circle(radius)
5.
FLASHCARD QUESTION
Front
In which of the following situations would it be best to make a function? Options: You want Tracy to draw a blue line, and your program requires lots of blue lines., You need Tracy to move forward by 100., 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.
6.
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
7.
FLASHCARD QUESTION
Front
Which of the following functions is defined correctly?
Back
Access all questions and much more by creating a free account
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
18 questions
Clasificación de la Voz y Agrupaciones Vocales
Flashcard
•
12th Grade
20 questions
Wednesday Wars: March + April
Flashcard
•
KG - University
16 questions
Understanding Multicultural Diversity in Public Relations
Flashcard
•
12th Grade
18 questions
Stative Vs Dynamic Verbs
Flashcard
•
University
17 questions
Philippine History
Flashcard
•
University
18 questions
Networking Flashcard
Flashcard
•
12th Grade
20 questions
Moviment i Velocitat
Flashcard
•
12th Grade
19 questions
Fuente de Financiamiento: Bonos y Obligaciones
Flashcard
•
12th Grade
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
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade