How do you create an empty list?
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
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 Quizizz
11 questions
Python Teste

Quiz
•
9th Grade
10 questions
Питон тест

Quiz
•
9th Grade
10 questions
Code.org CS Discoveries U3L08 Sprite Properties

Quiz
•
9th Grade
10 questions
Basics of Javascript

Quiz
•
9th - 12th Grade
10 questions
Python Quiz

Quiz
•
9th Grade
10 questions
9 класс Информатика Одномерный массив данных

Quiz
•
9th - 10th Grade
10 questions
Code Evaluation

Quiz
•
9th - 11th Grade
10 questions
Web Design: Basics of HTML and CSS

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
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