DS CA1 QUIZ

DS CA1 QUIZ

University

15 Qs

quiz-placeholder

Similar activities

SMARTICUS

SMARTICUS

University

20 Qs

Quiz-1(Div-C)

Quiz-1(Div-C)

University

12 Qs

Tes Awal Modul 4

Tes Awal Modul 4

University

10 Qs

Heaps

Heaps

University

15 Qs

JAVALO3

JAVALO3

University

11 Qs

SELECTION SORT QUIZ

SELECTION SORT QUIZ

University

11 Qs

searching sorting

searching sorting

University

20 Qs

Quantitative Aptitude Series

Quantitative Aptitude Series

University

20 Qs

DS CA1 QUIZ

DS CA1 QUIZ

Assessment

Quiz

Computers

University

Hard

Created by

Deepak Mangal

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 5 pts

What is the time complexity of accessing the nth element on an unsorted array?

O(n)

O(1)

O(log(n))

O(n^2)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image
Which type of sort algorithm is this?
Insertion
Bubble
Merge

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Media Image

What is the time complexity of this function / algorithm?

O(n)

Colinas debe saber !

O(n^2)

O(1)

O(nlog(n))

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Identify selection sort on values: {10, 6, 3, 2, 8}

{6,10,3,2,8}, {3,6,10,2,8}, {2,3,6,8,10}

{6,10,3,2,8}, {3,6,10,2,8}, {2,3,6,10,8}, {2,3,6,8,10}

{2,6,3,10,8}, {2,3,6,10,8}, {2,3,6,10,8}, {2,3,6,8,10}

{2,6,3,10,8}, {2,3,6,10,8}, {2,3,6,8,10}

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we describe an array in the best possible way?

The Array shows a hierarchical structure.

Arrays are immutable (Not Modifiable)

Container that stores the elements of similar types

The Array is not a data structure

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Media Image

What is the time complexity of this function / algorithm?

O(n)

O(log(n))

O(1)

O(n^2)

Preguntale al frances

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the disadvantage of array data structure?

Elements of an array can be accessed in constant time

Elements are stored in contiguous memory location

The amount of memory to be allocated should be known beforehand

Multiple other data structures can be implemented using Array

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?