- Type
- Quiz
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 1.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 3, 5, 7 of 81. Download the file for all 81 pages.
CS502 Grand Quiz
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
5. 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.
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 _____.
8. 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.
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 Quiz 1 Lectures 1-10 by Junaid Quiz PDF 1.8 MB
- CS502 Solution 1 by Junaid Quiz DOCX 79 KB
- CS502 Highlighted Handouts Set 2 Highlighted PDF 1.7 MB
- CS502 Final Term Solved Subjective with References by Shahid and Ziddi Final term DOC 458 KB
- CS502 Quiz 1 by Smile Quiz PDF 2.6 MB
- CS502 Solved Quiz 2 by Scorpio Quiz PDF 307 KB
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.