Functions Review (codeHS Tracy Python)
Flashcard
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 3+ times
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the purpose of a function in Python?
Back
To create reusable blocks of code that can be called multiple times
2.
FLASHCARD QUESTION
Front
What is the correct way to define a function in Python? Options: def myFunction():, function myFunction(), define myFunction[], create function myFunction()
Back
def myFunction():
3.
FLASHCARD QUESTION
Front
Which of the following statements is true about functions in Python?
- Functions in Python do not require parameters.
- Functions always return a value.
- Functions can only be used once in a program.
- Functions allow us to reuse code in multiple places in a program.
Back
Functions allow us to reuse code in multiple places in a program.
4.
FLASHCARD QUESTION
Front
True to False: You can call a function before you define it.
Back
False
5.
FLASHCARD QUESTION
Front
How would you call the function on line 11?
Back
draw_a_triangle()
6.
FLASHCARD QUESTION
Front
True to False: You will get an error on your screen when you run this program.
Back
True
7.
FLASHCARD QUESTION
Front
How many circles would be shown on the output screen?
Back
1
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
6 questions
Mexican National Day 6 Assignment
Flashcard
•
7th Grade
10 questions
Q: Early Republic
Flashcard
•
7th Grade
6 questions
Jet streams
Flashcard
•
6th Grade
8 questions
Tablet Parts
Flashcard
•
KG
10 questions
WATER BODIES
Flashcard
•
6th Grade
13 questions
Digestive System
Flashcard
•
7th Grade
12 questions
Articles 3 - 7
Flashcard
•
8th Grade
12 questions
Earth, Moon, and Sun Critical Juncture Test Review
Flashcard
•
6th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade