
Arrays (Computer Science)
Authored by Parris Crowder
KG - University
Used 35+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are good examples of things to store as arrays or lists?
I – A to-do list
II – A grocery list
III – A ball in a game of breakout
IV – A list of balls in a game of breakout
V – A loop counter variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var groceries = ["milk", "sugar", "eggs", "cake"];
What is the value of groceries[2] in the above array?
var groceries = ["milk", "sugar", "eggs", "cake"];3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var shoppingList = ["milk", "eggs", "sugar", "bread", "cake"];
What is the index of the item "bread" in the array shoppingList?
var shoppingList = ["milk", "eggs", "sugar", "bread", "cake"];4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is printed by the following lines of code?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is possible to have an array with 0 items.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output from the following program?
25
25
undefined
20
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var arr = [1, 4, 55, 23, 11, 2];
What is the value of arr.length?
var arr = [1, 4, 55, 23, 11, 2];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
RAPAT TELECONFERENCE
Quiz
•
12th Grade - University
10 questions
Technology in Teaching and Learning
Quiz
•
1st Grade
10 questions
4TH-SOCIAL STUDIES
Quiz
•
4th Grade
10 questions
SCIENCE - LIGHT ENERGY
Quiz
•
5th Grade
10 questions
HUMAN RESOURCE DEVELOPMENT
Quiz
•
3rd Grade
10 questions
Rate and Math Problems
Quiz
•
7th - 12th Grade
10 questions
Madison's Presidency
Quiz
•
8th Grade
10 questions
The eye
Quiz
•
6th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade