CS 118 - Midterm Review MC | Quizizz

Question 1

If a protocol keeps no information after processing each packet/segment/request, it is called a stateless protocol. Which protocols are stateless?

Answers

✅  HTTP/1.1

While TCP is not a stateless protocol (keeps track of ACKs, SEQs, etc.), even though HTTP is built on top of TCP, the HTTP protocol itself isn’t keeping track of state. Cookies may be an exception—which allows some sort of leniency for this answer.

✅  DNS (consider authoritative servers only)

Stub and caching resolvers set timeouts to retry requests when authoritative nameservers don’t respond—not the other way around.

❌  TCP

TCP keeps track of ACKs, SEQs, etc. during communication.

✅  UDP

UDP is a thin layer on top of IP whose packets are processed and no information is stored after.

Question 2

Which components use retransmission timers?

Answers

❌  HTTP client

While TCP uses retransmission timers, the HTTP protocol itself does not.