Search Header Logo

10. Arrays (pseudocode) REVISION

Authored by Aainaa Idris

Computers

12th Grade

Used 13+ times

10. Arrays  (pseudocode)   REVISION
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The index of the first element in an array is the ________ bound and the index of the last element is the ________ bound.

upper, lower

lower, upper

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

The lower bound of an array is usually set as zero or (a)   . Write your answer in words not numbers.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is _____________.

a 1D array

not an array

a 2D array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many elements are there in myList?

8

9

55

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which is the correct way to declare array myList?

DECLARE myList : ARRAY [0:8] OF INTEGER

DECLARE myList : ARRAY [8] OF INTEGER

DECLARE myList : ARRAY [1:8] OF INTEGER

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

OUTPUT myList[1] will print out the number ____ .

27

19

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

myList[0] <--- myList[1] will _________ .

change value of array element at index 1, to 19

change value of array element at index 0, to 19

error

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?