Code.org AP CSP Lists

Code.org AP CSP Lists

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Kiểm tra thường xuyên tin học 11A1

Kiểm tra thường xuyên tin học 11A1

11th Grade

15 Qs

Ciência da Dados - Variáveis Aleatórias

Ciência da Dados - Variáveis Aleatórias

12th Grade

10 Qs

Random stuff

Random stuff

KG - Professional Development

12 Qs

Tin 11 - Bài 2 - Phần 1

Tin 11 - Bài 2 - Phần 1

11th Grade

10 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

Ch. 4 Practice Quiz

Ch. 4 Practice Quiz

11th Grade

10 Qs

Test Switching

Test Switching

11th Grade - University

10 Qs

Code.org AP CSP Lists

Code.org AP CSP Lists

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Thomas Martinez

FREE Resource

AI

Enhance your content

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which vocabulary word is:

a common method for referencing an element in a list using a number to indicate its position

list

element

index

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which vocabulary word is:

a collection of elements

list

element

index

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which vocabulary word is:

an individual value in a list that is assigned a unique index

list

element

index

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Match the index with the value.


var myNumbers = [32, 64, 33, 0, 15, 26, 3]

myNumbers[4]

64

15

0

32

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

//Consider this code:

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);

10, 12, 14, 16, 18

10, 12, 14 , 20, 16, 18, 3

3, 12, 14, 20, 16, 18

12, 20, 14, 16, 18, 3

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

//Consider this code:

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[0]);

7.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

//Consider this code:

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);

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?