Ashu Send
Ashu Send
Answer:
Network topologies define the layout of a network. Common types include:
Answer:
LAN (Local Area Network): Covers small area like office/school. High speed, low latency.
WAN (Wide Area Network): Covers large geographical area like countries. Lower speed, uses public infrastructure.
Answer:
The OSI model standardizes network communication into 7 layers:
1. Physical
2. Data Link
3. Network
4. Transport
5. Session
6. Presentation
7. Application
Purpose:
Answer:
CRC (Cyclic Redundancy Check) is used for error detection. A sender appends a CRC code (remainder) to the data using
polynomial division. The receiver performs the same division; if remainder is zero, data is error-free.
Example:
Data: 110101
Generator: 1011
Appended bits and divide → remainder → CRC code
Fast Retransmit & Fast Recovery: On 3 duplicate ACKs, assume loss and retransmit.
6. Describe routing protocols with examples. Differentiate between forwarding and routing.
Answer:
Forwarding: Moving packets from input to output interface based on routing table.
Answer:
Hamming Code: Corrects single-bit errors, detects two-bit errors using parity bits.
Answer:
Answer:
HTTP: Application-layer protocol for transferring hypertext (webpages). Stateless. Uses TCP (port 80).
FTP: Used to transfer files. Has control and data connections. Uses TCP (ports 20, 21).
Answer:
CSMA/CD (Collision Detection): Used in Ethernet. Listens before transmission, detects collision, and resends after
backoff.
CSMA/CA (Collision Avoidance): Used in Wi-Fi. Tries to avoid collision using RTS/CTS mechanism.
1. Describe the OSI Model with Functions of Each Layer.
The OSI (Open Systems Interconnection) model is a conceptual framework developed by ISO (International Organization for
Standardization) to standardize communication functions in telecommunication and computing systems. It has seven layers, each
responsible for a specific aspect of data communication.
o Uses IP addressing.
Multiplexing is a technique used to transmit multiple signals over a single communication channel. It helps to efficiently use
available bandwidth and reduce cost.
Types of Multiplexing:
o Divides time into slots, and each user gets a time slot to send data.
Applications:
ARQ (Automatic Repeat reQuest) is a mechanism used to ensure reliable data transmission over unreliable networks. It uses
acknowledgments (ACK) and timeouts.
1. Stop-and-Wait ARQ:
Sender sends one frame and waits for ACK before sending the next.
2. Go-Back-N ARQ:
Sender can send multiple frames (window size N) without waiting for ACK.
Comparison Table:
Let me know if you'd like me to continue with extended versions of the remaining long questions (from Q4 to Q10).
You said:
ChatGPT said:
Great! Let's continue with detailed answers for the remaining long answer questions (15 marks each) from Q4 to Q10, based on
your MAKAUT B.Tech 6th Semester Computer Networks syllabus.
✅ 4. Explain IPv4 Addressing and Subnetting with Examples.
IPv4 Addressing:
IPv4 is a 32-bit logical address used to identify devices on a network. It is divided into four 8-bit octets, written in dotted
decimal format (e.g., 192.168.1.1).
Subnetting:
Subnetting is the process of dividing a single network into multiple smaller sub-networks (subnets).
It helps in:
Example:
32 bits address
TCP (Transmission Control Protocol) ensures reliable, ordered data delivery. To prevent congestion in networks, TCP uses
various congestion control techniques:
1. Slow Start:
2. Congestion Avoidance:
3. Fast Retransmit:
On receiving 3 duplicate ACKs, sender immediately retransmits the lost packet (no waiting for timeout).
4. Fast Recovery:
After fast retransmit, congestion window is reduced, but not to the initial size.
Improves throughput.
Function Determines the best path for packets. Sends packets based on routing table.
Routing Protocols:
Routing protocols are algorithms used by routers to determine the best path for data to travel.
Applications:
Communication is prone to errors. Techniques are applied to detect and correct these errors:
1. Parity Check:
Adds 1 bit (parity bit) to make number of 1s even (even parity) or odd (odd parity).
2. Checksum:
4. Hamming Code:
ARQ (Automatic Repeat Request): Retransmission on error detection (e.g., Stop-and-Wait, Go-Back-N).
FEC (Forward Error Correction): Adds redundant data to correct errors without retransmission (e.g., Hamming, Reed-
Solomon).
✅ 8. Explain the Working of DHCP and DNS in Detail.
Working Steps:
Also provides:
Subnet mask
Gateway
Hierarchy:
Types of Queries:
Example:
To resolve www.google.com:
Importance:
Working:
4. Connection is closed.
Example Request:
vbnet
CopyEdit
Host: www.example.com
Working:
Modes:
Steps:
1. Sense channel.
2. If idle → transmit.
Steps:
1. Sense channel.
4. If not → backoff.
Comparison Table:
Let me know if you'd like the very short answer (1 mark) questions next, or a combined format with all questions for quick
revision.