BCS 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
- Data Link layer
- Transport layer (Correct answer)
- Session layer
Correct answer: Transport layer
The Transport layer (Layer 4) is responsible for end-to-end communication, error recovery, and flow control between hosts.
Question 2: What does the acronym TCP stand for?
- Transfer Control Protocol
- Transmission Control Protocol (Correct answer)
- Terminal Connection Protocol
- Transport Communication Protocol
Correct answer: Transmission Control Protocol
TCP stands for Transmission Control Protocol, providing reliable, ordered, and error-checked data delivery.
Question 3: Which IP address class supports the largest number of hosts per network?
- Class A (Correct answer)
- Class B
- Class C
- Class D
Correct answer: Class A
Class A addresses use only 8 bits for the network portion, leaving 24 bits for hosts, supporting over 16 million hosts per network.
Question 4: What is the primary purpose of the Domain Name System (DNS)?
- Assign IP addresses dynamically
- Translate domain names to IP addresses (Correct answer)
- Encrypt web traffic
- Route packets between networks
Correct answer: Translate domain names to IP addresses
DNS translates human-readable domain names (e.g., www.example.com) into their corresponding IP addresses.
Question 5: Which protocol is used to automatically assign IP addresses to devices on a network?
- ARP
- DNS
- DHCP (Correct answer)
- ICMP
Correct answer: DHCP
DHCP (Dynamic Host Configuration Protocol) automatically assigns IP addresses, subnet masks, and default gateways to devices.
Question 6: In a TCP three-way handshake, what is the correct sequence of messages?
- SYN, ACK, SYN-ACK
- ACK, SYN, SYN-ACK
- SYN, SYN-ACK, ACK (Correct answer)
- SYN-ACK, SYN, ACK
Correct answer: SYN, SYN-ACK, ACK
TCP connection establishment follows SYN → SYN-ACK → ACK, where the client sends SYN, server responds with SYN-ACK, and client confirms with ACK.
Which layer of the OSI model is responsible for end-to-end communication and error recovery?