Code.org CSP Unit 5 Lists, Strings, and Loops
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Medium
Diane Glasgow
Used 62+ times
FREE Resource
Student preview

24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which vocabulary word is:
a common method for referencing the elements in a list or string using numbers
list
element
index
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which vocabulary word is:
an ordered collection of elements
list
element
index
3.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 1 pt
What is the value of i after this code runs?
var myNumbers = [32, 64, 33, 0, 15, 26, 3];
var i = myNumbers[4];
64
15
0
32
5.
MULTIPLE CHOICE QUESTION
3 mins • 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
3 mins • 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
3 mins • 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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
39 questions
UNIT 7 and UNIT 8 — Multiple Choice Question Bank (Extracted)
Quiz
•
9th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade