DAA QUIZ

DAA QUIZ

Assessment

Quiz

Created by

Sumab Rao

Computers

University

2 plays

Medium

Student preview

quiz-placeholder

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Binary Search Uses

Decrease and Conquer Design Technique

Divide Conquer Design Technique

Greedy Design Technique

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The data structure used for Depth First Algorithm is

STACK

QUEUE

BOTH STACK & QUEUE

NONE OF THESE

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In linear Search Algorithm basic operation is

Element Comparison with key Element

Increment operation

Decrement Operation

None of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Efficiency of an Algorithm is decided by the

Number of times the basic operation is executed

Time taken for executing the program

Number of instructions in the program

All of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Worst case efficiency of Binary Search is

O(n)

O(n log n)

O(Log n)

O(n2)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example for Decrease and Conquer Design Technique

Topological Sort

Fake Coin Problem

Generating Permutation

All of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Heap should satisfy

Shape Property

Parental Dominance Property

Both Shape and Parental Dominance Property

None of these

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Worst Case efficiency of Horspool Algorithm is

O(n+m)

O(nm)

O(n2)

None of these

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

__________solves only subproblems that are

necessary and does so only once.

Dynamic Programming

Memory Function

Both Dynamic Programming & Memory Function

Greedy Approach

10.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following algorithm does not use greedy technique

Prims Algorithm-

Kruskals Algorithm

Dijkstras Algorithm

Floyds Algorithm

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?