Arrays in Python

Arrays in Python

8th - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Xcode and Playgrounds

Xcode and Playgrounds

9th - 11th Grade

9 Qs

Keyboarding Terms

Keyboarding Terms

9th - 12th Grade

10 Qs

KELAS VIII BAB 6

KELAS VIII BAB 6

8th Grade

10 Qs

Quiz Kelas 8

Quiz Kelas 8

8th Grade

15 Qs

Code Combat Curso Junior

Code Combat Curso Junior

9th - 12th Grade

15 Qs

Variables

Variables

9th Grade

15 Qs

Word basics

Word basics

8th - 12th Grade

10 Qs

Berfikir Komputasional

Berfikir Komputasional

10th Grade

15 Qs

Arrays in Python

Arrays in Python

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Hard

Created by

D Birch

Used 19+ times

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

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?