Search Header Logo

Theory quiz

Authored by KOTESWARAMMA 50048

Education

Professional Development

Used 7+ times

Theory quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the time complexity of the quicksort algorithm in the average case?

A. O(n)

B. O(n log n)

C. O(n^2)

D. O(log n)

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

merge sort is a ......................

searching technique

in-place sorting technique

not in place sorting technique

stable sorting method

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

For merging two sorted lists of sizes m and n into a sorted list of size m+n, we require comparisons of

  1. O(m)

  1. O(n)

  1. O(m+n)

  1. O(logm + logn)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To main measures of the efficiency of an algorithm are?

space and data

data & time

time & capacity

time &space

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following is a Divide and Conquer algorithm?

bubble sort

merge sort

quick sort

insertion sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the technique called in which it does not require extra memory for carrying out the sorting procedure?

in-place

stable

in-partition

unstable

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


Which of the following is incorrect? Algorithms can be represented:

as programs

as pseudo-codes

as syntax

as flow chart

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?