List Review - code.org Unit 6

List Review - code.org Unit 6

Assessment

Flashcard

Computers

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

18 questions

Show all answers

1.

FLASHCARD QUESTION

Front

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

Back

True

2.

FLASHCARD QUESTION

Front

Lists are indicated in code using square brackets [ ].

Back

True

3.

FLASHCARD QUESTION

Front

myList = [pink, blue, gold, white]. What is myList [2]?

Back

gold

4.

FLASHCARD QUESTION

Front

What is myList [0]? myList = [pink, blue, gold, white]

Back

pink

5.

FLASHCARD QUESTION

Front

What does removeItem (myNewList, 3) do? myNewList = [dinosaur, pineapple, sunflower, rock]

Back

removes rock

6.

FLASHCARD QUESTION

Front

When you see the code removeItem (listname, index number), what is being done?

Back

an item is being removed

7.

FLASHCARD QUESTION

Front

When you see the code appendItem (listname, index number), what is being done?

Back

an item is being added to the end of the list

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?