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
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
10 questions
English Verb Tenses Flashcard
Flashcard
•
9th Grade
9 questions
Once, twice, three times
Flashcard
•
6th Grade
10 questions
Year 7 Textiles quiz
Flashcard
•
6th Grade
10 questions
Primary Storage Concepts
Flashcard
•
KG
10 questions
Dasar-dasar Bola Basket
Flashcard
•
6th Grade
15 questions
Functions
Flashcard
•
8th Grade
9 questions
Daily Activities for Grade 9
Flashcard
•
9th Grade
10 questions
WJEC ICT - Computer Systems
Flashcard
•
9th Grade
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
42 questions
MAP Math Review
Quiz
•
5th - 6th Grade
20 questions
Thanksgiving Trivia!
Quiz
•
6th - 8th Grade