Search Header Logo

Station 5

Authored by Nur Athirah

Computers

University

Station 5
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

30 sec • 2 pts

If there are 10 subs in array, how many elements are present?

9

10

11

Either 9 or 10 element

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

An array index always start at

0

1

Last number

Subs

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Each element (value) in the array name is identified by a

End class

Dim

Public

Unique index

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Are programming constructs that store data and accessed by a numeric index

Dim

Dimensional

Public

Array

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

An array uses ___ indexing yo keep track of each memory allocation unit in the array

one-based

10-based

Zero-based

100-based

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Consider the following declaration :

double salary array[10];

The array name is

double

salary

10

Non above

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

For(int i=0; i<10; i++)

number[i] = 2*i + 1;

Which of the array hold the value of 5?

1

2

3

4

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?