
Python Arrays
Quiz
•
Other
•
12th Grade
•
Hard
Amy Austin
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does Python use instead of built-in support for Arrays?
Tuples
Dictionaries
Lists
Sets
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method is used to add an element at the end of a list?
add()
insert()
append()
push()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you remove the first occurrence of a value in a list?
discard()
delete()
pop()
remove()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method returns the number of elements with the specified value in a list?
size()
length()
count()
index()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you reverse the order of a list?
sort(reverse=True)
backwards()
flip()
reverse()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create an array containing car names?
cars = 'Ford', 'Volvo', 'BMW'
cars = {'Ford', 'Volvo', 'BMW'}
cars = ['Ford', 'Volvo', 'BMW']
cars = ('Ford', 'Volvo', 'BMW')
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to return the length of an array in Python?
length()
count()
len()
sizeof()
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Cars and F-35
Quiz
•
12th Grade
11 questions
How well do you know about technology
Quiz
•
KG - Professional Dev...
13 questions
Samochody.v3
Quiz
•
KG - University
15 questions
guess the car
Quiz
•
KG - 12th Grade
10 questions
Co to za samochód???
Quiz
•
KG - Professional Dev...
13 questions
CAR & LOGO
Quiz
•
KG - 12th Grade
6 questions
CARS
Quiz
•
1st Grade - Professio...
15 questions
The World Of Cars Trivia!
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade