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
10 questions
Python Basics

Quiz
•
8th - 10th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
10 questions
Python3

Quiz
•
4th Grade - University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
13 questions
Python Functions

Quiz
•
9th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
10 questions
Python Lists

Quiz
•
8th - 9th Grade
10 questions
Data Handling in Python

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University