List Review - code.org Unit 6

List Review - code.org Unit 6

9th Grade

20 Qs

quiz-placeholder

Similar activities

Code.org List

Code.org List

9th - 12th Grade

24 Qs

Binary Searching

Binary Searching

9th Grade

17 Qs

Binary Search C++

Binary Search C++

9th Grade

17 Qs

Unit 6-Lesson 18: Assessment Day

Unit 6-Lesson 18: Assessment Day

9th - 12th Grade

15 Qs

Search & Sort Algorithms

Search & Sort Algorithms

7th - 11th Grade

18 Qs

Unit 2 code.org

Unit 2 code.org

7th - 9th Grade

20 Qs

CS Principles Unit 5 Assessment

CS Principles Unit 5 Assessment

9th - 12th Grade

20 Qs

Code.org: Lists, Loops, and Traversals

Code.org: Lists, Loops, and Traversals

9th - 12th Grade

24 Qs

List Review - code.org Unit 6

List Review - code.org Unit 6

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Autumn Honts

Used 34+ times

FREE Resource

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]

32

myNumbers[1]

0

myNumbers[7]

Not found

myNumbers[0]

3.

CLASSIFICATION QUESTION

3 mins • 1 pt

Media Image

Which of the following are elements and which are indexes?

Groups:

(a) Elements

,

(b) Indexes

The Grinch

Cat in the Hat

2

0

The Lorax

1

Hop on Pop

3

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

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?