A list of numbers 3, 5, 7, 11, 13, 17 is stored in sequence. Which of the following data structure will have the least data movement when the number…
A list of numbers 3, 5, 7, 11, 13, 17 is stored in sequence. Which of the following data structure will have the least data movement when the number 11 is removed from the list? FIFO, QUEUE, HEAP, Linked list and stack. Justify your answer.
From the BCS General Cadre 2018 – 38th BCS Written (BPSC) exam, question 6 of 8.
More from this paper
- Previous: (a) What is structured programming language? Explain with example. (b) Write a program to store information using structures with…
- Next: (a) Suppose a circular array QUEUE has 6 memory locations. What are the values of FRONT and REAR after the following operations? a)…
- All questions in BCS General Cadre 2018 – 38th BCS Written (BPSC)