What is the definition of a List?
Unit 5 -- Lists, Loops, Traversals

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
An ordered collection of elements
2.
FLASHCARD QUESTION
Front
Which of the following creates a list in the code? var aList( ), aList{ } , var aList[ ], aList: ;
Back
aList{ }
3.
FLASHCARD QUESTION
Front
Which command adds an element to the end of the list? Options: append.list(element), append.Item(list, element), list.append(), (element)append
Back
append.Item(list, element)
4.
FLASHCARD QUESTION
Front
An Element is an individual value in a list that is assigned a unique index
Back
True
5.
FLASHCARD QUESTION
Front
The length of a list is how many elements it contains. Lists can grow or shrink as elements are added or removed, but the length of the list does not change.
Back
False
6.
FLASHCARD QUESTION
Front
What is the value at index 1? Options: 74, 53, 22, favNums
Back
53
7.
FLASHCARD QUESTION
Front
What code do we use to up the "counter" variable by 1 each time we traverse through a "for" loop? Options: Var i = i + 1, i = 0, i ++, i +
Back
i ++
8.
FLASHCARD QUESTION
Front
We use a for loop to traverse a list, visiting each element one at a time.
Back
True
9.
FLASHCARD QUESTION
Front
What will the output be? Options: [1,4,12,8,6,9,4], [2,5,13,9,7,10,5], [4,7,15,11,9,12,7], [4,7,15,11,6,9,4]
Back
[4,7,15,11,6,9,4]
Similar Resources on Quizizz
10 questions
Windows Basic Vocab 1

Flashcard
•
9th - 12th Grade
5 questions
Review Lists in Python (before Lab 8)

Flashcard
•
9th - 12th Grade
6 questions
Elements of Art

Flashcard
•
9th - 12th Grade
5 questions
HTML Classes and ID

Flashcard
•
9th - 12th Grade
9 questions
Lists and Tuples in Python

Flashcard
•
KG
9 questions
Atoms and the Periodic Table

Flashcard
•
9th - 11th Grade
10 questions
LOGFA Pre-Test

Flashcard
•
KG - University
9 questions
PYTHON -- Lists (short)

Flashcard
•
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