Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 subjective questions Divide and Conquer

ECAP538 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define the divide-and-conquer technique. Explain its three fundamental steps with a suitable example.

  2. Question 2 of 20

    Describe the general recursive structure of a divide-and-conquer algorithm and formulate its standard recurrence relation.

  3. Question 3 of 20

    State and explain the Master Theorem for solving divide-and-conquer recurrences of the form .

  4. Question 4 of 20

    Compare divide-and-conquer with the decrease-and-conquer strategy.

  5. Question 5 of 20

    Explain the binary search algorithm and derive its worst-case time complexity.

  6. Question 6 of 20

    Trace binary search for the key in the sorted array .

  7. Question 7 of 20

    Distinguish between iterative and recursive implementations of binary search.

  8. Question 8 of 20

    Describe the merge sort algorithm and explain the purpose of its merge operation.

  9. Question 9 of 20

    Derive the time complexity of merge sort using a recursion tree.

  10. Question 10 of 20

    Discuss the stability, space complexity, advantages, and limitations of merge sort.

  11. Question 11 of 20

    Explain the quick sort algorithm and the role of partitioning.

  12. Question 12 of 20

    Compare the Lomuto and Hoare partition schemes used in quick sort.

  13. Question 13 of 20

    Derive the best-case and worst-case time complexities of quick sort.

  14. Question 14 of 20

    Explain how pivot selection affects quick sort. Discuss three pivot-selection strategies.

  15. Question 15 of 20

    Compare merge sort and quick sort with respect to performance, memory, stability, and applications.

  16. Question 16 of 20

    Explain how divide and conquer can be used to multiply two large integers by splitting each integer into high and low halves.

  17. Question 17 of 20

    Derive Karatsuba's large-integer multiplication formula and analyze its time complexity.

  18. Question 18 of 20

    Use Karatsuba's method to multiply and , showing the principal intermediate values.

  19. Question 19 of 20

    Compare grade-school multiplication, four-product divide-and-conquer multiplication, and Karatsuba multiplication for large integers.

  20. Question 20 of 20

    Discuss the practical issues involved in implementing divide-and-conquer arithmetic for very large integers.

That's unit 2

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.