ARRAYS

ARRAYS

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Review for Midterm Test ICT 3

Review for Midterm Test ICT 3

1st - 11th Grade

15 Qs

General Ict Quiz

General Ict Quiz

4th Grade - University

15 Qs

OS Essentials Chp11: Windows Configuration Quiz on 11.5 to 11.7

OS Essentials Chp11: Windows Configuration Quiz on 11.5 to 11.7

11th - 12th Grade

10 Qs

Ciência da Dados - Variáveis Aleatórias

Ciência da Dados - Variáveis Aleatórias

12th Grade

10 Qs

Unit 1 LA1 Wk2

Unit 1 LA1 Wk2

12th Grade

12 Qs

Central Processing Unit

Central Processing Unit

7th - 11th Grade

15 Qs

Basics of spreadsheet

Basics of spreadsheet

12th Grade

15 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

ARRAYS

ARRAYS

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Leo Richard

Used 29+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an Array?

A group of elements of same data type.

An array contains more than one element

Array elements are stored in memory in continuous or contiguous locations.

All the above.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In general, the index of the first element in an array is __________

0

-1

2

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is meaning of following

declaration ?

int arr[20];

Array of size 20 that can have integer address

Array of Size 20

Integer Array of size 20

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming int is of 2 bytes, what is the size of int arr[15];?

15

19

11

30

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following piece of code?


int arr[]= {1,2,3,4,5};

cout<<arr[2];

cout<<arr[4];

3 and 5

5 and 3

2 and 4

4 and 2

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you initialize an array in C++?

int arr[3] = (1,2,3);

int arr(3) = {1,2,3};

int arr[3] = {1,2,3};

int arr(3) = (1,2,3);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Elements in an array are accessed _____________

randomly

sequentially

exponentially

logarithmically

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?