Search Header Logo

C# Arrays

Authored by Jill Thompson

Computers

9th - 12th Grade

Used 322+ times

C# Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

You can declare an array without dimensioning its size, but the size must be determined before you can reference it.

True
False

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In C# the length of an array cannot be changed. After it is instantiated with a length, dynamic resizing is not an option. 

True
False

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

The value of price.Length is 5

True
False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

With the declaration of price, price[1] refers to

2.1
2.2
2.3
2.5

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

To declare memory for 4 exam scores that range in value from 0 to 100, the following declaration could be made

int examScore = new examScore [3];
int[ ] examScore = new examScore[3];
int[ ] examScore = new examScore[4];
int examScore = new examScore[4];

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The index is also sometimes referred to as the _______ of an array.

size
variable
subscript
value

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Given an array declared to hold 100 values, the smallest index that can be use with the array is 

based on what index is used when the first value is placed in the array
0
1
undetermined

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?