Lists & arrays

Lists & arrays

8th Grade

5 Qs

quiz-placeholder

Similar activities

Logos - Digital Images

Logos - Digital Images

2nd - 10th Grade

10 Qs

Quiz CodeIgniter 4

Quiz CodeIgniter 4

University

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

PYTHON_CHAPTER 6

PYTHON_CHAPTER 6

University

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

CHAPTER 5 ONLINE QUIZ

CHAPTER 5 ONLINE QUIZ

University

9 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 Qs

Lists & arrays

Lists & arrays

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Amira Gamea

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?