Search Header Logo

Arrays and Lists

Authored by D Pascall

Computers

6th - 12th Grade

Used 137+ times

Arrays and Lists
AI

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

1 min • 1 pt

What is a data structure?

A list of variables
A list of variables and strings
A facility that holds more than one value

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is an array?

A list of variables
A list of strings
A series of memory locations, each with the same name, that hold related data

3.

MULTIPLE CHOICE QUESTION

1 min • 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

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In an array, what is an element?

The smallest number an array can hold
The biggest number an array can hold
An element is one value in an array

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many elements would the array 'student_marks(10)' hold?

Nine elements
Ten elements
Eleven elements

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the array 'numbers(6, 10, 7, 12, 9, 2)', what is the value of element numbers(4)?

Nine
Twelve
Two

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In the array 'colours("Purple", "Blue", "Red", "Green", "Yellow")', what is the value of the element colours(3)?

Green
Red
Purple

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?