Array Basics Quiz

Array Basics Quiz

University

27 Qs

quiz-placeholder

Similar activities

NSTP_Quiz 1

NSTP_Quiz 1

University

23 Qs

Quiz on ICT as a Platform for Change

Quiz on ICT as a Platform for Change

11th Grade - University

23 Qs

Malaysian Legal System

Malaysian Legal System

University

26 Qs

New Zealand :>

New Zealand :>

KG - Professional Development

25 Qs

CS-09 18 Apr Trivia

CS-09 18 Apr Trivia

University

24 Qs

Responsible Tourism

Responsible Tourism

University

25 Qs

PINE BROOK SCHOOL - HEALTH CLASS - CHAPTER 4 - LESSON 4 - HEALTHFUL WEIGHT REVIEW

PINE BROOK SCHOOL - HEALTH CLASS - CHAPTER 4 - LESSON 4 - HEALTHFUL WEIGHT REVIEW

6th Grade - 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?