Code.org Unit 6 List Review

Code.org Unit 6 List Review

12th Grade

7 Qs

quiz-placeholder

Similar activities

List Operations

List Operations

9th - 12th Grade

10 Qs

Understanding Insertion Sort Algorithm

Understanding Insertion Sort Algorithm

12th Grade

10 Qs

Unit 6: Loops and Traversals Test

Unit 6: Loops and Traversals Test

9th - 12th Grade

9 Qs

Lists and Loops in Computer Science

Lists and Loops in Computer Science

9th - 12th Grade

9 Qs

Code.org AP CSP Lists

Code.org AP CSP Lists

9th - 12th Grade

9 Qs

Insertion Sort

Insertion Sort

12th Grade

10 Qs

Code.org Unit 6 - Lists

Code.org Unit 6 - Lists

9th - 12th Grade

12 Qs

05/25/2021 - CS

05/25/2021 - CS

10th - 12th Grade

10 Qs

Code.org Unit 6 List Review

Code.org Unit 6 List Review

Assessment

Quiz

Computers

12th Grade

Medium

AAP-4, AAP-3

Standards-aligned

Created by

Kathleen Mcnamara

Used 5+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

You want the index to be a random number in the list. What should go in the blacked out part?

fruitList.length - 1

fruitList.length

index.length - 1

index.length

Tags

AAP-4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What code is blacked out?

setText("fruitLabel", "text", myList[index]);

appendItem(myList, "peach");

updateScreen();

index = 0;

Answer explanation

Call that function!

Tags

AAP-3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What should go in the part that is blacked out?

"banana"

fruitList

"fruitList"[index+1]

fruitList[index]

Tags

AAP-4

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

When you click the left button to go down 1 on the index, what do you want to check on first? (2 answers)

if you are at the beginning of the list

if the index is greater than 0

if the index is at the end of the list

if the index is less than the length - 1

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

When you click the right button to go up 1 on the index, what do you want to check on first? (2 answers)

if you are at the beginning of the list

if the index is greater than 0

if the index is at the end of the list

if the index is less than the length - 1

Tags

AAP-4

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the missing code?

Tags

AAP-4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What code is missing?

myList[index]

index

"pear"

myList[0]