10.4 Python Lists

10.4 Python Lists

Assessment

Flashcard

Computers

7th - 10th Grade

Hard

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

14 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What output will this code produce? Options: blue, green, red, error

Back

red

2.

FLASHCARD QUESTION

Front

Is this the correct code for a list? register = {"Sam", "Pheobe", "Georgia", "Richard"}

Back

No

3.

FLASHCARD QUESTION

Front

What is the index of “grape” in the list [“apple”, “grape”, “orange”, “watermelon”]?

Back

1

4.

FLASHCARD QUESTION

Front

What is the output of program below?
bicycles = ['trek', 'cannondale', 'redline', 'specialized']
print(bicycles[-1])

Back

specialized

5.

FLASHCARD QUESTION

Front

What letter will be printed on the screen after running this code:

Back

t

6.

FLASHCARD QUESTION

Front

What is the position of the name "Robert" in the following list: 0, 1, 2, 3

Back

2

7.

FLASHCARD QUESTION

Front

In the following code, "city" is an example of a what? Options: List, Loop, Variable, Array

Back

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?