Which vocabulary word is:
a common method for referencing an element in a list using a number to indicate its position
CSP Lists
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Thomas Martinez
FREE Resource
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);
15 questions
Basic Data Structures - Intro to CS
Quiz
•
12th Grade
10 questions
Functions and Parameters Summative preview
Quiz
•
9th - 12th Grade
15 questions
HTML Quiz
Quiz
•
7th - 12th Grade
7 questions
Java Basics #2
Quiz
•
10th - 12th Grade
15 questions
JavaScript Basics
Quiz
•
12th Grade - University
8 questions
JS Talks, Quiz #4
Quiz
•
1st - 12th Grade
12 questions
Unit 5 Lists, Loops, & Traversals
Quiz
•
10th - 12th Grade
11 questions
Javascript Lists Lecture Knowledge Check
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University