Array Basics Quiz

Array Basics Quiz

University

27 Qs

quiz-placeholder

Similar activities

Technical Quiz WCC

Technical Quiz WCC

University

30 Qs

SKEE1103 CT#11a: Pointers & Arrays

SKEE1103 CT#11a: Pointers & Arrays

University

29 Qs

ThinkBots - Round 1

ThinkBots - Round 1

University

30 Qs

Conceptos básicos de C++

Conceptos básicos de C++

University

25 Qs

STRUKTUR DATA

STRUKTUR DATA

University

25 Qs

Computer Fundamentals

Computer Fundamentals

University

30 Qs

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

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

9th Grade - Professional Development

24 Qs

G2_UAS_X RPL_PPLG

G2_UAS_X RPL_PPLG

10th Grade - University

30 Qs

Array Basics Quiz

Array Basics Quiz

Assessment

Quiz

Other

University

Easy

Created by

Robin Arcilla

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?