Search Header Logo

Sorting and Asymptotic Notations

Authored by lekhraj chaudhary

Computers

University

Used 3+ times

Sorting and Asymptotic Notations
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?