Which of the following standard algorithms is not Dynamic Programming based.
DAA-UNIT III

Quiz
•
Other, Education
•
University
•
Hard

Shakti Mishra
Used 17+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Bellman–Ford Algorithm for single source shortest path
Floyd Warshall Algorithm for all pairs shortest paths
0-1 Knapsack problem
Prim's Minimum Spanning Tree
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
An algorithm to find the length of the longest monotonically increasing sequence of numbers in an array A[0 :n-1] is given below. Let Li denote the length of the longest monotonically increasing sequence starting at index i in the array.
Which of the following statements is TRUE?
The algorithm uses dynamic programming paradigm
The algorithm has a linear complexity and uses branch and bound paradigm
The algorithm has a non-linear polynomial complexity and uses branch and bound paradigm
The algorithm uses divide and conquer paradigm.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Four matrices M1, M2, M3 and M4 of dimensions pxq, qxr, rxs and sxt respectively can be multiplied is several ways with different number of total scalar multiplications. For example, when multiplied as ((M1 X M2) X (M3 X M4)), the total number of multiplications is pqr + rst + prt. When multiplied as (((M1 X M2) X M3) X M4), the total number of scalar multiplications is pqr + prs + pst. If p = 10, q = 100, r = 20, s = 5 and t = 80, then the number of scalar multiplications needed is
248000
44000
19000
25000
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is NOT a divide & conquer algorithm by nature?
Euclidean algorithm to compute the greatest common divisor
Heap Sort
Cooley-Tukey fast Fourier transform
Quick Sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Maximum Subarray Sum problem is to find the subarray with maximum sum. For example, given an array {12, -13, -5, 25, -20, 30, 10}, the maximum subarray sum is 45.
The naive solution for this problem is to calculate sum of all subarrays starting with every element and return the maximum of all. We can solve this using Divide and Conquer, what will be the worst case time complexity using Divide and Conquer.
O(n)
O(nLogn)
O(Logn)
O(n^2)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the shortest path from node A to node F?
A -> B -> D -> F
A -> C -> B -> E -> F
A -> F
A -> C -> E -> F
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dijkstra's algorithm is based on which paradigm?
Greedy paradigm
Backtracking paradigm
Dynamic Programming paradigm
Divide and Conquer paradigm
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Weekly Quiz 1

Quiz
•
4th Grade - Professio...
15 questions
Theory of Computation-Finite Automata

Quiz
•
University
10 questions
MCQ SRW

Quiz
•
University
12 questions
CS201: Chapter 1

Quiz
•
University
10 questions
DAA Quiz 1

Quiz
•
University
10 questions
IMS505 - Chapter 1 Recap

Quiz
•
University
10 questions
Coding Challenge Round 1

Quiz
•
University
15 questions
Sorting Quiz

Quiz
•
University - Professi...
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Other
10 questions
Identifying equations

Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor

Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz

Quiz
•
University
71 questions
Logos

Quiz
•
3rd Grade - University
8 questions
Mali - Geography

Quiz
•
University