B CompE Bachelor of Computer Engineering Computer Networks 1 — Questions and Answers
Question 1: Which layer of the OSI model is responsible for end-to-end communication and error recovery?
- Network Layer
- Transport Layer (Correct answer)
- Session Layer
- Data Link Layer
Correct answer: Transport Layer
The Transport Layer (Layer 4) provides end-to-end communication, error recovery, and flow control between hosts.
Question 2: What does the acronym TCP stand for in networking?
- Transfer Control Protocol
- Transmission Control Protocol (Correct answer)
- Transport Channel Protocol
- Terminal Communication Protocol
Correct answer: Transmission Control Protocol
TCP stands for Transmission Control Protocol, a connection-oriented protocol that ensures reliable data delivery.
Question 3: Which IP address class supports up to 254 hosts per network?
- Class A
- Class B
- Class C (Correct answer)
- Class D
Correct answer: Class C
Class C addresses use 24 bits for the network and 8 bits for the host, supporting up to 254 usable host addresses.
Question 4: What is the primary function of the ARP protocol?
- Assign IP addresses dynamically
- Resolve IP addresses to MAC addresses (Correct answer)
- Route packets between networks
- Encrypt network traffic
Correct answer: Resolve IP addresses to MAC addresses
ARP (Address Resolution Protocol) maps a known IP address to its corresponding MAC address on a local network.
Question 5: Which protocol is used to assign IP addresses automatically to devices on a network?
- DNS
- FTP
- DHCP (Correct answer)
- SMTP
Correct answer: DHCP
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses and other network configuration to clients.
Question 6: What is the maximum transmission unit (MTU) for standard Ethernet?
- 512 bytes
- 1024 bytes
- 1500 bytes (Correct answer)
- 9000 bytes
Correct answer: 1500 bytes
Standard Ethernet has an MTU of 1500 bytes, meaning frames carrying more data must be fragmented.
Which layer of the OSI model is responsible for end-to-end communication and error recovery?