Search Header Logo

ADA Module-2 Quiz

Authored by Girish Mantha

Computers

University

Used 1+ times

ADA Module-2 Quiz
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

What is the time complexity of the brute-force solution for the Traveling Salesman Problem (TSP)?

O(n)

O(n log n)

O(n!)

O(2ⁿ)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Insertion Sort uses which design paradigm?

  1. Divide-and-Conquer

  1. Decrease-by-One

  1. Transform-and-Conquer

  1. Greedy

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Topological Sorting is applied to:

  1. Arrays

  1. Binary Trees

  1. Directed Acyclic Graphs (DAGs)

  1. Undirected Graphs

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Arrange the steps of decrease-and-conquer:

I. Solve the smaller instance
II. Reduce the problem size
III. Combine results

II → I → III

I → II → III

III → II → I

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Decrease-and-conquer algorithms always reduce the problem size by half.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Merge Sort has a worst-case time complexity of:

  1. O(n)

  1. O(n²)

  1. O(n log n)

  1. O(log n)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Strassen’s Matrix Multiplication improves upon the standard O(n³) method by reducing the time complexity to:
    a)
    b)
    c)

  1. O(n².81)

  1. O(n² log n)

  1. O(n³/log n)

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?