7 Data Transmission And Switching

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.

Data Transmission and Switching: notes

Switching techniques overview

In a large network, devices are not all joined directly. Switching is the method of moving data from the source to the destination through intermediate nodes.

The three main techniques are circuit switching, message switching, and packet switching. They differ in how the path is set up and how data is sent.

Circuit switching technique

In circuit switching, a dedicated path is set up between sender and receiver before data is sent. The path stays reserved for the whole conversation. The traditional telephone network works this way.

It has three phases:

  • Connection setup: the path is built through the nodes.
  • Data transfer: all data uses the same path in order.
  • Connection release: the path is freed.

Advantages:

  • Fixed bandwidth and steady speed.
  • No delay at nodes after setup.
  • Data arrives in order.

Disadvantages:

  • Setup takes time.
  • The line is wasted when no one is talking.
  • Costly and not efficient for bursty data.

Message switching technique

In message switching, the whole message is sent as one unit from node to node. Each node stores the full message, then forwards it when the next link is free. This is called store and forward. No dedicated path is needed.

Advantages:

  • No setup of a path.
  • Better line use, since many messages share links.
  • Messages can wait if the line is busy.

Disadvantages:

  • Each node needs large storage for big messages.
  • Delay is long, so it is not good for live talks.
  • A long message can block a link for a long time.

Early telegram and email style systems used this idea.

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 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:

    1. Received and stored temporarily (store-and-forward)
    2. Examined - the router reads the destination address
    3. 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

FeatureBenefit
Efficient bandwidth useMultiple packets share the same link
Fault tolerancePackets can reroute around failed nodes
Error recoveryOnly lost packets are retransmitted
No dedicated path neededNo circuit setup delay

Types of Packet Switching

  1. Datagram Packet Switching - Each packet is routed independently; no fixed path.
  2. 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.

Open this answer on its own page →

2078 · 5 marks

Define a packet. Explain the working of the packet switching technique. [5]

Show solved 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:
    1. Received and stored temporarily in a buffer
    2. Examined - the header is read to determine the next hop
    3. 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

FeatureBenefit
Efficient bandwidth useLine is shared among multiple users
Fault tolerancePackets can reroute around failures
No dedicated path neededNo call setup required
Suitable for bursty dataResources 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.

Open this answer on its own page →

Modulation and demodulation

2078 · 5 marks

Write short notes on: a. Modulation and Demodulation Write short notes on: b. Cryptography [2.5+2.5]

Modulation is the process of converting digital or analog data signals into a suitable form for transmission over a communication medium by varying one or more properties of a carrier wave. - Digital signals cannot travel long distances efficiently - To allow multiple signals to share a medium (m...

Open this answer on its own page →

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]

A switching technique is a method used in telecommunication and computer networks to establish a communication path (route) between two or more devices so that data can be transferred from a source to a destination. When multiple devices are connected in a network, switching determines how data i...

Open this answer on its own page →