Data Communication MCQs for NSCT
Data communication is the exchange of data between two devices over a transmission medium. It covers signals, bandwidth and channel capacity, the media that carry the signals, and how one link is shared through multiplexing and switching. It is the first topic in the Computer Networks and Cloud Computing area, which carries 10% of the NSCT according to HEC's Areas of Competencies. In 2026 candidates averaged 39.6% accuracy in Networks, per the HEC NSCT report and APP, so the numericals on this page deserve real practice.
Signals
A signal is the electromagnetic form data takes on the medium. An analogue signal varies continuously; a digital signal has a limited number of levels. A periodic sine wave is described by peak amplitude, frequency (f, cycles per second) and phase (its position in time, in degrees). Period is the reciprocal of frequency: T = 1/f, so a 4 kHz wave has a period of 0.25 ms.
Two rates are easy to confuse. Bit rate counts bits per second. Baud rate (signal rate) counts signal elements per second. With L levels each element carries log2(L) bits, so 16-QAM at 2,400 baud gives 9,600 bps.
Exam angle: if a question says "levels", the answer will need log2(L), not L.
Bandwidth and channel capacity
Bandwidth has two meanings. In hertz it is the range of frequencies a signal or channel holds (highest minus lowest). In bits per second it is the data rate a link can carry. Throughput is what actually gets through, and is often well below bandwidth.
Two formulas set the ceiling:
| Formula | Channel | Equation |
|---|---|---|
| Nyquist | Noiseless | BitRate = 2 x B x log2(L) |
| Shannon | Noisy | C = B x log2(1 + SNR) |
SNR is usually given in decibels: SNR = 10^(SNR_dB/10), so 30 dB means a ratio of 1,000. Shannon gives the upper limit; Nyquist then tells you how many levels you need for a chosen rate below it.
Delays belong here too. Transmission delay = packet size / bandwidth. Propagation delay = distance / propagation speed. A 1,500-byte packet on a 100 Mbps link takes 0.12 ms to transmit, but 1,500 km of fibre at 2 x 10^8 m/s adds 7.5 ms of propagation.
Exam angle: convert bytes to bits and dB to a ratio before you calculate. Most wrong answers skip one of these steps.
Transmission media
Guided media carry signals along a physical path; unguided media send them through air or space.
| Medium | Carries | Strengths | Weaknesses |
|---|---|---|---|
| Twisted pair (UTP/STP) | Electric current | Cheap, easy to install | About 100 m per Ethernet segment, picks up noise |
| Coaxial cable | Electric current | Better shielding than UTP | Bulky, higher attenuation than fibre |
| Optical fibre | Light | Huge bandwidth, long reach, immune to electromagnetic interference | Costly, harder to splice |
| Radio, microwave, infrared | Electromagnetic waves | No cabling | Interference; microwave needs line of sight, infrared cannot pass walls |
Signals suffer three impairments: attenuation (loss of energy), distortion (components arrive at different times) and noise (unwanted energy). Losses and gains in decibels simply add along a path.
Exam angle: a scenario with long distance, high speed or electrical machinery almost always points to fibre.
Multiplexing and switching
Multiplexing lets several signals share one link.
- FDM gives each signal its own frequency band, separated by guard bands.
- WDM is FDM for light: each signal uses its own wavelength on one fibre.
- Synchronous TDM gives each input a fixed time slot in every frame, even when idle.
- Statistical TDM gives slots only to inputs with data, so each slot needs an address.
Switching decides how data crosses a network of links. Circuit switching reserves a path during setup (the classic phone network). Packet switching sends independent packets that share links on demand, which suits bursty computer traffic. Forouzan also covers message switching, which stores whole messages at each node.
Exam angle: for FDM, count guard bands as channels minus one. For TDM, remember framing bits when you work out the link rate.
Common traps
- Using L instead of log2(L) in Nyquist's formula, or forgetting the "1 +" in Shannon's.
- Plugging a dB value straight into Shannon's formula without converting it to a ratio.
- Mixing up bandwidth (capacity) with throughput (what actually arrives).
- Forgetting that more signal levels cannot beat the Shannon limit on a noisy channel.
- Adding transmission and propagation delay but forgetting the byte-to-bit conversion.
- Assuming Manchester encoding saves bandwidth; it roughly doubles the signal rate compared with NRZ.
Worked examples
1. Understanding. Which multiplexing method gives every input a slot in each frame, even when that input has nothing to send? Answer: synchronous TDM. Slots are fixed per input, so idle inputs waste capacity. Statistical TDM fixes this by allocating slots on demand.
2. Application. A noiseless channel has a bandwidth of 2,000 Hz and uses 16 signal levels. What is the maximum bit rate? Answer: 16 kbps. Nyquist: 2 x 2,000 x log2(16) = 2 x 2,000 x 4 = 16,000 bps.
3. Analysis. A channel has B = 3 kHz and SNR = 255. You choose to run at half the Shannon capacity. How many levels do you need? Answer: 4. Shannon: C = 3,000 x log2(256) = 24 kbps, so half is 12 kbps. Nyquist: 12,000 = 2 x 3,000 x log2(L), so log2(L) = 2 and L = 4.
Practise
The quiz below has 100 questions on this topic, filterable by tier and difficulty.
Practise: 100 questions
FAQs
What is the difference between bit rate and baud rate?
Bit rate is the number of bits sent per second. Baud rate is the number of signal elements (symbols) sent per second. When each element carries one bit they are equal. With L levels, each element carries log2(L) bits, so bit rate = baud rate x log2(L). For example, 1,000 baud with 16-QAM carries 4,000 bps.
When do I use Nyquist and when do I use Shannon?
Use Nyquist for a noiseless channel when you know the bandwidth and the number of signal levels. Use Shannon for a noisy channel when you know the bandwidth and the signal-to-noise ratio; it gives the absolute upper limit. In two-step questions, Shannon sets the ceiling and Nyquist then gives the levels needed for a chosen rate.
Why is optical fibre preferred for long links?
Fibre carries light, so it has very low attenuation, very high bandwidth and no electromagnetic interference. That lets it run for kilometres without repeaters at speeds copper cannot reach. Its drawbacks are cost and the skill needed to install and splice it, which is why short office runs still use twisted pair.
Next step
Move on to Computer Networks MCQs (topologies and the OSI and TCP/IP models), then the Data Link Layer. See every topic on the Networks & Cloud hub, and test yourself under time pressure with an NSCT mock test.