Arrays in Python

Arrays in Python

8th - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Python recap

Python recap

9th - 11th Grade

12 Qs

python variables and commands

python variables and commands

9th Grade

10 Qs

Computer Science

Computer Science

3rd - 12th Grade

12 Qs

Lists In Python_1

Lists In Python_1

9th Grade - University

15 Qs

For Loops in Python

For Loops in Python

9th - 10th Grade

12 Qs

3.1 Variables and Assignments

3.1 Variables and Assignments

10th - 12th Grade

8 Qs

Variables and Data Types

Variables and Data Types

10th - 12th Grade

10 Qs

Grade 8 End of Unit Revision

Grade 8 End of Unit Revision

8th Grade - University

15 Qs

Arrays in Python

Arrays in Python

Assessment

Quiz

Computers

8th - 10th Grade

Hard

Created by

D Birch

Used 18+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does Python use to store multiple objects in the same variable

Lists

Constants

Tuples

Files

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is it called when we add an object to a list

Inserting

Adding

Appending

Concatenating

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do we use to reference an object in a list?

Length

Location

Sort Code

Index

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which number do list start at?

0

1

2

100

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a list?

fruit = ["apples", "oranges", "bananas"]

fruit = "apples", "oranges", "bananas"

fruit = {"apples", "oranges", "bananas"}

fruit = ("apples", "oranges", "bananas")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a list called "players", if you wanted to add a player called "Bob" to the list, which of the following examples of code would be correct?
players.add("Bob")
player.append("Bob")
players.append("Bob")
players.addend("Bob")

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do i remove something from a list?

variable.append()

variable.delete()

variable.remove()

variable=(new variable)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?