Code.org Unit 6 List Review

Code.org Unit 6 List Review

12th Grade

7 Qs

quiz-placeholder

Similar activities

CodeHS 5.4 & 5.5 ArrayList Stuff

CodeHS 5.4 & 5.5 ArrayList Stuff

9th - 12th Grade

10 Qs

Python Lists

Python Lists

9th - 12th Grade

7 Qs

AP CS practice 2

AP CS practice 2

11th Grade - University

12 Qs

Java Strings

Java Strings

9th - 12th Grade

12 Qs

CS Python Fundamentals Quiz 8 PRACTICE

CS Python Fundamentals Quiz 8 PRACTICE

9th - 12th Grade

10 Qs

Code.org List Questions

Code.org List Questions

9th - 12th Grade

10 Qs

Lists Code.org

Lists Code.org

9th - 12th Grade

10 Qs

Code.org AP CSP Lists

Code.org AP CSP Lists

9th - 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]