CS FundamentalsVery hardGATE CS (PYQ pattern)
Counting round trips from the client's first packet until the first byte of the HTTP response arrives (no DNS, processing time ignored): what are the values for HTTPS over TCP with a full TLS 1.2 handshake, and for HTTP/3 over QUIC resuming a session with 0-RTT data?
- A. 4 and 1
- B. 3 and 1
- C. 4 and 2
- D. 3 and 0
Correct answer: A. 4 and 1
TCP handshake 1 RTT + TLS 1.2 full handshake 2 RTTs + request/response 1 RTT = 4. With QUIC 0-RTT the request is sent in the very first flight together with the resumed handshake, so the response arrives after 1 RTT. TLS 1.3 over TCP would be 3; QUIC without resumption is 2.
More Computer Networks questions
- A client sends one e-mail to 3 recipients using SMTP (HELO, MAIL FROM, one RCPT TO per recipient, DATA, the message body ending with a…
- Selective Repeat uses 3-bit sequence numbers (0 to 7) with a window of 5 at both sender and receiver. The sender transmits frames 0 to 4…
- A Go-Back-N sender uses a window of N = 11 frames, which exactly fills the pipe (1 + 2a = 11). Each frame is lost independently with…
- A packet crosses 3 links in series, each losing a packet independently with probability 0.1. With END-TO-END retransmission the source…
- In a pure ALOHA channel the offered load is G = 0.5 frames per frame time (Poisson). What is the probability that a given frame…
- A client (initial sequence number 1000) connects to a server (initial sequence number 5000). After the handshake the client sends 200…