
Unit 6 - Lists Quiz
Authored by Aquamarine Schutter
Computers
9th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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"]
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
10 questions
Microsoft SmartArt Graphics
Quiz
•
8th - 10th Grade
10 questions
R082 Book Cover Assets planning
Quiz
•
7th - 12th Grade
11 questions
Python Code Quiz
Quiz
•
8th - 12th Grade
9 questions
Customer Service & Sales Review
Quiz
•
9th - 12th Grade
10 questions
Struktur Data Quiz
Quiz
•
9th Grade
10 questions
J277 Legislation test
Quiz
•
9th Grade
10 questions
BAB 3 - ALGORITMA
Quiz
•
9th Grade
11 questions
Scratch Lesson 1
Quiz
•
6th - 10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade