All 13 questions UPSC has asked on data networks in the Electrical Engineering Optional (Paper II, Digital Communication) from 1995 to 2024, solved step by step – latest first.
Try them yourself first: the same questions, without solutions, are on our Digital Communication topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.
How we check these solutions
These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:
- ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
- ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
- ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.
Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.
Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.
Jump to a question (year · question number):
2024 · 5e 2021 · 7c 2016 · 1e 2016 · 6c(ii) 2015 · 5d 2013 · 5c(ii) 2012 · 7b(i) 2011 · 5c(i) 2011 · 6c(i) 2010 · 7c 2007 · 6b 2003 · 6b 1995 · 12b
How does information get passed from one layer to the next in the Internet model? How do the layers of the Internet model correlate to the layers of the OSI model?
Solution
How information passes between layers in the Internet model
The Internet (TCP/IP) model has five layers: application, transport, network (internet), data link and physical. (The data link and physical layers are often grouped as network access.)
- Downward at the sender: each layer takes the data unit handed down by the layer above (its SDU) and adds its own header (and, at the data link layer, a trailer) carrying control information for its peer layer at the receiver. This is encapsulation:
- application message;
- transport segment (TCP/UDP header: ports, sequence numbers, checksum);
- network datagram/packet (IP header: source and destination addresses, TTL);
- data link frame (MAC addresses, FCS);
- physical layer: bits on the medium.
- Each layer communicates logically with its peer (same layer) at the other end through its header (the peer-to-peer protocol). Physically, it passes the data to the layer directly below through an interface, i.e. a service access point (port numbers, protocol fields, EtherType).
- Upward at the receiver: each layer reads and removes its header (decapsulation). It checks errors and addresses, and passes the payload up to the correct upper-layer protocol, identified by the protocol or port field.
- At intermediate routers, frames are processed up to the network layer only, and re-encapsulated for the next link.
Correlation with the OSI layers
| Internet model | OSI layers |
|---|---|
| Application | Application (7), Presentation (6), Session (5) |
| Transport | Transport (4) |
| Network (internet) | Network (3) |
| Data link | Data link (2) |
| Physical | Physical (1) |
The Internet model has no separate presentation and session layers. Their functions (encoding, encryption, dialogue control) are handled inside the applications, e.g. TLS and HTTP.
✓ Answer checked step by step Standard explanation.
Consider a connected graph with N nodes and A arcs, and a weight for each arc . (i) Define minimum weight spanning tree (MST). (ii) If all arc weights of G are distinct, prove that there exists a unique MST.
Solution
(i) Minimum weight spanning tree
A spanning tree of a connected graph is a subgraph that includes all N nodes, is connected, and has no cycles. It therefore has exactly arcs. Its weight is the sum of the weights of its arcs.
A minimum weight spanning tree (MST) is a spanning tree whose total weight is the smallest among all spanning trees of G. MSTs are used in network design and in broadcast routing (spanning-tree protocols). They are found by Prim’s or Kruskal’s algorithm.
(ii) Distinct weights imply a unique MST
Proof by contradiction. Suppose all arc weights are distinct, but there are two different MSTs, , of equal minimum weight.
- Since , there are arcs in one but not the other. Among all arcs in (in exactly one of the trees), let be the one of least weight (unique, since the weights are distinct). Without loss of generality, and .
- Adding to creates exactly one cycle , since is a spanning tree.
- has no cycles, so cannot lie entirely within . Hence contains some arc with . Then and .
- By the choice of as the lightest arc of the symmetric difference, and since the weights are distinct, .
- Remove from : . Removing an arc of the cycle keeps the graph connected and acyclic, with arcs. So is a spanning tree, with weight
- This contradicts the minimality of .
Hence there cannot be two different MSTs: the MST is unique when all arc weights are distinct. ∎
(Equivalently, by the cut property: for every cut, the unique lightest arc crossing it must belong to every MST. With distinct weights these arcs are determined uniquely, and they form the MST.)
✓ Proof checked step by step We proved uniqueness by the cut (exchange) argument step by step.
(i) The open loop transfer function of a unity negative feedback control system is given by For what value of K, will the system work as an oscillator in its closed loop form? (ii) Identify the relevant layers of the ISO/OSI model to which the following protocols belong: SQL, HTTPS, ISDN, PPP, NFS, IP, RPC, TELNET, HDLC, X Windows.
Solution
(i) K for oscillation
The characteristic equation is :
Routh array
| Row | Column 1 | Column 2 | Column 3 |
|---|---|---|---|
| 1 | 69 | 200 + K | |
| 12 | 198 | ||
| 200 + K | |||
| 200 + K |
The system oscillates (marginal stability) when the row is zero:
Frequency of oscillation (from the auxiliary equation)
Answer: ; the system oscillates at about 4.06 rad/s (0.65 Hz).
(ii) OSI layers of the protocols
| Protocol | OSI layer |
|---|---|
| SQL (database query language) | Application (7) |
| HTTPS (HTTP over TLS) | Application (7); TLS spans the presentation and session functions |
| ISDN | Physical (1) and data link (2) (with network-layer signalling, Q.931, at 3) |
| PPP | Data link (2) |
| NFS | Application (7) (uses RPC and XDR) |
| IP | Network (3) |
| RPC | Session (5) |
| TELNET | Application (7) |
| HDLC | Data link (2) |
| X Windows | Application (7) / presentation (6) (display protocol) |
✓ Checked by computer We solved the Routh array for the marginal gain in Python.
Discuss and differentiate between ISO/OSI and TCP/IP. Explain how the functions of each of the seven layers of ISO/OSI are carried out by TCP/IP.
Solution
ISO/OSI and TCP/IP
| ISO/OSI | TCP/IP |
|---|---|
| A reference model: 7 layers, defined first, before the protocols | A protocol suite developed first (ARPANET); the model describes it, in 4 layers (or 5) |
| Clear distinction between services, interfaces and protocols | The distinction is less clear |
| Separate session and presentation layers | No such layers; their functions are in the applications |
| Network layer: connection-oriented and connectionless | Internet layer: connectionless only (IP) |
| Transport layer: connection-oriented in the classic version | Transport: both TCP (connection-oriented) and UDP (connectionless) |
| General; protocols seldom implemented | The protocols of the Internet; widely implemented |
How TCP/IP carries out the functions of the seven OSI layers
| OSI layer and function | Done in TCP/IP by |
|---|---|
| 7 Application: user services | Application protocols: HTTP, FTP, SMTP, DNS, Telnet, SSH, SNMP |
| 6 Presentation: data formats, encryption, compression | Inside the applications: MIME, TLS/SSL encryption, character encodings, XDR |
| 5 Session: dialogue control, synchronisation | TCP connections and application-level sessions (RPC, TLS sessions, sockets) |
| 4 Transport: end-to-end delivery, segmentation, flow and error control | TCP (reliable, ordered, flow and congestion control) and UDP (best-effort); port numbers |
| 3 Network: logical addressing, routing | IP (IPv4/IPv6) addressing and forwarding; routing protocols (RIP, OSPF, BGP); ICMP |
| 2 Data link: framing, MAC addressing, error detection | Network-access layer: Ethernet, Wi-Fi, PPP, HDLC; ARP maps IP to MAC addresses |
| 1 Physical: bits on the medium | Network-access layer: the underlying hardware standards (copper, fibre, radio) |
✓ Answer checked step by step Standard comparison.
Explain the role of Protocol Data Unit (PDU) in communication within seven layers of OSI-ISO model.
Solution
Protocol data unit (PDU)
A PDU is the unit of data exchanged between peer entities of the same layer, on two communicating systems. It consists of:
- the protocol control information (PCI), i.e. the header (and possibly a trailer) of that layer, with addresses, sequence numbers, control flags and error checks;
- the user data handed down from the layer above (that layer’s SDU).
Role in communication through the seven layers
- Encapsulation at the sender: layer N receives an SDU from layer N+1, adds its header (PCI) to form the N-PDU, and passes it to layer N−1, where it becomes the (N−1)-SDU. Each layer adds its own control information without interpreting the upper layers’ data.
- Peer-to-peer protocol: the header of an N-PDU is read only by the peer layer N at the receiver. This is how virtual (logical) communication takes place between corresponding layers. For example:
- the transport header carries sequence numbers and acknowledgements;
- the network header carries addresses for routing;
- the data link trailer carries the FCS for error detection.
- Decapsulation at the receiver: each layer processes and strips its PCI, then passes the remaining SDU upwards.
- Names: a PDU has a name at each layer:
- application data / message (layers 7–5);
- segment (transport);
- packet (network);
- frame (data link);
- bits (physical).
- PDUs allow each layer to be independent and modular: protocols at one layer can change without affecting the others. They are also the basis of segmentation, reassembly and multiplexing.
✓ Answer checked step by step Standard explanation.
With reference to the 7 layer architecture of data networks, distinguish between Protocol Data Unit (PDU) and Service Data Unit (SDU).
Solution
PDU and SDU
| Protocol data unit (PDU) | Service data unit (SDU) |
|---|---|
| The unit exchanged between peer entities of the same layer (horizontal, logical communication) | The unit passed between adjacent layers at a service access point (vertical): what layer N+1 asks layer N to carry |
| Consists of the layer’s protocol control information (header/trailer) plus user data | The user data only, as seen by the layer providing the service; its content is not interpreted by that layer |
| Layer N’s PDU = N-header + N-SDU (+ trailer) | Layer N’s SDU = layer (N+1)’s PDU |
| Example: a TCP segment (TCP header + data) is the transport PDU | Example: the TCP segment handed to IP is the network-layer SDU |
A layer may also segment a large SDU into several PDUs, or block several SDUs into one PDU.
✓ Answer checked step by step Standard distinction.
This question has the following parts.
(i) Draw the neat sketch of OSI model. What is the significance of data link layer? Explain the flow-control and error-control mechanism.
(ii) Compute the CRC-4 character for the following message, using a modified divisor constant of 10011: 1100 0110 1011 01
Solution
(i) OSI model
| Layer | Name | Function |
|---|---|---|
| 7 | Application | User services: e-mail, file transfer, web |
| 6 | Presentation | Data representation, encryption, compression |
| 5 | Session | Dialogue control, synchronisation |
| 4 | Transport | End-to-end reliable delivery, segmentation, flow control (TCP) |
| 3 | Network | Routing and logical addressing (IP) |
| 2 | Data link | Framing, physical addressing, error and flow control on a link |
| 1 | Physical | Bits over the medium: voltages, timing, connectors |
Significance of the data link layer: it turns the raw, error-prone physical link into a reliable link between adjacent nodes. It:
- frames the bit stream, adding start and end delimiters and addresses;
- detects (and through retransmission corrects) errors, using a CRC/FCS in each frame;
- controls the flow so that a fast sender does not swamp a slow receiver;
- controls access to shared media (MAC sublayer).
Protocols: HDLC, PPP, Ethernet.
Flow control:
- Stop-and-wait: send one frame, then wait for its acknowledgement.
- Sliding window: up to W frames may be outstanding; the receiver advances the window with acknowledgements.
Error control (ARQ):
- Each frame carries a CRC. The receiver checks it and sends an ACK (correct) or NAK, or discards the frame.
- A timeout triggers retransmission.
- Stop-and-wait ARQ, go-back-N ARQ (resend from the errored frame) and selective-repeat ARQ (resend only the bad frame).
(ii) CRC-4 for 1100 0110 1011 01 with divisor 10011
Append 4 zeros and divide modulo 2 by 10011:
| Step | Segment | ⊕ 10011 → |
|---|---|---|
| 1 | 11000 | 01011 |
| 2 | 10111 | 00100 |
| 3 | 10010 | 00001 |
| 4 | 11011 | 01000 |
| 5 | 10000 | 00011 |
| 6 | 11100 | 01111 |
| 7 | 11110 | 01101 |
| 8 | 11010 | 01001 |
CRC-4 = 1001
Transmitted: 11000110101101 1001
✓ Answer checked step by step Same question as 6.3 (2012 Q7b); we computed the CRC-4 in Python.
This question has the following parts.
(i) How is ‘regeneration’ in digital communication different from ‘amplification’ in analog communication? In what way regeneration is better?
(ii) Draw the block diagram of a PCM receiver and show how a transmitted sinusoidal signal is reconstructed in the receiver.
(iii) Distinguish between virtual circuit and datagram in data networks.
(iv) What is the rationale behind error control coding? Distinguish between linear codes and non-linear codes.
Solution
(i) Regeneration and amplification
An analog repeater (amplifier) amplifies the received signal together with the noise and distortion picked up on each section. These accumulate along the link, so the SNR falls with every repeater.
A digital regenerator:
- equalises and amplifies the pulses;
- re-times them using a recovered clock;
- decides whether each pulse is a 1 or a 0 (comparator);
- sends out a fresh, clean pulse.
Noise and distortion are removed completely, provided they are not large enough to cause a wrong decision.
Why regeneration is better: noise does not accumulate; only bit errors accumulate, and these grow only linearly with the number of repeaters, at very low rates. Long-haul digital links can therefore have the same quality as short ones.
(ii) PCM receiver
- The regenerator recovers the bit stream.
- The decoder (serial-to-parallel conversion, then D/A) converts each -bit word into the corresponding quantized amplitude, as a train of PAM pulses (sample-and-hold, giving a staircase).
- The reconstruction low-pass filter (cut-off ) smooths the staircase into the analog waveform. A sinusoid is recovered as a smooth sine wave, with a small quantization error.
(iii) Virtual circuit and datagram
| Virtual circuit | Datagram |
|---|---|
| A logical connection (route) is set up before the data transfer, and released afterwards | No set-up; each packet is routed independently |
| All packets follow the same path, and arrive in order | Packets may take different paths and arrive out of order |
| Each packet carries a short circuit identifier | Each packet carries the full destination address |
| Resources can be reserved, giving predictable delay | Best-effort; more robust to node failures |
| Examples: X.25, ATM, Frame Relay | IP (Internet), UDP |
(iv) Error-control coding
Rationale: noise and interference cause bit errors. Adding controlled redundancy (parity bits) lets the receiver detect and/or correct errors (FEC), or request retransmission (ARQ). This achieves a low error rate at a lower SNR (coding gain), at the cost of bandwidth or rate.
Linear and non-linear codes:
- In a linear code, the sum (modulo-2) of any two codewords is also a codeword; the all-zeros word is a codeword. Codewords are generated by a generator matrix () and checked with a parity-check matrix (syndrome ). The minimum distance equals the minimum weight of the non-zero codewords. Encoding and decoding are simple. Examples: Hamming, cyclic, BCH and convolutional codes.
- A non-linear code does not have this property. Its codewords cannot be generated by a matrix, and encoding and decoding need look-up tables. These codes are occasionally used for specific distance properties.
✓ Answer checked step by step Same question as 6.1 (2011 Q5c); standard explanation.
This question has the following parts.
(i) The information in an analog signal voltage waveform is to be transmitted over a PCM system with an accuracy of ±0.1% (full scale). The analog voltage waveform has a bandwidth of 100 Hz and an amplitude range of −10 V to +10 V. (1) Determine the maximum sampling rate required. (2) Determine the number of bits in each PCM word. (3) Determine the minimum bit rate required in the PCM signal. (4) Determine the minimum absolute channel bandwidth required for the transmission.
(ii) Why do we need a MODEM to access Internet over telephone line? How does it work? What is the role of a ROUTER in a data network?
Solution
(i) PCM design
(1) Sampling rate: bandwidth 100 Hz, so the minimum (Nyquist) sampling rate is
(2) Bits per word: the accuracy is ±0.1% of full scale. With full scale 20 V, the maximum error is V, so V and
Equivalently,
So = 9 bits (512 levels).
(3) Bit rate:
(4) Minimum absolute channel bandwidth:
(ii) Modem and router
Why a modem: the telephone line is a band-pass analog channel, 300–3400 Hz, designed for speech. It cannot pass the dc and low-frequency components of a baseband digital signal, and it is band-limited. A modem (modulator–demodulator) converts the computer’s digital data into an analog signal that fits the voice band, and back again at the far end.
How it works:
- The data bits modulate a carrier in the voice band using FSK, PSK or QAM; QAM is combined with trellis coding in V.32/V.34 modems (up to 33.6 kb/s), and PCM is used downstream in V.90 (56 kb/s).
- Echo cancellation gives full-duplex operation over two wires. Adaptive equalisation corrects the line distortion. Handshaking negotiates the speed.
- At the receiver, the modem demodulates and recovers the bits.
Role of a router: a router is a network-layer (layer 3) device that connects different networks (LANs, WANs, the Internet). For each incoming packet, it reads the destination (IP) address, looks up its routing table (built by routing protocols such as RIP, OSPF and BGP), and forwards the packet on the best path towards the destination. It also:
- isolates broadcast domains;
- performs network address translation (NAT);
- applies firewall and access-control filtering;
- manages traffic (QoS).
✓ Checked by computer Same question as 6.1 (2011 Q6c); we computed the rates and bandwidth.
The network layer of OSI (Open Systems Interconnection) has two major functions, namely (i) routing of packets through the network and (ii) a flow control. Explain each of these two functions taking suitable examples. Prove that the network layer is the most sophisticated of the layered architecture.
Solution
(i) Routing
Routing is the process of determining the path a packet follows from source to destination through the network, and forwarding it at each node.
- Each router maintains a routing table mapping destination addresses (prefixes) to the next hop and outgoing link. For each incoming packet it reads the destination address and forwards the packet accordingly.
- Static routing: tables are set by the administrator.
- Dynamic (adaptive) routing: tables are computed by routing algorithms, which adapt to topology and load changes:
- distance-vector (Bellman–Ford, e.g. RIP): each node exchanges its distance estimates with its neighbours;
- link-state (Dijkstra’s shortest path, e.g. OSPF): each node learns the whole topology, through flooded link-state advertisements, and computes the shortest paths;
- path-vector (BGP) between autonomous systems.
- Example: a packet from Delhi to Chennai can go via Mumbai or via Kolkata. OSPF computes the least-cost path with link costs based on bandwidth and delay. If the Mumbai link fails, the routers recompute and divert the traffic via Kolkata.
- In virtual-circuit networks, the route is chosen once at call set-up; in datagram networks, for each packet.
(ii) Flow (congestion) control at the network layer
This prevents the network, or parts of it, from being overloaded. Too many packets cause queues to grow, buffers to overflow, packets to be lost and retransmitted, and the throughput to collapse (congestion).
Mechanisms:
- Admission control (virtual-circuit networks: refuse new circuits when busy).
- Choke packets / source quench (ICMP): the congested router tells the sources to slow down. Explicit congestion notification (ECN bits) does this more efficiently.
- Buffer management: random early detection (RED), dropping packets early to signal TCP.
- Traffic shaping: leaky bucket and token bucket at the network entry; isarithmic control (a fixed number of permits).
- Load-sensitive routing, diverting traffic from congested links.
Example: a burst of video traffic floods a router’s output queue. RED starts dropping packets at random before the queue is full. The TCP senders detect the losses and reduce their windows, so the congestion clears without total collapse.
(Hop-by-hop flow control is the data link layer’s job; end-to-end flow control is the transport layer’s. Network-layer flow control is about the global load.)
Why the network layer is the most sophisticated
- It is the lowest layer that deals with end-to-end transmission across many links and heterogeneous networks. The layers below see only a single link; the layers above see only the two end systems.
- It must know the topology of the whole network and choose routes dynamically, responding to failures and load changes. This needs distributed algorithms, the exchange of routing information, and consistency (loop avoidance) across many independent nodes.
- It must handle congestion, which is a global phenomenon caused by many sources, with fairness and stability.
- It must handle addressing on a global scale (hierarchical addresses, subnetting, NAT), internetworking between different networks (fragmentation, different MTUs, tunnelling) and quality of service (priorities, reservations).
- Its performance (throughput, delay, reliability) governs that of the whole network.
The physical and data link layers solve local, single-link problems, and the transport and higher layers run only in the end systems. The network layer runs in every router and must cooperate with all of them, which makes it the most complex.
✓ Answer checked step by step Standard explanation.
What are the design considerations for layering in data networks? Discuss a seven-layer network architecture with a diagram.
Solution
Design considerations for layering
- Modularity and abstraction: divide the complex communication task into smaller, well-defined functions. Each layer provides services to the layer above and uses those of the layer below, through defined interfaces.
- Independence: the implementation of a layer can change (e.g. a new physical medium) without affecting the others, as long as the interface and services stay the same.
- Each layer performs a well-defined function, at a distinct level of abstraction. Layer boundaries are chosen to minimise the information flow across interfaces.
- Number of layers: large enough that distinct functions are not lumped together, small enough to keep the architecture manageable.
- Peer protocols: each layer communicates logically with its peer using its own header (PDU).
- Standardisation: functions are grouped to follow international standards, enabling interoperability between vendors (open systems).
- Addressing, error control, flow control, multiplexing, segmentation and reassembly, and connection management must each be placed at an appropriate layer, avoiding duplication where possible (end-to-end arguments).
Seven-layer (OSI) architecture
- Physical:
- transmission of raw bits over the medium;
- electrical, mechanical and procedural characteristics (voltages, timing, connectors, RS-232, modulation).
- Data link:
- framing;
- error detection and correction (CRC, ARQ);
- flow control on a link;
- medium access control (HDLC, Ethernet MAC).
- Network:
- routing and forwarding of packets across multiple links;
- logical addressing;
- congestion control;
- internetworking (IP, X.25).
- Transport:
- reliable end-to-end delivery;
- segmentation and reassembly;
- end-to-end flow and error control;
- multiplexing of connections (TCP, UDP).
- Session:
- establishment, management and termination of sessions;
- dialogue control (half/full duplex);
- synchronisation points (checkpoints).
- Presentation:
- data representation (syntax), code conversion;
- encryption and compression.
- Application: user services: file transfer, e-mail, remote login, directory services, web.
Data pass down the layers at the sender, each adding a header. They cross the physical medium, and pass up the layers at the receiver, each removing its header. Intermediate nodes (routers) implement only layers 1–3.
✓ Answer checked step by step Standard explanation.
Describe a communication circuit using modem and explain how modems are classified,.
Solution
Communication circuit using modems
- The DTE (computer or terminal) sends serial digital data over a standard interface (RS-232/V.24) to the modem (the DCE).
- The modem modulates the data onto a voice-band carrier: FSK, PSK, or QAM with trellis coding. This produces an analog signal within 300–3400 Hz, which travels over the telephone line (dial-up or leased) through the exchange.
- The remote modem demodulates the signal back into digital data for the remote DTE. For full duplex, the two directions use different frequency bands, or echo cancellation.
- Control signals (RTS, CTS, DTR, DSR, DCD) on the interface coordinate the transfer (handshaking).
Classification of modems
- By speed:
- low speed (up to 600 b/s);
- medium speed (1200–9600 b/s);
- high speed (14.4–56 kb/s and above: V.32, V.34, V.90).
- By modulation: FSK (V.21, Bell 103), PSK/DPSK (V.22), QAM / trellis-coded (V.22bis, V.32, V.34), PCM (V.90).
- By mode of operation: simplex, half-duplex, full-duplex.
- By synchronisation:
- asynchronous (character by character, with start and stop bits; low speed);
- synchronous (block transmission with a clock; higher speed).
- By line type: dial-up (switched) modems or leased-line modems; 2-wire or 4-wire; short-haul (line driver, baseband) modems.
- By construction: external (stand-alone), internal (card), PC-card; “intelligent” modems with an AT command set, error correction (V.42) and compression (V.42bis).
- By application: telephone-line, cable, DSL (ADSL), radio, fax modems.
✓ Answer checked step by step Standard description.
What is a Modem? Draw and explain a Communication system using Modems. What is RS-232 interface? Explain its use for data transmission.
Solution
What is a modem?
A modem (MOdulator–DEModulator) converts digital data from a computer or terminal into an analog signal suitable for transmission over an analog channel (the telephone line). It modulates a carrier with FSK, PSK or QAM. At the receiving end it converts the analog signal back into digital data (demodulation).
A modem is needed because the telephone network is band-limited (300–3400 Hz) and designed for voice. It cannot pass the dc and wideband components of baseband digital pulses.
Communication system using modems
DTE → (RS-232) → modem → telephone line / PSTN → modem → (RS-232) → DTE.
- The transmitting modem includes:
- scrambler, encoder, modulator, transmit filter;
- line interface (hybrid);
- for high speed, an adaptive equaliser and echo canceller.
- The receiving modem performs:
- filtering and equalisation;
- carrier and clock recovery;
- demodulation, decoding, descrambling.
- Handshake signals on the interface control the link.
RS-232 interface
RS-232 (EIA-232, equivalent to ITU-T V.24/V.28) is the standard serial interface between DTE and DCE. It defines:
- Electrical characteristics:
- bipolar voltage levels: logic 1 (MARK) = −3 to −15 V, logic 0 (SPACE) = +3 to +15 V;
- maximum about 20 kb/s over about 15 m (50 ft);
- unbalanced, single-ended lines with a common ground.
- Mechanical: DB-25 (or DB-9) connectors.
- Functional and procedural: the signal on each pin and the handshake sequence.
Use for data transmission:
- The DTE asserts DTR (data terminal ready). The modem replies with DSR (data set ready) when it is powered and connected.
- When the modem detects the remote carrier, it asserts DCD (data carrier detect).
- To send, the DTE raises RTS (request to send). The modem answers CTS (clear to send) when it is ready to transmit.
- Data are sent serially on TxD (pin 2) and received on RxD (pin 3), usually asynchronously (start bit, 7 or 8 data bits, parity, stop bit). In synchronous modes, clock signals on pins 15, 17 and 24 are used.
- Signal ground (pin 7) is the common reference.
Two DTEs can be connected directly with a “null modem” cable, which crosses TxD/RxD and the handshake lines.
✓ Answer checked step by step Standard description.
More on Digital Communication
- All Electrical Engineering PYQ solutions, topic by topic
- Digital Communication topic-wise PYQs (questions only, for practice)
- Electrical Engineering PYQ analysis: which units carry the marks year by year
- Year-wise question papers
- Electrical Engineering booklist
Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper II, 1995–2024. Solutions: Optional Province. Found an error? Tell us.

