How can we make a function work?
Python Basics

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Code Sprouts
Used 2+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
By writing the code for the function
By Functioning
By calling the function
By running the code
2.
MULTIPLE SELECT QUESTION
2 mins • 5 pts
What is a parameter in a function?
The brackets used in the function
a variable used to send information to a function
the name of the function
the name of the main program calling the function
3.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
What is a piece of code that can take inputs to perform a particular task?
a function
arguments
parameters
list
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
5.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
6.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
7.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
The output of the program
x = 4
x = "Sally"
print(x)
four
Saly
Sally
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Subroutines

Quiz
•
9th - 11th Grade
13 questions
Python List Operations

Quiz
•
10th Grade
15 questions
Section 3A: Collect and process data using lists

Quiz
•
12th Grade
16 questions
Loops Exam

Quiz
•
11th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
10 questions
Advanced Python Iteration Quiz

Quiz
•
10th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
10 questions
KS4 Programming Techniques (1)

Quiz
•
8th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade