Lists & arrays

Lists & arrays

8th Grade

5 Qs

quiz-placeholder

Similar activities

Data Structures

Data Structures

9th - 12th Grade

10 Qs

python

python

10th Grade

10 Qs

AP Computer Science A

AP Computer Science A

12th Grade

10 Qs

Java Data Structures

Java Data Structures

1st - 10th Grade

10 Qs

GCSE Computing: 2.2 Data Structures #1

GCSE Computing: 2.2 Data Structures #1

10th - 11th Grade

10 Qs

Arrays

Arrays

12th Grade

10 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Arrays

Arrays

9th Grade

8 Qs

Lists & arrays

Lists & arrays

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Amira Gamea

Used 1+ times

FREE Resource

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