quiz
quiz
Instructions:
Choose the correct answer for each of the following questions.
(a) 214
(b) 27
(c) 221
(d) 224
(a) 1022
(b) 1023
(c) 2046
1
(d) 2047
5. Suppose two hosts are connected by a point-to-point link and they are con-
figured to use Stop-and-Wait protocol for reliable data transfer. Identify in
which one of the following scenarios, the utilization of the link is the lowest.
2
(a) Internet chat
(b) Web browsing
(c) E-mail
(d) Ping
10. Suppose in a web browser, you click on the www.iiitvadodara.ac.in URL.
The browser cache is empty. The IP address for this URL is not cached
in your local host, so a DNS lookup is triggered (by the local DNS server
deployed on your local host) over the 3-tier DNS hierarchy in an iterative
mode. No resource records are cached anywhere across all DNS servers. Let
RTT denote the round trip time between your local host and DNS servers
in the DNS hierarchy. The round trip time between the local host and the
web server hostingwww.iiitvadodara.ac.in is also equal to RTT. The HTML
file associated with the URL is small enough to have negligible transmission
time and negligible rendering time by your web browser, which references 10
equally small objects on the same web server. Which of the following state-
ments is/are CORRECT about the minimum elapsed time between clicking
on the URL and your browser fully rendering it?
(a) 7 RTTs, in case of non-persistent HTTP with 5 parallel TCP connec-
tions
(b) 5 RTTs, in case of persistent HTTP with pipelining
(c) 9 RTTs, in case of non-persistent HTTP with 5 parallel TCP connec-
tions
(d) 6 RTTs, in case of persistent HTTP with pipelining
11. Which of the following is/are example(s) of stateful application layer proto-
cols? (i) HTTP (ii) FTP (iii) TCP (iv) POP3
(a) (i) and (ii) only
(b) (ii) and (iii) only
(c) (ii) and (iv) only
(d) (iv) only
12. Which of the following transport layer protocols is used to support electronic
mail?
(a) SMTP
(b) IP
(c) TCP
(d) UDP
13. Which one of the following protocols is NOT used to resolve one form of
address to another one?
3
(a) DNS
(b) ARP
(c) DHCP
(d) RARP
14. A switch operates at which layer of the OSI model?
(a) Physical layer
(b) Data Link layer
(c) Network layer
(d) Transport layer
15. What type of error control is used in Selective Repeat ARQ?
(a) Positive acknowledgment
(b) Negative acknowledgment
(c) Both (a) and (b)
(d) None of the above
16. In CSMA, which parameter determines the delay before a device retransmits?
(a) Persistence level
(b) Backoff time
(c) Channel length
(d) Window size
17. In ARQ protocols, an acknowledgment:
(a) Indicates the successful reception of data
(b) Is sent only for lost packets
(c) Is used only in Stop-and-Wait ARQ
(d) Can replace retransmission
18. NAT translates:
(a) Public IP addresses to private IP addresses
(b) Private IP addresses to public IP addresses
(c) Both (a) and (b)
(d) IPv4 addresses to IPv6 addresses
19. Which of the following is a private IP address?
(a) 192.168.1.1
(b) 8.8.8.8
4
(c) 172.217.160.1
(d) 203.0.113.1
20. What is the purpose of the sliding window protocol in computer networks?