Quiz_01

Quiz_01

University

10 Qs

quiz-placeholder

Similar activities

2024 - Struktur Data Quiz 1

2024 - Struktur Data Quiz 1

University

10 Qs

PRACTICA N° 5- USO DE HERRAMIENTAS INFORMÁTICAS

PRACTICA N° 5- USO DE HERRAMIENTAS INFORMÁTICAS

University

10 Qs

Ética de la Comunicación (Saberes Previos)

Ética de la Comunicación (Saberes Previos)

University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

Introducción Redes Tele1 IB

Introducción Redes Tele1 IB

10th Grade - University

15 Qs

MATEMÁTICA III

MATEMÁTICA III

University

10 Qs

Quiz - CSE

Quiz - CSE

University

10 Qs

Quiz de base de datos

Quiz de base de datos

University

10 Qs

Quiz_01

Quiz_01

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Navin Agrawal

Used 77+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following sorting algorithms in its typical implementation gives best performance when applied on an array which is sorted or almost sorted (maximum 1 or two elements are misplaced).

Merge sort

Insertion sort

Heap sort

none

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case time complexity of insertion sort where position of the data to be inserted is calculated using binary search?

N^2

N(logN)^2

N(logN)

N

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which sorting algorithm will take least time when all elements of input array are identical? Consider typical implementations of sorting algorithms.

Insertion sort

Selection sort

Bubble sort

Merge sort

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct order of the following algorithms with respect to their time Complexity in the best case ?

Merge sort > Quick sort >Insertion sort > selection sort

insertion sort < Quick sort < selection sort

Quick sort>Merge sort >Insertion sort > selection sort

None

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Depth First Search is equivalent to which of the traversal in the Binary Trees?

a) Pre-order Traversal

b) Post-order Traversal

c) Level-order Traversal

d) In-order Traversal

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Time Complexity of DFS is? (V – number of vertices, E – number of edges)

a) O(V + E)

b) O(V)

c) O(E)

d) O(V*E)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the worst case complexity of Quick Sort?

a) O(nlogn)

b) O(logn)

c) O(n)

d) O(n2)

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers