Sorting and Asymptotic Notations

Sorting and Asymptotic Notations

University

10 Qs

Student preview

quiz-placeholder

Similar activities

Time and Space Complexity

Time and Space Complexity

University

15 Qs

BCSC0006 Trees

BCSC0006 Trees

University

10 Qs

HeapSort

HeapSort

University

6 Qs

Analysis of Algorithms

Analysis of Algorithms

University

10 Qs

ANALYSIS OF ALGORITHMS

ANALYSIS OF ALGORITHMS

University

15 Qs

Heaps

Heaps

University

15 Qs

DAA Quiz 1

DAA Quiz 1

University

10 Qs

Data Structuer

Data Structuer

University

12 Qs

Sorting and Asymptotic Notations

Sorting and Asymptotic Notations

Assessment

Quiz

Created by

lekhraj chaudhary

Computers

University

3 plays

Medium

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.1 To main measures of the efficiency of an algorithm is?

a. Time and space complexity

b. Data and space

c. Processor and memory

d. Complexity and capacity

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.2 which of the following is a Divide and Conquer algorithm?

a. Heap sort

b. Merge sort

c. Bubble sort

d. Selection sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.3 which of the following data structure is used to perform recursion?

a. Linked list

b. Array

c. Stack

d. Queue

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.4 Identify the best case time complexity of selection sort?

a. O (n logn)

b. O (n^2)

c. O (n)

d. O (1)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.5 what is the time complexity of the binary search algorithm?

a. O (logn)

b. O (n^2)

c. O (n)

d. O (1)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.6 The worst-case time complexity of Quicksort is?

a. O (logn)

b. O (n^2)

c. O (n)

d. O (1)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q.7 what is the technique called in which it does not require extra memory for carrying out the sorting procedure?

a. Stable

b. Unstable

c. In-place

d. Out-place

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?