Search Header Logo

10.2 Arrays Cambridge iAS 9618 - Copy

Authored by Stephen Ling-Winston

Computers

11th Grade

10.2 Arrays Cambridge iAS 9618 - Copy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the index of an array represent?

The position of an element within the array.

The size of the array.

The data type of the array.

The number of elements in the array.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following terms refers to the highest possible index in an array?

Upper bound

Lower bound

Index

Element

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a 1D array, what does the lower bound represent?

The index of the first element.

The index of the last element.

The size of the array.

The number of elements in the array.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a feature of arrays?

Arrays store data of different types in the same array.

Arrays store data of the same type.

Arrays have a fixed size.

Arrays use an index to access elements.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a typical use case for a 2D array?

Storing data in a grid-like format, such as a matrix.

Storing a single list of numbers.

Storing a set of unrelated values.

Storing data of different types under one identifier.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you declare a 1D array of 5 integers in pseudocode?

ARRAY integers[5]

ARRAY integers[5] INTEGER

ARRAY [1,2,3,4,5]

ARRAY 5 INTEGER

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to declare a 2D array of 3 rows and 4 columns?

ARRAY matrix[3][4]

ARRAY matrix[3,4]

ARRAY matrix[4][3]

ARRAY 2D matrix

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?