ЁЯУв 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
    More Data Analytics Languages Questions
    ask-question