Python Arrays

Python Arrays

12th Grade

10 Qs

quiz-placeholder

Similar activities

REVIEW

REVIEW

12th Grade

10 Qs

Logo Bash-Dash!

Logo Bash-Dash!

KG - Professional Development

11 Qs

Research Project: Lesson #1 Research Problem

Research Project: Lesson #1 Research Problem

12th Grade

10 Qs

Sci-Fi or Reality?

Sci-Fi or Reality?

6th Grade - University

10 Qs

takuache quiz

takuache quiz

KG - Professional Development

10 Qs

Random Logo quiz

Random Logo quiz

3rd Grade - Professional Development

15 Qs

Heat and chemical treatments

Heat and chemical treatments

10th - 12th Grade

12 Qs

Python Arrays

Python Arrays

Assessment

Quiz

Other

12th Grade

Practice Problem

Hard

Created by

Amy Austin

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?