Home / Computer Science / Class XII / Data Communication
Data Communication — CUET Computer Science hero
Class XII 💻 Computer Science Ch 11 of 20

Data Communication

CUET unit: Data Communication

📌 Snapshot

  • Data communication made simple: components, bandwidth, duplex modes, switching, media, 5G and protocols.
  • The five components of any data communication system, and how bandwidth differs from data transfer rate.
  • Simplex, half duplex and full duplex, circuit and packet switching, wired and wireless media compared in tables.
  • Bluetooth, Wi-Fi, mobile generations and the protocols HTTP, FTP, PPP, SMTP and TCP/IP with their roles.

📖 Detailed Notes

Written and reviewed by Rohit Singh, Computer Science & Commerce faculty at UniDrill (MCA, Osmania University · 6 years teaching). Based on NCERT Computer Science Class XII, Chapter 11.

How does a message reach a friend you have never wired to?

You tap Send and a photo appears on a phone in another city a second later. Nobody laid a private wire between the two phones. Instead, your photo was chopped up, passed through towers, cables and routers that follow shared rules, and rebuilt at the other end. This chapter explains each part of that journey: who sends, what carries it, how fast, in which direction, by which route and under which rules.

The five components

Data means text, images, audio, video and other multimedia. Communication means sending or receiving data. So data communication is the exchange of data between two or more connected devices that can send and receive over a communication medium. Every such exchange has exactly five components.

Component What it is Examples
Sender Device that sends the data Computer, mobile phone, smartwatch, walkie talkie, video recorder
Receiver Device that receives the data Computer, printer, laptop, mobile phone, television
Message The data to be exchanged Text, number, image, audio, video
Communication medium The path the message travels (also called transmission media, medium or link) Television cable, telephone cable, ethernet cable, satellite link, microwaves
Protocol The set of rules both sides must follow for successful, reliable communication Ethernet, HTTP

In computer networks the sender and the receiver are both called nodes. A router, a switch or a modem is network equipment, but it is not one of the five components.

How big is the pipe? Bandwidth and data transfer rate

The medium is also called a channel, and its capacity is measured in two ways that students often mix up.

Feature Bandwidth Data transfer rate
Meaning The range of frequencies the channel can carry The number of bits sent per second
Other name None Bit rate
Unit Hertz (Hz) Bits per second (bps)
Relation Higher bandwidth means a higher data transfer rate Depends on the bandwidth of the channel

Bandwidth is the difference between the highest and the lowest frequency in a composite signal:

$$\text{Bandwidth} = f_{\max} - f_{\min}$$

The units of bandwidth go up in thousands: $1\ \text{KHz} = 1000\ \text{Hz}$ and $1\ \text{MHz} = 1000\ \text{KHz} = 1000000\ \text{Hz}$. The units of data transfer rate go up in steps of 1024:

Unit Equals
1 Kbps $2^{10}$ bps = 1024 bps
1 Mbps $2^{20}$ bps = 1024 Kbps
1 Gbps $2^{30}$ bps = 1024 Mbps
1 Tbps $2^{40}$ bps = 1024 Gbps

Watch the capital letters: Mbps is megabits per second, and MBps is megabytes per second. One byte is 8 bits.

Worked example: bandwidth of a signal. A composite signal contains frequencies between 500 MHz and 1 GHz. Find its bandwidth.

Step What we do Result
1 Bring both to the same unit: $1\ \text{GHz} = 1000\ \text{MHz}$ $f_{\max} = 1000\ \text{MHz}$
2 Subtract: $1000 - 500$ $500\ \text{MHz}$

The common wrong step is adding the frequencies (1500 MHz), or subtracting 500 from 1 without converting the unit.

Worked example: required data rate. A user uploads 10 pages in 20 seconds. One page has 1600 characters and each character is 8 bits. What data rate does the channel need?

Step What we do Result
1 Bits in one page: $1600 \times 8$ $12800$ bits
2 Bits in 10 pages: $10 \times 12800$ $128000$ bits
3 Divide by the time: $\dfrac{128000}{20}$ $6400\ \text{bps}$
4 In Kbps: $\dfrac{6400}{1024}$ $6.25\ \text{Kbps}$

The common wrong step is forgetting that a character is 8 bits and dividing the characters, 16000 / 20 = 800, by mistake.

Worked example: unit conversion. Convert 18 Gbps to bits per second. Since $1\ \text{Gbps} = 2^{30}\ \text{bps} = 1073741824\ \text{bps}$, we get $18 \times 1073741824 = 19327352832\ \text{bps}$. Using 10⁹ instead of $2^{30}$ would give 18000000000 and be wrong for this chapter.

Beyond the textbook. For the exam: a 100 Mbps connection means 100 megabits per second, and 1 Gbps = 1024 Mbps. In reality: internet providers quote speed in decimal megabits, and a file size is shown in bytes. Divide by 8 to compare: a 100 Mbps plan can deliver at most about 12.5 MBps, and real downloads are slower because of protocol overhead and congestion.

Direction of communication: simplex, half duplex, full duplex

A road gives the best picture. Simplex is a one way street, half duplex is a narrow bridge where traffic can go either way but only one direction at a time, and full duplex is a two way road.

Mode Direction Simultaneous? Examples
Simplex One way only: one device is always the sender and the other always the receiver Not applicable Keyboard to computer, audio to a speaker, controlling home appliances through IoT
Half duplex Both ways, but only one at a time. It is a simplex channel whose direction can be switched No Walkie talkie with a push to talk button
Full duplex Both ways at the same time Yes Mobile phones, landline telephones

Full duplex shares the capacity of the link between the two directions. It is built either with two separate simplex lines (one to send, one to receive) or by dividing the capacity of a single channel.

Pause and predict: An optical fibre carries signals in only one direction. How can a phone call over fibre still be full duplex?

Check your answer: By using two fibres, one for each direction. This is exactly the "two separate simplex lines" method, and it is why two cables are needed for full duplex over optical fibre.

Switching: how data finds its route

Joining every pair of devices with a dedicated link (a mesh) or every device to a central one (a star) becomes very costly in a large network. Switching routes the data through intermediate nodes and forms a temporary route instead.

Feature Circuit switching Packet switching
Path A dedicated path is fixed before the communication starts No fixed path
What travels A continuous stream, all along the same path The message is broken into packets that travel independently
Route of packets All follow the same path Different packets of one message may take different routes
Channel use Occupied for the whole connection Occupied only while a packet is being transmitted, then free for others
Reassembly Not needed Packets are reassembled at the destination
Example Traditional telephone call Data across the Internet

Each packet has two parts: a header with the destination address and other control information, and the main message part.

Beyond the textbook. For the exam: a telephone call is the example of circuit switching, and the Internet is the example of packet switching. In reality: many voice calls today are carried as packets as well. Voice over Long Term Evolution (VoLTE) on 4G networks and Voice over Internet Protocol (VoIP) apps send speech as small packets over the same shared network as data.

Transmission media

A transmission medium is anything that carries signals between the source (transmitter) and the destination (receiver). In guided (wired) media, the signal travels along a physical cable. In unguided (wireless) media, the signal travels through the air as electromagnetic waves using an antenna.

The classification in one line: Communication media → Wired (twisted pair, coaxial cable, optical fibre) or Wireless (radio waves, microwaves, infrared waves).

Wired media.

Feature Twisted pair Coaxial cable Optical fibre
Structure Two insulated copper wires twisted like a DNA helix Copper core, insulator, outer conductor (copper mesh), plastic cover Thin glass strand, covered by less dense glass cladding, outer jacket of PVC or Teflon
Carries Electrical signals Electrical signals Light signals, using refraction
Strengths Cheap, most common in telephone lines and LANs. Twisting reduces interference from neighbouring pairs Better shielded, higher bandwidth, carries higher frequencies over longer distances Light weight, high bandwidth, longer distances, immune to electromagnetic noise
Weaknesses Less shielded and lower bandwidth than coaxial cable Costlier than twisted pair Expensive and unidirectional, so two cables are needed for full duplex
Types and use UTP (unshielded) and STP (with an extra metal shield) Higher frequency signals over longer distances Backbone networks

Wireless media.

The electromagnetic spectrum available for wireless communication runs from 3 KHz to 900 THz and is divided into radio waves, microwaves, infrared waves and visible light waves. The first three are useful for communication.

Property Radio waves Microwaves Infrared waves
Frequency 3 KHz to 1 GHz 1 GHz to 300 GHz 300 GHz to 400 THz
Direction Omnidirectional (all directions) Unidirectional (one direction) Short distance point to point
Walls 3 to 300 KHz can penetrate walls Cannot pass through walls, hills or mountains Cannot penetrate walls
Other facts 300 KHz to 30 MHz can travel long distances. Susceptible to interference Needs line of sight, so dish antennas face each other. Very large information carrying capacity Used for short links
Uses AM and FM radio, television, cordless phones Radar, satellite TV remote, mobile to printer, Bluetooth devices such as a mouse or a keyboard

Signals weaken with distance, so repeaters are installed to regenerate them with the same energy.

Pause and predict: Your TV remote works from the sofa but not from the next room, while an FM radio plays in every room. Which waves explain each?

Check your answer: The remote uses infrared waves, which cannot penetrate walls. The radio uses radio waves, which are omnidirectional and can pass through walls.

Wireless technologies

Bluetooth is a low cost, short range technology that links mobile phones, mouse, headphones, keyboards, printers and computers with no cable. It uses the unlicensed 2.4 GHz band, covers about 10 metres and works at 1 to 2 Mbps. Devices within 10 metres form a personal area network called a piconet, working in a master slave arrangement.

Bluetooth fact Number
Frequency band 2.4 GHz (unlicensed)
Range 10 metres
Speed 1 to 2 Mbps
Active slaves per master Up to 7
Devices that can join the network Up to 255
Devices communicating at the same time 8 (one master and seven active slaves). The rest wait inactive for a command from the master

Wireless LAN (Wi-Fi) is a local area network with the IEEE standard number 802.11. Laptops and phones connect through an access point (AP), a device that creates the wireless network by connecting to a wired router, switch or hub. Its benefits are that it can extend or replace wired infrastructure, it gives mobile devices more access, and it gives easy Internet access in public places. WiMax uses a larger spectrum and covers a larger area than Wi-Fi, so it suits metropolitan networks.

Beyond the textbook. For the exam: Bluetooth uses the unlicensed 2.4 GHz band. In reality: many Wi-Fi routers also work in the 2.4 GHz band, so Bluetooth devices and Wi-Fi can interfere with each other and slow down when both are busy nearby. That is why newer routers also offer a second, higher frequency band.

Mobile telephone generations

Each generation changed what the network could carry.

Generation Around Signal What it brought
1G 1982 Analog Voice calls only
2G 1991 Digital Better call quality, more people talking at once, encryption for security, SMS and MMS
3G Developed in the late 1990s, commercial from about 2001 Digital Voice and data on the same radio towers, more simultaneous calls, much faster data
4G After 3G Digital Much faster than 3G, interactive multimedia, voice, video and wireless Internet
5G After 4G Digital Aims at data transfer in Gbps and supports IoT, connected vehicles and machine to machine (M2M) communication

M2M means devices talking directly to each other with no human in between.

Protocols: the rules of the conversation

A protocol is a set of standard rules that the sender, the receiver and all the devices in between must follow. They are needed because networks differ in speed, format and location.

Need Why Example
Flow control Sender and receiver work at different speeds Computer A sends at 1024 Mbps but B receives at 512 Mbps. Without feedback, half of the data is lost
Access control Many nodes share one link Decides who may send now, so packets do not collide
Addressing Devices must identify each other Every node on the Internet has an IP address
Data format Data may need conversion for transit Common format for different systems
Delivery and ordering No loss, correct order Packets are reassembled in sequence
Protocol Full form What it does
HTTP HyperText Transfer Protocol The primary protocol for the World Wide Web. A request response (client server) protocol that runs over TCP, between a web browser (client) and a web server. Led by Tim Berners-Lee at CERN in 1989
FTP File Transfer Protocol Transfers files from one machine to another, using a client server model. Handles different file naming rules, text formats and directory structures. Login with user ID and password is optional
PPP Point to Point Protocol A dedicated, direct connection between two devices. They authenticate each other and then exchange data. Used between two routers and between a home computer and the ISP through a modem. Needs duplex mode and keeps packets in order
SMTP Simple Mail Transfer Protocol Email service. Uses the message header (like an envelope) and does not care about the content. The sender program takes mail from the outgoing queue, the receiver program places it in the right mailbox
TCP/IP Transmission Control Protocol / Internet Protocol A client server set of rules. IP gives each node a unique IP address. TCP breaks data into packets, guarantees their delivery and orders them at the destination

Worked example: who does what in TCP/IP? A file is sent across the Internet and reaches the receiver in the right order although the packets arrived by different routes. Which protocol gave the destination address, and which fixed the order?

Step What happens Responsible
1 The data is broken into smaller chunks (packets) TCP
2 Each packet is routed from one router to the next to the address IP (the address)
3 Packets take different paths because of congestion Packet switching
4 The packets are put back in the original order TCP

The common wrong step is to say IP orders the packets. IP identifies and addresses nodes, TCP delivers and sequences the packets.

Exam traps

Trap Why it is tempting Truth
Half duplex is two way, so it is simultaneous Both ways sound like both at once Half duplex is two way but one at a time. Only full duplex is simultaneous
Bandwidth is measured in bps Higher bandwidth means higher speed Bandwidth is in Hz. Data transfer rate is in bps
MBps and Mbps are the same Same letters MBps is megabytes per second, Mbps is megabits. One is 8 times the other
In packet switching the channel is reserved Circuit switching reserves it Packet switching occupies the channel only while a packet is sent
Optical fibre is bidirectional It is the fastest medium It is unidirectional, so full duplex needs two cables
A master controls 8 active Bluetooth slaves 8 devices talk at the same time A master has up to 7 active slaves. Eight is the count including the master
Microwaves pass through walls Radio waves do Microwaves need line of sight and cannot pass through walls or hills
Router is a component of data communication Routers are in every network The five components are sender, receiver, message, medium and protocol

60-second revision

Topic Key facts
Components Sender, receiver, message, medium, protocol
Bandwidth $f_{\max} - f_{\min}$, in Hz
Data rate Bits per second, 1 Kbps = 1024 bps
Modes Simplex (one way), half duplex (both, not together), full duplex (both, together)
Switching Circuit: dedicated path. Packet: header plus message, independent routes
Wired Twisted pair (UTP, STP), coaxial, optical fibre (light, unidirectional)
Wireless Radio 3 KHz to 1 GHz, microwave 1 to 300 GHz, infrared 300 GHz to 400 THz
Bluetooth 2.4 GHz, 10 m, 1 to 2 Mbps, piconet, 7 active slaves, 255 devices
Wi-Fi IEEE 802.11, access point
Generations 1G analog voice, 2G digital with SMS and encryption, 3G data, 4G multimedia, 5G IoT and M2M
Protocols HTTP web, FTP files, PPP direct link, SMTP email, TCP/IP delivery and addressing

Where this chapter connects

Chapter Link
Networks built from these media: LAN, MAN, WAN, topologies and devices Computer Networks
The web, URLs, browsers and email that run on HTTP and SMTP Internet and Web
What can go wrong on these links Security Aspects

🎯 Practice MCQs

First 3 questions free · create a free account to unlock the rest — answers & explanations included, no payment needed

Q1. Which of the following is NOT one of the five components of data communication?

▸ Show answer & explanation

Answer: C

The five components are sender, receiver, message, communication medium and protocol. A router is network equipment and not one of the five. Sender, protocol and transmission media are all listed components.

Q2. A composite signal contains frequencies between 500 MHz and 1 GHz. What is its bandwidth?

▸ Show answer & explanation

Answer: B

Bandwidth is the highest frequency minus the lowest, and 1 GHz is 1000 MHz, so 1000 minus 500 gives 500 MHz. Option D adds the two frequencies, option A ignores the lower frequency and option C gets the unit wrong.

Q3. Consider the statements. (i) In simplex communication the whole capacity of the link is used in one direction. (ii) In half duplex communication both devices can transmit at the same time. (iii) A walkie talkie is an example of half duplex communication. (iv) Mobile phone calls use full duplex communication. Which statements are correct?

▸ Show answer & explanation

Answer: A

Statement (ii) is wrong because in half duplex the devices send and receive in both directions but not at the same time. Statements (i), (iii) and (iv) are correct, so only option A contains exactly these.

🔒 12 more practice MCQs

Create a free account to unlock every MCQ in this chapter — answers and explanations included. No payment needed.

Already registered? Just log in and they'll all appear here.

📊 Previous-Year Questions

Practise with real CUET Computer Science previous-year papers — every question solved, with the correct answer and a step-by-step explanation.

View solved CUET PYQ papers →

Ready to drill Computer Science?

Unlock all MCQs, chapter tests, mocks & PYQs for ₹199/year.

Get UniDrill Pro