Array Basics Quiz

Array Basics Quiz

University

27 Qs

quiz-placeholder

Similar activities

Bible Quiz (August 6,2020)

Bible Quiz (August 6,2020)

KG - Professional Development

22 Qs

WIELKI TEST WIEDZY O PIOTRZE PALIKU

WIELKI TEST WIEDZY O PIOTRZE PALIKU

University

23 Qs

Fundamentals of Political Science

Fundamentals of Political Science

University

23 Qs

435204 สังคมร่วมสมัยในบริบทโลก : บทความประจำภาคเรียน

435204 สังคมร่วมสมัยในบริบทโลก : บทความประจำภาคเรียน

University

24 Qs

Prueba Diagnostico HTML

Prueba Diagnostico HTML

University

25 Qs

Funções e Estruturas - Matrizes & Strings & Apontadores

Funções e Estruturas - Matrizes & Strings & Apontadores

9th Grade - Professional Development

24 Qs

E & C Set No - 1

E & C Set No - 1

University

24 Qs

Ainsley - Biochem lab (Isang bagsakan Midterms)

Ainsley - Biochem lab (Isang bagsakan Midterms)

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?