CS FundamentalsHardProduct-company MCQ pattern
A router's table holds 10.0.0.0/8 → interface A, 10.1.0.0/16 → interface B, 10.1.128.0/17 → interface C and a default route → interface D. On which interface is a packet for 10.1.130.5 sent?
- A. B
- B. A
- C. C
- D. D
Correct answer: C. C
All three prefixes match 10.1.130.5 (130 ≥ 128 falls in 10.1.128.0/17), and the router uses longest-prefix match, so the /17 entry wins. A packet for 10.1.100.5 would have gone to B.
More Computer Networks questions
- A token bucket has capacity 1 MB and fills at 2 MB/s; the output line can run at 10 MB/s. Starting with a full bucket, for how long can…
- A 3000 Hz telephone channel has a signal-to-noise ratio of 30 dB. What is its Shannon capacity, approximately?
- Which side of a TCP connection goes through the TIMEWAIT state, and for how long?
- A web page consists of a base HTML file and 10 small images on the same server. Using persistent HTTP without pipelining and ignoring…
- A user's laptop resolves www.example.org using a local DNS server that has nothing cached. Which description of the lookup is the usual one?
- A noiseless channel of bandwidth 4 kHz carries a signal with 8 distinct levels. What is the maximum bit rate according to Nyquist?