Step 1: Polling implementation (T1)
- Polling frequency = once every \(10\,\text{ms}\).
- In 1 second = \(\tfrac{1}{0.01} = 100\) polls.
- Each poll consumes \(100 \mu s = 0.0001 \,\text{s}\).
- Total polling overhead in 1 second = \(100 \times 0.0001 = 0.01 \,\text{s}\).
- Additionally, when a key is pressed (once per second), extra \(200 \mu s = 0.0002 \,\text{s}\) is used.
- Total time spent = \(0.01 + 0.0002 = 0.0102 \,\text{s}\).
- Thus, \(T_1 = 0.0102\).
Step 2: Interrupt implementation (T2)
- For each keystroke, interrupt servicing + processing = \(1 \,\text{ms} = 0.001 \,\text{s}\).
- Since keystroke rate = 1 per second, total fraction per second = \(0.001\).
- Thus, \(T_2 = 0.001\).
Step 3: Ratio
\[
\frac{T_1}{T_2} = \frac{0.0102}{0.001} = 10.2
\]
\[
\boxed{10.2}
\]