(a) Explain the differences between stack and queue data structures in terms of their operations, memory organization and real-life applications…
(a) Explain the differences between stack and queue data structures in terms of their operations, memory organization and real-life applications. Provide one example use-case for each.
(b) Given the following array of integers: A= [45, 23, 11, 89, 77, 98, 4, 28, 65, 43]
(i) Demonstrate how the array is sorted step-by-step using the quick sort algorithm (Choose the first element as pivot).
(ii) Show the contents of the array after each major partitioning step, and
(iii) Determine the average-case time complexity of Quick Sort algorithm and justify your answer.
(c) Explain the concepts of Entity-Relationship (ER) modeling and normalization in database design. How do these processes help in minimizing data redundancy and ensuring data integrity?
From the BCS Technical Cadre (CSE) October 2025 – 49th BCS Written (Special) (BPSC) exam, question 111 of 123.
More from this paper
- Previous: (a) Define a graph and explain the concepts of degree, path, cycle, and connectedness in an undirected graph: Differentiate between…
- Next: (a) State and explain the "Law conservation of bugs". (b) What is the basic function of paging in OS? Why the page sizes are always power…
- All questions in BCS Technical Cadre (CSE) October 2025 – 49th BCS Written (Special) (BPSC)