A cloud server processes data batches across three sequential stages (). At the start (), the server has a Buffer size of and a Queue size of . In each stage , the sizes are updated according to the following rules:
-
-
Which of the following statements about the state of the server are true?
- At the end of Stage 2 (), the Buffer size is .Answer
- At the end of Stage 3 (), the Queue size is .Answer
- CAt the end of Stage 3 (), the Buffer size is .
- DAt the end of Stage 2 (), the Queue size is .
- EAt the end of Stage 1 (), the combined total volume is .
Answer
The correct statements are that at the end of Stage 2, the Buffer size is , and at the end of Stage 3, the Queue size is .
The correct statements accurately reflect the iterative evaluation of the state transition formulas: the buffer size decreases by each stage to reach at Stage 2, and the queue size increases by each stage to reach at Stage 3.
Step-by-Step Solution
Key Concept
Sequential processes require evaluating every state transition iteratively without skipping intermediate stages.