
Unit 5 -- Lists, Loops, Traversals
Authored by Jake Voss
Computers
9th - 12th Grade
Used 259+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the definition of a List?
An ordered collection of elements
Where information is stored in a variable
The number that identifies each individual element
Where information is written in Java
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following creates a list in the code?
var aList( )
aList{ }
var aList[ ]
aList: ;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following commands adds an element to the end of the list?
append.list(element)
append.Item(list, element)
list.append()
(element)append
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An Element is an individual value in a list that is assigned a unique index
True
False
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value at index 1
74
53
22
favNums
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do code do we use to up the "counter" variable by 1 each time we traverse through a "for" loop?
Var i = i + 1
i = 0
i ++
i +
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
Microcontroller
Quiz
•
11th Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
11 questions
Robotica 2018
Quiz
•
5th - 9th Grade
12 questions
ULANGAN HARIAN Semester 2
Quiz
•
10th Grade
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th Grade
10 questions
Cos’è la ROM?
Quiz
•
6th - 12th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
EMPTECH L4 Q3
Quiz
•
12th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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