Introduction to Information Technology · Unit 7
Data Transmission and Switching
Exam-focused notes for Data Transmission and Switching (Introduction to Information Technology, BIT101): what the TU syllabus asks and how it has actually been tested, with 4 solved past questions from this unit.
Data Transmission and Switching in short
Data must travel from sender to receiver through shared links. This unit explains how networks switch data and how signals are changed to travel over a line.
What this unit covers
- Switching techniques overview
- Circuit switching technique
- Message switching technique
- Packet switching technique and working
- Packet definition and structure
- Modulation and demodulation
Packet definition and structure
2081 · 5 marks
Define a packet. Explain the working of the packet switching technique. [5]
Show solved answerHide answer
Packet Switching
Definition of a Packet
A packet is a small, fixed or variable-sized unit of data that is formed by breaking a large message into smaller chunks before transmission over a network. Each packet contains:
- Header - source address, destination address, sequence number, and control information
- Payload (Data) - the actual portion of the message being carried
- Trailer - error-checking information (e.g., CRC)
Packet Switching Technique
Packet switching is a data transmission method in which a message is divided into packets, and each packet is transmitted independently through the network. Packets may travel via different routes and are reassembled at the destination.
Working of Packet Switching
Step-by-Step Process
Step 1: Message Division
- The sender breaks the original message into smaller packets.
- Each packet is numbered (e.g., P1, P2, P3) so they can be reassembled in order.
Step 2: Header Addition
- Each packet is given a header containing the destination address, source address, and sequence number.
Step 3: Routing Through the Network
-
Each packet is sent into the network independently.
-
At each intermediate node (router/switch), the packet is:
- Received and stored temporarily (store-and-forward)
- Examined - the router reads the destination address
- Forwarded - the router selects the best available path using a routing table
-
Different packets of the same message may take different paths to reach the destination.
Step 4: Reassembly at Destination
- All packets arrive at the destination (possibly out of order).
- The destination node uses the sequence numbers to reassemble the packets in the correct order to reconstruct the original message.
Step 5: Error Handling
- If a packet is lost or corrupted, only that specific packet is retransmitted, not the entire message.
Diagram
Sender Network Receiver
| |
|-- P1 --> [Router A] --> [Router C] --> P1 --> |
|-- P2 --> [Router B] --> [Router C] --> P2 --> |
|-- P3 --> [Router A] --> [Router B] --> P3 --> |
Reassemble
P1+P2+P3
Advantages of Packet Switching
| Feature | Benefit |
|---|---|
| Efficient bandwidth use | Multiple packets share the same link |
| Fault tolerance | Packets can reroute around failed nodes |
| Error recovery | Only lost packets are retransmitted |
| No dedicated path needed | No circuit setup delay |
Types of Packet Switching
- Datagram Packet Switching - Each packet is routed independently; no fixed path.
- Virtual Circuit Packet Switching - A logical path is established before transmission; all packets follow the same route (e.g., ATM).
Note: Packet switching is the foundation of modern networks including the Internet, where the TCP/IP protocol suite manages packet creation, routing, and reassembly.
2078 · 5 marks
Define a packet. Explain the working of the packet switching technique. [5]
Show solved answerHide answer
Packet Switching
Definition of a Packet
A packet is a small unit of data that is broken down from a larger message for transmission across a network. Each packet contains:
- Header - source address, destination address, sequence number, and control information
- Payload (Data) - the actual chunk of the original message
- Trailer - error-checking information (e.g., CRC)
Packets from the same message may travel independently through the network and are reassembled at the destination.
Packet Switching Technique
Packet switching is a data transmission method in which a message is divided into smaller units called packets, each of which is transmitted independently through the network and reassembled at the destination.
Working of Packet Switching
Step-by-Step Process
Step 1: Packetization
- The sender breaks the original message into fixed or variable-size packets.
- Each packet is numbered (sequenced) and given a header containing source and destination addresses.
Step 2: Transmission
- Each packet is sent independently into the network.
- Packets may take different routes to reach the same destination.
Step 3: Store-and-Forward
- At each intermediate node (router/switch), the packet is:
- Received and stored temporarily in a buffer
- Examined - the header is read to determine the next hop
- Forwarded - sent toward the destination via the best available route
Step 4: Routing
- Each router uses a routing table to decide the best path for each packet.
- Different packets of the same message may follow different paths.
Step 5: Reassembly
- At the destination, packets are collected and reordered using sequence numbers.
- The original message is reconstructed and delivered to the application.
Diagram
Sender --> [P1][P2][P3] --> Network (different paths) --> [P1][P2][P3] --> Receiver
Router A --> P1
Router B --> P2
Router A --> P3
Advantages of Packet Switching
| Feature | Benefit |
|---|---|
| Efficient bandwidth use | Line is shared among multiple users |
| Fault tolerance | Packets can reroute around failures |
| No dedicated path needed | No call setup required |
| Suitable for bursty data | Resources used only when needed |
Disadvantage
- Variable delay (jitter) - packets may arrive out of order or with different delays.
- Overhead - each packet carries header information.
Summary: Packet switching divides data into packets, routes each independently through the network using store-and-forward at each node, and reassembles them at the destination. It is the foundation of modern networks including the Internet.
Modulation and demodulation
2078 · 5 marks
Write short notes on: a. Modulation and Demodulation Write short notes on: b. Cryptography [2.5+2.5]
Switching techniques overview
2077 · 10 marks
What is switching technique?Name the three kinds of switching techniques. Describe briefly the circuit switching and message switching techniques.[4+6]
Make Unit 7 stick
Practice BIT101 with flashcards & quizzes