- Type
- Quiz
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 7.2 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 554. Download the file for all 554 pages.
Q1. The sequence of merge sort algorithm is:
Q2. In ______ Knapsack Problem, limitation is that an item can either be put in the bag or not. Fractional items are not allowed.
Q3. In Selection algorithm, we assume pivot selection takes theta _______ running time.
Q4. In Heap Sort algorithm (using max heap), when every time maximum elements removed from top ________.
Page – 41
Q5. If matrix A of dimension p x q is multiply with matrix B of dimension q x r, then each entry in resultant matrix takes _______ time.
AL-JUNAID INSTITUTE OF GROUP
Q6. _________ is a method of solving a problem in which we check all possible solutions to the problem to find the solution we need.
d. Greedy approach
Q7. The worst case running time of Quick sort algorithm _____.
Q8. In max heap (for Heap Sort algorithm), when every time maximum element is removed from top we replace it with _____ leaf in the tree.
Q9. Quick sort algorithm was developed by -
– Google wikipedia
Q10. If Matrix-A has dimensions "3x2" and Matrix-B has dimensions "2x3", then multiplication of Matrix-A and Matrix-B will result a new Matrix-C having dimensions.
Q11. For comparison-based sorting algorithms, it is possible to sort more efficiently than Omega n log(n) time.
Q12. Dynamic Programming approach is usually useful in solving optimization problems.
Q13. In Sorting the key value or attribute_____ from an ordered domain.
Q14. Result of asymptotical analysis of n(n -3) and 4n*n is that _______
page 23 (4n*n= 4n2)
Q15. Floor and ceiling are ______ to calculate while analyzing algorithms a. Very easy
Q16. _____ of reference is an important fact of current processor technology.
P-8
Q17. In max-heap, largest element is stored at root node. Where is the smallest element stored?
Related CS502 files
All CS502 files →- CS502 Midterm Solved Subjective Mega File by Saifi Midterm PDF 499 KB
- CS502 Highlighted Handouts by Saadix Highlighted PDF 2.1 MB
- CS502 Final Term Solved Papers by Waqar Siddhu and Team Hadi Final term RAR 13.6 MB
- CS502 Quiz 4 Set 3 by VU Topper RM Quiz PDF 1.5 MB
- CS502 Quiz 1 by Smile Quiz PDF 2.6 MB
- CS502 Quiz Quiz PDF 1.3 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.