- Type
- Quiz
- Course
- CS502 Fundamentals of Algorithms
- Size
- PDF 857 KB
- 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 1, 2 of 2. Download the file for all 2 pages.
Q1. What is the best case time complexity of merge sort?
Correct answer: O((nlogn)
Q2. The important factors to measure the running time of the brute-force 2-d maxima algorithm are
Correct answer: All of above
Q3. In 3-Dimensional space, a point P has ______________ coordinate(s).
Correct answer: (X, Y, Z)
Q4. Plane-Sweep algorithm can run in _______ time.
Correct answer: Θ(n log n)
Q5. The ___________________ is the weighted sum of running times with weights.
Correct answer: average-case time
Q6. An algorithm is a mathematical entity, which is independent of _______________.
Correct answer: Programming language, Compiler and Machine
Q7. There are no hard formal rules to the syntax of the ________ code.
Correct answer: Pseudo
Q8. In the following loop statement: for i ← 1 to n For loop executes _______ times.
Correct answer: n
Q9. The definition of theta-notation relies on proving ___________ asymptotic bound.
Correct answer: both lower and upper
Q10. ______________ time is the maximum running time over all legal inputs.
Correct answer: Worst-case
Related CS502 files
All CS502 files →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.