
Python Basics Quiz

Quiz
•
Fun
•
Professional Development
•
Medium
Mr Massett
Used 1+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a list in Python?
{}
[]
()
||
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you access the first element of a list?
1
-1
0
first
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you add an item to the end of a list?
insert
append
add
push
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you remove an item from a list?
remove
pop
discard
delete
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to define a function in Python?
function
def
define
subroutine
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you call a function named greet?
greet()
call greet()
run greet()
invoke greet()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to return a value from a function?
output
return
yield
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
Oh my Disney!

Quiz
•
Professional Development
15 questions
Holiday Poll

Quiz
•
Professional Development
18 questions
Avengers

Quiz
•
KG - Professional Dev...
17 questions
Funnymike untimate loyalty test

Quiz
•
KG - Professional Dev...
20 questions
How well do you know Timothée Chalamet?

Quiz
•
5th Grade - Professio...
20 questions
Anime Quizz

Quiz
•
KG - Professional Dev...
20 questions
Dad Jokes

Quiz
•
Professional Development
17 questions
EPL 2020/21

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade