


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
gszgagaecfcrRFwqf wqefr3wqfrQFfEFEWFqefwQFfQRr3R CEWFWEFSFDSVDgWEDGFHFHFVFFEFWgfgfdfhbbfgiBHFBFSWFWEHUFHWUEBWUGFVBUWEGVBYFCHUFHDNEWUFHNDUEW/
Typology: Lecture notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!
Q1 What happens when the backtracking algorithm reaches a complete solution? a) It backtracks to the root b) It continues searching for other possible solutions c) It traverses from a different route d) Recursively traverses through the same route Q2 Backtracking algorithm is implemented by constructing a tree of choices called as? a) State-space tree b) State-chart tree c) Node tree d) Backtracking tree Q3 Who coined the term ‘backtracking’? a) Lehmer b) Donald c) Ross d) Ford Q4 Strassen’s algorithm is a/an_____________ algorithm. a) Non- recursive b) Recursive
c) Approximation d) Accurate Q5 Strassen’s matrix multiplication algorithm follows ___________ technique. a) Greedy technique b) Dynamic Programming c) Divide and Conquer d) Backtracking Q6 What is the recurrence relation used in Strassen’s algorithm? a) 7T(n/2) + Theta(n2) b) 8T(n/2) + Theta(n c) 7T(n/2) + O(n2) d) 8T(n/2) + O(n2) Q7 What is the auxiliary space complexity of merge sort? a) O(1) b) O(log n) c) O(n) d) O(n log n) Q8 Which of the following is not a stable sorting algorithm? a) Quick sort b) Cocktail sort c) Bubble sort d) Merge sort Q9 Which of the following sorting algorithm does not use recursion? a) quick sort
c) Lowest cost branch and bound d) Highest cost branch and bound Q15 Which of the following can traverse the state space tree only in DFS manner? a) branch and bound b) dynamic programming c) greedy algorithm d) backtracking