Quiz on Arrays

Quiz on Arrays

Professional Development

16 Qs

quiz-placeholder

Similar activities

Huruf ( Bahasa Melayu)

Huruf ( Bahasa Melayu)

KG - Professional Development

20 Qs

ConquisRenacer-Internet#Final

ConquisRenacer-Internet#Final

6th Grade - Professional Development

17 Qs

PLANES DE SEGUNDA OPORTUNIDAD

PLANES DE SEGUNDA OPORTUNIDAD

Professional Development

16 Qs

TÌM HIỂU RECLOSER NULEC VÀ LBS FTU-P200

TÌM HIỂU RECLOSER NULEC VÀ LBS FTU-P200

Professional Development

20 Qs

E&C Final Quiz 2021

E&C Final Quiz 2021

1st Grade - Professional Development

15 Qs

Binary Tree and Heap Quiz

Binary Tree and Heap Quiz

Professional Development

15 Qs

TEST BANK - SALES & MARKETING

TEST BANK - SALES & MARKETING

Professional Development

15 Qs

DSAquiz

DSAquiz

Professional Development

20 Qs

Quiz on Arrays

Quiz on Arrays

Assessment

Quiz

Education

Professional Development

Medium

Created by

SHILPA NIMBRE

Used 1+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?

A method for sorting data

A type of data structure that can grow dynamically

A linear collection of finite number of homogeneous data elements

A collection of heterogeneous data elements

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are elements of an array referenced?

By their memory address

By their index

By their size

By their value

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the size of an array represent?

The total number of elements in the array

The index of the last element

The maximum memory allocated for the array

The number of bytes used by the array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a one-dimensional array, how is the address of an element calculated?

Using the formula: Base + (k + w)

Using the formula: Base + (w * (k - lb))

Using the formula: Base + (k * w)

Using the formula: Base + (lb - k)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many elements are in the array X[10:42]?

33

32

42

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the deletion operation in an array refer to?

Adding a new element

Removing an existing element

Calculating the size of the array

Searching for an element

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case complexity of linear search?

O(n^2)

O(1)

O(n)

O(log n)

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?