Python Lists Review

Python Lists Review

6th - 8th Grade

17 Qs

quiz-placeholder

Similar activities

Desvendando o Livro Divertidamente

Desvendando o Livro Divertidamente

7th Grade

19 Qs

Foods Lab Procedures

Foods Lab Procedures

7th - 12th Grade

20 Qs

Candy Crazy

Candy Crazy

6th Grade - University

15 Qs

Literasi Buku Fiksi dan Non Fiksi

Literasi Buku Fiksi dan Non Fiksi

7th - 8th Grade

20 Qs

Analyzing and Interpreting Graphs

Analyzing and Interpreting Graphs

5th - 9th Grade

20 Qs

Robert's Rules or Order

Robert's Rules or Order

7th - 8th Grade

16 Qs

Winter Celebrations Around the World

Winter Celebrations Around the World

7th - 12th Grade

15 Qs

buku fiksi dan nonfiksi kelas 7

buku fiksi dan nonfiksi kelas 7

7th Grade

17 Qs

Python Lists Review

Python Lists Review

Assessment

Quiz

Education

6th - 8th Grade

Practice Problem

Medium

Created by

Amber Price

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module allows you to create a random choice?

import

random

export

append

pop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the best description of a list in Python?

A list is a collection of data that has an order and can be changed.

A list is used for shopping in Python.

A list is a lot of variables in Python.

A list is a collection of data that cannot hold duplicated data and cannot be changed.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names in Python?

nameList=Sophia, Olivia, Riley, Emma, Ava, Isabella

nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']

nameList=('Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella')

nameList=[Sophia, Olivia, Riley, Emma, Ava, Isabella]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items have an index number. In the following list which item has the index number of 3?

nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']

Sophia

Olivia

Riley

Emma

Ava

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List items have an index number. In the following list which item has the index number of 0?

nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']

Sophia

Olivia

Riley

Emma

Ava

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these pieces of code would return the name "Isabella" from the following list?

nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']

nameList[5]

nameList(5)

nameList.5

nameList[]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these pieces of code would return the name "Olivia" from the following list?

nameList=['Sophia', 'Olivia', 'Riley', 'Emma', 'Ava', 'Isabella']

nameList[1]

nameList(1)

nameList[2]

nameList(0)

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?