Unit 6 - Lists Quiz

Quiz
•
Computers
•
9th Grade
•
Hard
Aquamarine Schutter
Used 3+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you create an empty list?
var my_list = {};
var my_list = [];
var my_list = ();
var my_list = [None];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code print out?
var innerPlanets = ["mercury", "venus", "earth", "mars"];
console.log(innerPlanets[0])
0
"mercury"
["mercury", "venus", "earth", "mars"]
"venus"
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
wordList is a list of words that currently contains the values ["tree", "rock", "air"]
Which of the following lines will result in the list containing the values ["air", "rock", "air"]
wordList[0] = wordList[2]
wordList[2] = wordList[0]
insertItem(wordList, 0, "air")
removeItem(wordList,0)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be displayed in the console when this program runs?
var inventory = ["key","coin","coin","backpack"];
console.log(inventory[inventory.length-1]);
coin
4
3
backpack
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be displayed when this program finishes running?
var numbersList = [20, 10, 5]
removeItem(numbersList,1)
insertItem(numbersList, 0, 30)
console.log(numbersList.length)
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be displayed when this program finishes running?
var groceryList = ["milk","eggs","cheese"]
appendItem(groceryList , "takis")
insertItem(groceryList ,2,"tortillas")
removeItem(groceryList ,1)
console.log(groceryList)
["milk","cheese","takis",2,"tortillas"]
["milk","tortillas","takis"]
["milk","eggs","tortillas","cheese","takis"]
["milk","tortillas","cheese","takis"]
Similar Resources on Wayground
10 questions
KIỂM TRA 26

Quiz
•
9th - 12th Grade
10 questions
Internets sju nycklar

Quiz
•
3rd - 11th Grade
10 questions
JavaScript: Coerción y Tipos de Datos

Quiz
•
1st - 10th Grade
10 questions
Code.org Discoveries

Quiz
•
9th - 11th Grade
5 questions
Sains Komputer Tingkatan 5 - 3.1.8 Penggunaan Tatasusunan

Quiz
•
1st - 12th Grade
10 questions
ข้อสอบไพทอน

Quiz
•
9th Grade
11 questions
JS 01

Quiz
•
7th - 9th Grade
11 questions
Цикли з лічильником. Цикли з передумовою

Quiz
•
1st - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade