Search Header Logo

MPS VIVA

Authored by Trilochan Sahoo

Computers

University

Used 1+ times

MPS VIVA
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The efficiency of an algorithm may vary depending on factors such as the _______ of the input.

a) Complexity

b) Size

c) Shape

d) Formulation

2.

OPEN ENDED QUESTION

2 mins • 2 pts

The average-case time complexity of an algorithm is often determined by considering the average _______ of the algorithm over all possible inputs.

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

When analyzing recursive algorithms, the recurrence relation is used to:

Describe the efficiency of the algorithm in terms of its worst-case scenario


Define the base case of the recursion

 Calculate the time complexity of the algorithm


Determine the maximum depth of recursion


4.

OPEN ENDED QUESTION

2 mins • 2 pts

Which of the following statements about non-recursive algorithms is true?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

2 mins • 2 pts

Which of the following best describes the order of growth of an algorithm?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

2 mins • 2 pts

The Master Theorem provides a solution for recurrence relations of the form:

Evaluate responses using AI:

OFF

7.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which of the following algorithms is not suitable for sorting data in external memory (when the dataset is too large to fit into main memory)?

Merge sort

Quick sort

Radix sort

Bubble sort

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?