Code.org CSP Unit 5 Lists

Code.org CSP Unit 5 Lists

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

10 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Which vocabulary word is: a common method for referencing an element in a list using a number to indicate its position

Back

index

2.

FLASHCARD QUESTION

Front

Which vocabulary word is: a collection of elements

Back

list

3.

FLASHCARD QUESTION

Front

Which vocabulary word is: an individual value in a list that is assigned a unique index

Back

element

4.

FLASHCARD QUESTION

Front

Match the index with the value. var myNumbers = [32, 64, 33, 0, 15, 26, 3]; myNumbers[4]

Back

15

5.

FLASHCARD QUESTION

Front

What is printed to the console?
var list = [10, 12, 14, 16, 18];
appendItem(list, 3); insertItem(list, 2, 20); removeItem(list, 0);
console.log(list);

Back

12, 20, 14, 16, 18, 3

6.

FLASHCARD QUESTION

Front

What is printed to the console? //What is printed to the console? console.log(list[0]);

Back

12

7.

FLASHCARD QUESTION

Front

var list = [10, 12, 14, 16, 18]; appendItem(list, 3); insertItem(list, 2, 20); removeItem(list, 0); //What is printed to the console? console.log(list.length);

Back

6

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?