Lists & arrays
Quiz
•
Computers
•
8th Grade
•
Medium
Amira Gamea
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the array colors ["Purple", "Blue", "Yellow", "Red", "Green"]
What is the value of the element colors(3)? …
Blue
Green
Yellow
Red
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between an array and a list?
The smallest number an array can hold.
An array holds both numbers and strings, whereas a list only holds numbers
An array can only hold data of the same data type, whereas lists can hold values of different data types
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the array names("Ali", "Sarah" , "John"). what is the value of element names(2)?
Ali
Sarah
John
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are arrays used?
Arrays store multiple data values under one name, reducing the complexity of our program
Arrays store more data than if we were using variables
Arrays store more data than if we were using strings
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the array numbers(6, 10, 7, 12, 9, 2), what is the last index?
12
6
9
2
Similar Resources on Wayground
10 questions
CS1010 Lab 4
Quiz
•
University
10 questions
Algorithms and Data Structure Quiz
Quiz
•
University
7 questions
DSA Day 4
Quiz
•
University
8 questions
JSON/API 1
Quiz
•
11th Grade
10 questions
Quiz sobre Arrays em JavaScript
Quiz
•
University
10 questions
Arrays and Lists
Quiz
•
6th - 12th Grade
9 questions
Checkpoint 1 revision
Quiz
•
9th - 12th Grade
10 questions
SDD HSC Quiz 5A Q1-10
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade