Code.org Unit 6 List Review

Code.org Unit 6 List Review

12th Grade

7 Qs

quiz-placeholder

Similar activities

Cyber Security Quiz

Cyber Security Quiz

12th Grade

10 Qs

emtech

emtech

12th Grade

10 Qs

Visual Basic 2010

Visual Basic 2010

8th Grade - University

10 Qs

1.2.4. Types of Programming Language

1.2.4. Types of Programming Language

12th Grade

12 Qs

Numpy-1

Numpy-1

9th - 12th Grade

10 Qs

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Word 2016 Lesson 1

Word 2016 Lesson 1

9th - 12th Grade

10 Qs

ICT as Platform for Change

ICT as Platform for Change

11th - 12th Grade

10 Qs

Code.org Unit 6 List Review

Code.org Unit 6 List Review

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

AAP-4, AAP-3

Standards-aligned

Created by

Kathleen Mcnamara

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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]