Department of Computer Science and Engineering
Computer Networks
UNIT I: INTRODUCTION AND APPLICATION
1. What is the main function of data communication?
A) Data Storage
B) Data Processing
C) Data Transmission ✅
D) Data Encryption
2. Which of the following is not a type of network?
A) LAN
B) WAN
C) PAN
D) MANET ✅
3. Which model provides a structured approach to network communication?
A) TCP/IP
B) OSI ✅
C) UDP
D) HTTP
4. In the OSI model, which layer is responsible for logical addressing?
A) Transport Layer
B) Network Layer ✅
C) Data Link Layer
D) Application Layer
5. HTTP operates on which port by default?
A) 20
B) 21
C) 80 ✅
D) 110
6. Which protocol is used for sending emails?
A) FTP
B) SMTP ✅
C) HTTP
D) SNMP
7. The DNS protocol is used to map:
A) IP address to MAC address
B) Domain names to IP addresses ✅
C) IP address to hostname
D) URL to MAC address
8. MIME is used in which application?
A) Web Browsing
B) File Transfer
C) Email ✅
D) Streaming
9. Which protocol is used to transfer files over the internet?
A) FTP ✅
B) SMTP
C) HTTP
D) DNS
10. SNMP is used for:
A) Sending emails
B) Managing network devices ✅
C) Transferring files
D) Streaming data
UNIT II: TRANSPORT LAYER
11. Which protocol is connectionless?
A) TCP
B) UDP ✅
C) SCTP
D) IP
12. TCP provides:
A) Reliable data transmission ✅
B) Unreliable data transmission
C) Low-latency communication
D) Error-free transmission
13. Which of the following controls congestion in a network?
A) TCP
B) UDP
C) RED ✅
D) FTP
14. Flow control in TCP is achieved using:
A) Congestion Window
B) Checksum
C) Sliding Window ✅
D) Routing Table
15. SCTP is mainly used for:
A) Streaming video
B) Voice over IP (VoIP) ✅
C) Email transmission
D) DNS resolution
16. Which protocol does not guarantee reliable communication?
A) TCP
B) UDP ✅
C) SCTP
D) IP
17. What is the purpose of DECbit?
A) Data encryption
B) Network congestion avoidance ✅
C) Data compression
D) File transfer
18. Which of these is a quality of service metric?
A) Latency ✅
B) Data link
C) Protocol
D) Signal strength
19. What does congestion control in TCP prevent?
A) Data loss ✅
B) Fast transmission
C) Large packet size
D) Fragmentation
20. Which protocol is responsible for connection management in TCP?
A) UDP
B) IP
C) Three-way handshake ✅
D) ICMP
UNIT III: NETWORK LAYER
21. The main function of the network layer is:
A) Routing ✅
B) Flow control
C) Error correction
D) Encryption
22. IPv4 addresses are of which length?
A) 16-bit
B) 32-bit ✅
C) 64-bit
D) 128-bit
23. Subnetting is used for:
A) Increasing network speed
B) Network security
C) Efficient IP address utilization ✅
D) Reducing bandwidth
24. IPv6 addresses use how many bits?
A) 32
B) 64
C) 128 ✅
D) 256
25. ARP is used for:
A) Mapping IP addresses to MAC addresses ✅
B) Routing
C) Error checking
D) Address allocation
26. Which protocol assigns IP addresses dynamically?
A) DNS
B) DHCP ✅
C) ARP
D) ICMP
27. Which protocol helps detect network issues?
A) ICMP ✅
B) UDP
C) TCP
D) FTP
28. The purpose of RARP is:
A) Resolve domain names
B) Convert MAC to IP ✅
C) Monitor networks
D) Secure data
29. Which protocol is responsible for reporting errors in the network layer?
A) TCP
B) UDP
C) ICMP ✅
D) ARP
30. The IPv6 header is:
A) Smaller than IPv4
B) Same as IPv4
C) Simpler than IPv4 ✅
D) More complex than IPv4
UNIT IV: ROUTING
31. Distance vector routing uses:
A) Shortest path algorithm
B) Hop count ✅
C) Link state information
D) Autonomous systems
32. Which protocol uses link-state routing?
A) RIP
B) OSPF ✅
C) BGP
D) ARP
33. RIP is limited to how many hops?
A) 10
B) 15 ✅
C) 20
D) 30
34. BGP is mainly used for:
A) Intranet routing
B) Global internet routing ✅
C) Email transfer
D) Wireless networks
35. Which multicast routing protocol is most commonly used?
A) RIP
B) OSPF
C) DVMRP ✅
D) DHCP
36. OSPF uses which algorithm?
A) Distance vector
B) Bellman-Ford
C) Dijkstra’s Algorithm ✅
D) Flooding
37. PIM is used for:
A) Unicast routing
B) Multicast routing ✅
C) TCP management
D) Wireless networks
38. Which protocol prevents loops in distance vector routing?
A) Spanning Tree
B) Split Horizon ✅
C) DNS
D) ICMP
39. BGP stands for:
A) Best Gateway Protocol
B) Border Gateway Protocol ✅
C) Basic Gateway Protocol
D) Backup Gateway Protocol
40. The primary function of multicast routing is:
A) Sending packets to a single receiver
B) Sending packets to multiple receivers ✅
C) Encrypting data
D) Increasing bandwidth
UNIT V: DATA LINK AND PHYSICAL LAYERS
41. Ethernet uses which access method?
A) Token Ring
B) CSMA/CD ✅
C) Polling
D) Frequency Division
42. HDLC is a:
A) Routing protocol
B) Transport protocol
C) Data link layer protocol ✅
D) Network security protocol
43. VLAN stands for:
A) Virtual Local Area Network ✅
B) Variable LAN
C) Very Large Area Network
D) Verified LAN
44. PPP is used for:
A) Email transmission
B) Secure browsing
C) Dial-up internet ✅
D) Wireless networks
45. Wireless LAN follows which standard?
A) 802.3
B) 802.5
C) 802.11 ✅
D) 802.15
46. Which layer converts bits into signals?
A) Transport
B) Network
C) Data Link
D) Physical ✅
47. Circuit switching is used in:
A) Internet
B) PSTN ✅
C) Wireless LAN
D) Wi-Fi
48. CSMA/CD is used in:
A) Token Ring
B) Wireless Networks
C) Ethernet ✅
D) FDDI
49. Error detection in Ethernet uses:
A) CRC ✅
B) Parity bit
C) Checksum
D) ARP
50. Transmission media are categorized into:
A) Wired and Wireless ✅
B) Fast and Slow
C) Secure and Insecure
D) None of the above