(a) Suppose a circular array QUEUE has 6 memory locations. What are the values of FRONT and REAR after the following operations? a) Initially QUEUE…
(a) Suppose a circular array QUEUE has 6 memory locations. What are the values of FRONT and REAR after the following operations?
a) Initially QUEUE is empty.
b) A, C and D are added to the queue.
c) F is inserted;
d) Two letters are deleted;
e) K, L and M are added to the queue;
f) Two letters are deleted; and
g) R is added to the queue
(b) What is an operating system? Why do we need an operating system?
(c) What is deadlock? Describe the ways of detecting and protecting against deadlock.
(d) What is the relationship between the operating system and computer hardware?
From the BCS General Cadre 2018 – 38th BCS Written (BPSC) exam, question 7 of 8.
More from this paper
- Previous: 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…
- Next: (a) Describe different techniques used in the risk analysis of software development. (b) Why are the following two overloaded functions…
- All questions in BCS General Cadre 2018 – 38th BCS Written (BPSC)