GATE Exam  >  GATE Questions  >  Consider a system employing an interrupt driv... Start Learning for Free
Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 micro seconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.
    Correct answer is '0.82'. Can you explain this answer?
    Verified Answer
    Consider a system employing an interrupt driven I/O for a articular de...
    The device generates bytes/sec
    i.e. 1 second 8192 bytes

    Given that each interrupt consumes 100 us.
    ∴ Fraction of proce ssor time consumed in  (for every byte)=0.82
    View all questions of this test
    Most Upvoted Answer
    Consider a system employing an interrupt driven I/O for a articular de...
    Solution:

    Given parameters:
    - Data transfer rate = 8 KB/s
    - Interrupt processing time = 100 microseconds

    To determine the fraction of processor time consumed by this I/O device when it is interrupted for every byte, we need to calculate the following:
    - Number of interrupts per second
    - Time consumed by interrupt processing per second
    - Total time available for processing per second
    - Fraction of processor time consumed by interrupts

    1. Number of interrupts per second:
    - Data transfer rate = 8 KB/s = 8000 bytes/s
    - Therefore, the number of interrupts per second = 8000 interrupts/s

    2. Time consumed by interrupt processing per second:
    - Interrupt processing time = 100 microseconds = 0.0001 seconds
    - Therefore, time consumed by interrupt processing per second = 8000 interrupts/s * 0.0001 seconds/interrupt = 0.8 seconds/s

    3. Total time available for processing per second:
    - The total time available for processing per second is the inverse of the time taken by one interrupt, which is the data transfer time per byte plus the interrupt processing time per byte.
    - Data transfer time per byte = 1 byte / 8 KB/s = 0.000125 seconds/byte
    - Total time taken by one interrupt = Data transfer time per byte + Interrupt processing time per byte = 0.000125 seconds/byte + 0.0001 seconds/byte = 0.000225 seconds/byte
    - Therefore, the total time available for processing per second = 1 / 0.000225 seconds/byte = 4444.4 bytes/s

    4. Fraction of processor time consumed by interrupts:
    - Fraction of processor time consumed by interrupts = Time consumed by interrupt processing per second / Total time available for processing per second = 0.8 seconds/s / 4444.4 bytes/s = 0.00018 seconds/byte
    - To convert to a fraction, we divide this value by the time taken by one interrupt: 0.00018 seconds/byte / 0.000225 seconds/byte = 0.8
    - Therefore, the fraction of processor time consumed by this I/O device when it is interrupted for every byte is 0.82.

    Final answer: 0.82
    Explore Courses for GATE exam
    Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer?
    Question Description
    Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer?.
    Solutions for Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
    Here you can find the meaning of Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer?, a detailed solution for Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? has been provided alongside types of Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider a system employing an interrupt driven I/O for a articular device that transfers data at an average of 8 KB/s on a continuous basis. Assume that interrupt processing takes about 100 microseconds (i.e. jump to the interrupt service routine (ISR); execute it and return to the main program). Determine what fraction of processor time is consumed by this I/O device when it is interrupted for every byte.Correct answer is '0.82'. Can you explain this answer? tests, examples and also practice GATE tests.
    Explore Courses for GATE exam
    Signup for Free!
    Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
    10M+ students study on EduRev