List Review - code.org Unit 6

List Review - code.org Unit 6

Assessment

Flashcard

Computers

9th Grade

Hard

Created by

Quizizz 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

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?