Search Header Logo

DAA Quiz AIML '26

Authored by G.Krishna Dept

Computers

University

Used 1+ times

DAA Quiz AIML '26
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

30 sec • 1 pt

Dijkstra’s algorithm is used to solve __________ problems?

Network Lock

Single source shortest path

All pair shortest path

Sorting

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used for solving the N Queens Problem?

Greedy algorithm

Dynamic programming

Backtracking

Sorting

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms provide the best time complexity in the worst-case scenario?

Merge sort

Quick sort

Bubble sort

Selection sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Divide and Conquer algorithm?

Bubble Sort

Selection Sort

Heap Sort

Merge Sort

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Another name of the fractional knapsack is?

Non-continuous knapsack problem

Divisible knapsack problem

0/1 knapsack problem

Continuous Knapsack Problem

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the correct recurrence relation for Tower of Hanoi?

T(N) = 2T(N-1)+1

T(N) = 2T(N/2)+1

T(N) = 2T(N-1)+N

T(N) = 2T(N-2)+2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the best case time complexity of the binary search algorithm?

O(1)

O(n)

O(log2n)

O(n^2)

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?