Code.org List Questions
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Thomas Martinez
FREE Resource
Enhance your content in a minute
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);
Access all questions and much more by creating a free account
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?
Similar Resources on Wayground
15 questions
Mengenal Internet dan Jaringan Local
Quiz
•
12th Grade
15 questions
Arduino
Quiz
•
7th - 9th Grade
15 questions
Asesmen Sumatif
Quiz
•
12th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
12 questions
Kiểm tra giữa kì 2 lớp 7
Quiz
•
9th Grade
10 questions
IBSTEAM - Formació Directori Google Workspace 1
Quiz
•
10th Grade
10 questions
Операторы и функции языка Pascal
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
