Array Basics Quiz

Array Basics Quiz

University

•

27 Qs

quiz-placeholder

Similar activities

Quiz 1 Early Age of Deception Detection

Quiz 1 Early Age of Deception Detection

University - Professional Development

•

23 Qs

Steven Universe Quiz (2020)

Steven Universe Quiz (2020)

KG - Professional Development

•

23 Qs

Disney

Disney

7th Grade - Professional Development

•

23 Qs

Italian Level 2 Quiz 1

Italian Level 2 Quiz 1

University

•

23 Qs

Coranavirus

Coranavirus

KG - Professional Development

•

24 Qs

Internet of Things

Internet of Things

University

•

23 Qs

BSHM 2F - Quiz #2

BSHM 2F - Quiz #2

University

•

22 Qs

SPECIAL EXAM - RISK MANAGEMENT

SPECIAL EXAM - RISK MANAGEMENT

University

•

22 Qs

Array Basics Quiz

Array Basics Quiz

Assessment

Quiz

•

Other

•

University

•

Practice Problem

•

Easy

Created by

Robin Arcilla

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is false?

The elements in an array are related in some way.

All of the elements in an array have the same data type.

All of the elements in an array have the same subscript.

All of the elements in an array have the same name.

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Elements in an array are identified by a unique_____________.

data type

order

subscript

symbol

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The third subscript in a 25-element array is the number____________.

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The last subscript in a 225-element array is the number____________.

225

224

223

222

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The cout<

display 22000

display 10000 + 12000

display sales[0] + sales [1]

result in an error

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The sales[4] = sales[4-2]; statement will_________________.

replace the 20000 amount with 900

replace the 20000 amount with 19998

replace the 500 amount with 12000

result in an error

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The sales[3] = sales[3] + 10; statement will_________________.

replace the 500 amount with 10

replace the 500 amount with 510

replace the 900 amount with 910

result in an 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?