Code.org Unit 6 List Review

Code.org Unit 6 List Review

Assessment

Flashcard

Computers

12th Grade

Hard

AAP-4, AAP-3

Standards-aligned

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

5 questions

Show all answers

1.

FLASHCARD QUESTION

Front

You want the index to be a random number in the list. What should go in the blacked out part? Options: fruitList.length - 1, fruitList.length, index.length - 1, index.length

Back

fruitList.length - 1

Tags

AAP-4

2.

FLASHCARD QUESTION

Front

What code is blacked out? Options: setText("fruitLabel", "text", myList[index]);, appendItem(myList, "peach");, updateScreen();, index = 0;

Back

updateScreen();

Answer explanation

Call that function!

Tags

AAP-3

3.

FLASHCARD QUESTION

Front

What should go in the part that is blacked out? Options: "banana", fruitList, "fruitList"[index+1], fruitList[index]

Back

fruitList[index]

Tags

AAP-4

4.

FLASHCARD QUESTION

Front

What is the missing code? Options: index = index + 1

Back

index = index + 1

Tags

AAP-4

5.

FLASHCARD QUESTION

Front

What code is missing?

Back

myList[index]