Search Header Logo

List Review - code.org Unit 6

Authored by Autumn Honts

Computers

9th Grade

Used 44+ times

List Review - code.org Unit 6
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lists are named the same way as variables - with no spaces and cannot start with a number.

True

False

2.

MATCH QUESTION

2 mins • 1 pt

Match the index with the correct value.

myNumbers = [ 32, 64, 33, 0, 15, 26, 3 ]

15

myNumbers[3]

64

myNumbers[4]

0

myNumbers[7]

32

myNumbers[1]

Not found

myNumbers[0]

3.

CATEGORIZE QUESTION

3 mins • 1 pt

Media Image

Which of the following are elements and which are indexes?

Groups:

(a) Elements

,

(b) Indexes

3

Cat in the Hat

2

Hop on Pop

The Lorax

1

0

The Grinch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lists are indicated in code using square brackets [ ].

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

myList = [pink, blue, gold, white]

What is myList [2]?

pink

blue

gold

white

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

myList = [pink, blue, gold, white]

What is myList [0]?

pink

blue

gold

white

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

myNewList = [dinosaur, pineapple, sunflower, rock]

What does removeItem (myNewList, 3) do?

removes dinosaur

removes pineapple

removes sunflower

removes rock

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?