ADA Module-2 Quiz

ADA Module-2 Quiz

University

10 Qs

quiz-placeholder

Similar activities

Complexity Analysis Station [2]

Complexity Analysis Station [2]

University

7 Qs

Linked List - Implementation

Linked List - Implementation

University

15 Qs

Python 101

Python 101

University

15 Qs

Quiz 1 - AK2 Section

Quiz 1 - AK2 Section

University

10 Qs

ANALYSIS OF ALGORITHMS

ANALYSIS OF ALGORITHMS

University

15 Qs

Algorithms Data

Algorithms Data

University

15 Qs

BCSC0006 Trees

BCSC0006 Trees

University

10 Qs

HEAP TREE

HEAP TREE

University

11 Qs

ADA Module-2 Quiz

ADA Module-2 Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Girish Mantha

Used 1+ times

FREE Resource

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?