πŸ“’ Too many exams? Don’t know which one suits you best? Book Your Free Expert πŸ‘‰ call Now!


    Question

    A disk scheduling system receives requests for the

    following cylinders: 98, 183, 37, 122, 14, 124, 65, 67. If the current position of the disk head is at cylinder 53, and the system uses the SCAN algorithm, which cylinder is serviced immediately after 65?
    A 67 Correct Answer Incorrect Answer
    B 14 Correct Answer Incorrect Answer
    C 37 Correct Answer Incorrect Answer
    D 98 Correct Answer Incorrect Answer
    E 122 Correct Answer Incorrect Answer

    Solution

    The SCAN algorithm moves the disk head in one direction, servicing all requests until it reaches the end, then reverses direction. 1. Initial direction: upwards. 2. Sequence of servicing: 65 β†’ 67 β†’ 98 β†’ 122 β†’ 124 β†’ (reverses) β†’ 37 β†’ 14. 3. After servicing 65, the next request in the upward direction is 67. Why Other Options Are Incorrect: β€’ B) 14 & C) 37: These are serviced after the head reverses direction. β€’ D) 98 & E) 122: These are serviced later in the upward direction, but after 67.

    Practice Next
    ask-question