Ture (select A in the homework system) or false (B).
Q1. There are in total 2^32 unique IPs for IPv4.
A. True. Since IPv4's address field is 32 bit long.
Q2. For TCP, there are 2^16 unique port numbers.
A. True. Since TCP's source and destination port fields are both 16 bits long.
Q3. HTTP and POP3 are both client-server architecture. SMTP is not client-server
architecture (it is P2P architecture), since an SMTP host can both act as a client
and server.
B. False. HTTP is client-server, and POP3 is client-server. SMTP is still client-server. When a SMTP server acts as a SMTP client to push email to the next SMTP server, such connection is still client-server, because one of the peer play a roles as client and the other one plays a role as server. When we say "P2P", it means every peers can be a server and can be a client. However, your UA would never act as a SMPT server.
Q4. Both fiber and coaxial cable are employed in the cable system, it is often referred
to as hybrid fiber coax (HFC).
A. True. Nowadays, cable system uses fiber and coax at the same time to construct the cable system, just like Hinet uses fiber and phone line to provide DSL service.
Q5. “Multi-home” can provide a backup, in case one of the ISP fails to provide
service.
A. True. Campus and company network usually have more than one access links to prevent single point failure.
Q6. Suppose you would like to urgently deliver 40 terabytes data from Boston to Los
Angeles. You have available a 100 Mbps dedicated link for data transfer. You
would prefer to transmit the data by using FedEx over-night delivery.
A. True. For using FedEx over-night delivery, we assume the hard disk will arrive Los Angeles in 24 hours. As for the network transmission, if we only count transmission delay, it takes 37 days to deliver 40TB data. So, of course we use FedEx, which is much faster.
40 TB / 100Mbps = 40 * 10^12 * 8 bit / 100 *10^6 bps = 3.2 *10^6 s = 37 days
Q7. “YouTube” uses TCP for video transmitting. (Try to use Wireshark to monitor your
YouTube traffic)
A. True. YouTube use TCP. (You get points if evidence is provided.)
Q8. HTTP is a stateful protocol, since Cookie can remember some past information.
B. False. HTTP itself is a stateless protocol. Cookie is an additional mechanism built on the top of HTTP header. HTTP's response (including the status line and response headers) is made only depends on the request (i.e., request line and headers).
Q9. PTT uses “301 Moved Permanently” to redirect traffic from
A. True. (You have to provide evidence.)
Q10. NCCU uses “301 Moved Permanently” to redirect traffic from
B. False. It use "302 Found" with "Location" header to redirect the page.