DS CA1 QUIZ

DS CA1 QUIZ

University

15 Qs

quiz-placeholder

Similar activities

Arrays recap

Arrays recap

9th Grade - University

17 Qs

Strategi Algoritmik dan Pemrograman

Strategi Algoritmik dan Pemrograman

University

15 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

C++ Searches and Sorts

C++ Searches and Sorts

University - Professional Development

15 Qs

Informatik II Quiz 1

Informatik II Quiz 1

University

11 Qs

BCSC0006 - Quiz 2 - Big-Oh Notation

BCSC0006 - Quiz 2 - Big-Oh Notation

University

10 Qs

Quiz on Standard Algorithms

Quiz on Standard Algorithms

10th Grade - University

20 Qs

Alpro Asix

Alpro Asix

University

15 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?