GATE CS 2023 (Forenoon) — Question 34

Computer Organization and Architecture (COA)I/O Interfaces (Interrupts & DMA Control Modes)NAT1 markHard

A keyboard connected to a computer is used at a rate of 1 keystroke per second. The computer system polls the keyboard every 10 ms (milli seconds) to check for a keystroke and consumes 100 \(\mu\)s (micro seconds) for each poll. If it is determined after polling that a key has been pressed, the system consumes an additional 200 \(\mu\)s to process the keystroke. Let \( T_1 \) denote the fraction of a second spent in polling and processing a keystroke. In an alternative implementation, the system uses interrupts instead of polling. An interrupt is raised for every keystroke. It takes a total of 1 ms for servicing an interrupt and processing a keystroke. Let \( T_2 \) denote the fraction of a second spent in servicing the interrupt and processing a keystroke. The ratio \( \frac{T_1}{T_2} \) is ________. (Rounded off to one decimal place)
Practise the full 2023-FN paper
Challenge a friend: WhatsApp Telegram
From RENYXERAThis week's 10-question challengeSame 10 past-GATE questions for everyone this week — see where you stand.
Practise more on I/O Interfaces (Interrupts & DMA Control Modes)Timed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group