Lists & arrays

Lists & arrays

8th Grade

5 Qs

quiz-placeholder

Similar activities

Java Static

Java Static

University

10 Qs

Fundamentos PHP (Manejo de Fomularios y arreglos)

Fundamentos PHP (Manejo de Fomularios y arreglos)

9th Grade

10 Qs

Computer Science

Computer Science

1st - 12th Grade

10 Qs

Quiz 23-05-2021

Quiz 23-05-2021

12th Grade

10 Qs

Quiz 16 - Arrays and Loops

Quiz 16 - Arrays and Loops

11th Grade

10 Qs

L.8. STRINGS AND STRING MANIPULATION -1

L.8. STRINGS AND STRING MANIPULATION -1

12th Grade

10 Qs

BCSC0006 - Quiz 1 - Arrays

BCSC0006 - Quiz 1 - Arrays

University

10 Qs

L.5. PHP FUNCTION  AND ARRAY - 2

L.5. PHP FUNCTION AND ARRAY - 2

12th Grade

10 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