0% found this document useful (0 votes)
7 views5 pages

quiz

The document is a quiz on computer networks consisting of 20 multiple-choice questions covering various topics such as OSI layers, IP addressing, routing, transport layer protocols, and error control mechanisms. Each question requires the participant to select the correct answer from the provided options. The quiz assesses knowledge on network protocols, addressing schemes, and the functionality of network devices.

Uploaded by

tigot58617
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

quiz

The document is a quiz on computer networks consisting of 20 multiple-choice questions covering various topics such as OSI layers, IP addressing, routing, transport layer protocols, and error control mechanisms. Each question requires the participant to select the correct answer from the provided options. The quiz assesses knowledge on network protocols, addressing schemes, and the functionality of network devices.

Uploaded by

tigot58617
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Computer Networks Quiz

Instructions:
Choose the correct answer for each of the following questions.

1. In the following pairs of OSI protocol layer/sub-layer and its functionality,


the INCORRECT pair is:
(a) Network layer and Routing
(b) Data Link Layer and Bit synchronization
(c) Transport layer and End-to-end process communication
(d) Medium Access Control sub-layer and Channel sharing
2. In the IPv4 addressing format, the number of networks allowed under Class
C addresses is:

(a) 214
(b) 27
(c) 221
(d) 224

3. Consider three machines M, N, and P with IP addresses 100.10.5.2, 100.10.5.5,


and 100.10.5.6 respectively. The subnet mask is set to 255.255.255.252 for
all the three machines. Which one of the following is true?
(a) M, N, and P all belong to the same subnet
(b) Only M and N belong to the same subnet
(c) Only N and P belong to the same subnet
(d) Only M and P belong to the same subnet
4. If a class B network on the Internet has a subnet mask of 255.255.248.0, what
is the maximum number of hosts per subnet?

(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.

(a) Longer link length and lower transmission rate


(b) Longer link length and higher transmission rate
(c) Shorter link length and lower transmission rate
(d) Shorter link length and higher transmission rate

6. Consider the following statements about the functionality of an IP-based


router:
(a) A router does not modify the IP packets during forwarding.
(b) It is not necessary for a router to implement any routing protocol.
(c) A router should reassemble IP fragments if the MTU of the outgoing
link is larger than the size of the incoming IP packet.
Which of the above statements is/are TRUE?
(a) I only
(b) I and II only
(c) II and III only
(d) II only
7. Consider the following two statements: S1: The destination MAC address of
an ARP reply is a broadcast address. S2: The destination MAC address of
an ARP request is a broadcast address. Which one of the following choices
is correct?
(a) Both S1 and S2 are true
(b) S1 is true and S2 is false
(c) S1 is false and S2 is true
(d) Both S1 and S2 are false
8. The transport layer protocols used for real-time multimedia, file transfer,
DNS, and email respectively are:
(a) TCP, UDP, UDP and TCP
(b) UDP, TCP, TCP and UDP
(c) UDP, TCP, UDP and TCP
(d) TCP, UDP, TCP and UDP
9. Which of the following is not a client-server application?

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?

(a) To ensure flow control and error control


(b) To minimize the delay in packet switching
(c) To detect congestion in the network
(d) To allocate IP addresses dynamically

You might also like