11. Data Communication
Opening
Big idea: Moving data requires a path, a representation and rules understood at both ends.
Use a separate practice folder for the programs. Each example is self-contained unless its section says otherwise.
- Identify communication components and distinguish bandwidth from data rate.
- Compare direction modes, switching and transmission media.
- Explain mobile generations and the roles of common protocols.
Read the rule, trace the worked example, and try the quick check before reading its answers. When a result surprises you, change one input and explain the difference.
This is an original lesson following the listed syllabus topics. Examples, datasets, questions and diagrams were created for this edition.
A video call freezes in the middle of a sentence. The faces stop moving, then jump forward. Nothing is wrong with the camera or the screen. The problem lies on the road between them. This chapter studies that road.
A second picture helps too. A download bar climbs to ninety percent and then waits.
The file is almost complete, yet the last part takes longer than the first half did. Size, rate and delay combine to explain that pause.
The chapter builds in six stages. First it separates the message from the signal that carries it.
Then it names every responsibility in a communication system. Then it measures capacity and time with careful unit arithmetic.
Next it compares direction modes and switching methods. Then it chooses transmission media for real environments.
Last it explains mobile generations and the protocols that divide the work.
Three running situations return throughout. A student joins a video lesson from home.
A school backs up a folder of photos to a shared drive. A notice board message must reach every classroom unchanged.
Each situation needs a path, a representation and agreed rules.
Study by predicting. Cover each result line and each expected output before reading it.
Say the answer aloud first. When a prediction fails, find the first line where your trace diverged.
That line holds the lesson. Short sentences carry one idea each.
Expect the same vocabulary in every section. Message, signal, medium, protocol, bandwidth, rate, latency, switching and layer keep one meaning throughout.
When a sentence confuses you, check which term it uses. Technical words are defined in plain words at first use.
A common early mistake is blaming the wrong part. A slow download is not always a slow link.
A garbled message is not always a broken cable. Each section teaches you to test one part at a time: representation first, then path, then rules.
Diagrams in this chapter are tools, not decoration. Cover the caption and explain the arrows first.
Then read the walkthrough and check your explanation. Figures that you can redraw from memory are figures you understand.
Worked examples follow one pattern: goal, approach, trace, result. Read the goal before the steps. Trace each step against the numbers or the diagram. State the result in your own words before reading it.
Numbers in this chapter come from stated classroom assumptions, not from measurements of real services. Link rates and file sizes are small figures chosen for clear arithmetic.
Real speeds vary by plan, medium and load, so ask your teacher for current local figures before quoting them.
A usable path, a correct representation and agreed rules: all three must hold before a message arrives intact and understood.
11.1 CONCEPT OF COMMUNICATION
A message is the content you want to communicate. A signal is the physical form used to carry it. Recovering that form is not enough unless the receiver knows how its symbols represent the content.
For example, a sequence of bytes needs an agreed text encoding before it becomes the intended characters. A correct transmission with a wrong interpretation can still produce an unusable message.
- Identify the information to be sent.
- Choose a representation and a suitable physical path.
- Check that the receiver uses the corresponding interpretation rules.
A video call can deliver every signal perfectly and still show a frozen face.
A data communication system exchanges represented data between devices. A sender produces a message, which is the information being conveyed.
A signal is the physical form carrying that message during transmission. A receiver interprets the signal under agreed rules.
Think of the frozen call. The camera produces pictures.
The network carries signals. The screen rebuilds pictures from those signals.
If any step misreads its input, the faces freeze even though electricity and radio waves kept moving.
Data can travel as changing electrical voltages, light pulses or radio waves. Two broad styles exist.
An analog signal varies smoothly, like a wave tracking a voice. A digital signal uses discrete symbols, such as two voltage levels standing for 0 and 1.
Computers work with digital data, but the physical signal is always a real process in a real medium.
Read that sentence again. It corrects a frequent error.
Digital describes the symbols, not a magical immunity. A digital link still suffers noise, weakening and delay.
Do not describe every digital system as transmitting perfect square waves unchanged over any distance.
An encoding is the rule that turns content into symbols. Text encoding turns characters into bytes.
A picture encoding turns colours into numbers. Without the matching decoding rule, the receiver holds correct symbols with no meaning.
A modulation step shapes a signal so it can carry those symbols across a particular medium. A modem converts between digital data and the signal form a line needs.
Students sometimes skip these words. Keep them: they name the bridge between symbols and physics.
Three impairments deserve plain definitions. Noise is unwanted extra signal mixed with the wanted one. Attenuation is weakening of the signal with distance. Interference is disturbance from another transmission or device. Delay is lateness, including travel time and waiting time.
| Signal style | What varies | Typical use | Design caution |
|---|---|---|---|
| Analog | A smooth continuous quantity. | Voice and sensor waves at the source. | Noise directly distorts the value. |
| Digital | One of a small set of symbols. | Stored and transmitted data in computers. | Needs agreed timing, levels and encoding. |
Read the table row by row. The left column names the style.
The middle columns say what changes and where each style is used. The right column states the price of that style.
Analog noise corrupts values directly. Digital systems need agreement on every representation detail.
Because impairments exist, reliable systems add protection. Error detection notices that something changed. Error correction or retransmission repairs or replaces the damaged part. A short extra code can reveal a flipped bit.
A repeat request can fetch a clean copy.
A receiver detects a stream of bits but does not know its character encoding. Is the original text necessarily understandable?
Goal. Decide whether physical delivery guarantees meaning.
Approach. Separate the journey into delivery and interpretation.
Trace. The receiver has recovered symbols, so the signal path worked. But symbols become characters only through an encoding rule. Without that rule, the same bytes could be read as several different texts.
Result. No. Physical delivery and meaningful interpretation are separate requirements.
Result: No. The bits arrived, but the text is still unreadable until the encoding is known.
One received pulse is slightly weaker than expected, yet the receiver still reads it as the same binary symbol. Is the message damaged?
Goal. Decide whether a small physical change changes the meaning.
Approach. Ask how the receiver maps the physical value to a symbol.
Trace. Digital receivers decide by ranges, not by exact equality. A small change that stays inside the correct range still maps to the same symbol. Only a change large enough to cross into another range flips the meaning.
Result. The message survives this time, but the margin shrank.
Result: Not yet. Small noise inside the decision range leaves the symbol unchanged; larger noise would flip it.
Delivery answers whether signals arrived. Interpretation answers whether they meant the right thing. A complete system checks both.
11.2 COMPONENTS OF DATA COMMUNICATION
A sender, receiver, message, medium and protocol each answer a different question. Who originates the data? Who uses them? What is being sent? Where do the signals travel? Which rules govern the exchange?
When a communication example is confusing, fill in these roles before adding technical detail. A fast medium cannot repair a message whose units or fields are undefined.
- Write a concrete message and identify its sender and receiver.
- Choose the medium carrying its representation.
- Describe the rules for valid messages, responses and failures.
Two computers and one cable do not yet make a communication system.
Read the diagram from top to bottom. The sender prepares the content.
The transmitter turns it into transmittable signals. The medium carries those signals.
The receiver turns them back into a usable message. Protocols govern the exchange across all four roles.
A sender originates the data, such as a sensor reporting a measurement. A receiver accepts and interprets the data, such as a monitoring service.
A message is the content to be conveyed, such as a reading with its unit and timestamp. A medium is the transmission path, such as copper cable, optical fibre or a radio path.
A protocol states the rules for representation and exchange. It covers the agreed message format, addressing, the expected sequence of requests and responses, and what happens when a message is missing, repeated or malformed.
A fast medium cannot repair a message whose fields are undefined.
A transmitter and receiver may live inside the same device when communication goes both ways. A network interface often contains both roles.
The roles stay logically separate even when one box holds them. Name the role before naming the box.
A channel is a communication path with properties that affect the exchange. It has a direction capability, a capacity and a delay behaviour.
Saying “the channel” should mean one defined path, not the whole network at once.
Consider the school notice again. The message is the announcement text with its date.
The medium might be the local network. The receivers are the classroom displays.
The protocol states who may post, how long a notice stays valid, and what a display shows when no fresh notice arrives.
| Component | Role | Example |
|---|---|---|
| Sender | Originates the data. | A sensor reporting a measurement. |
| Message | Content to be conveyed. | A reading with its unit and timestamp. |
| Medium | Transmission path. | Copper cable, optical fibre or radio path. |
| Receiver | Accepts and interprets data. | A monitoring service. |
| Protocol | Rules for representation and exchange. | Agreed message format, addressing and response rules. |
Read the table as a checklist. Each row answers one design question: who sends, what is sent, where signals travel, who interprets, and which rules govern all of it.
A missing row is a missing decision. Most real failures trace back to a row nobody defined.
A complete design also states failure behaviour. What counts as a valid reply.
How long to wait before asking again. How to recognise a duplicate caused by a repeated request.
How to report an error the receiver can act on. Write these rules before the first failure, not after.
A sensor sends “18” without identifying the quantity or the unit. Which component needs a better design?
Goal. Locate the fault: path or message rules.
Approach. Assume the medium delivered every bit correctly, then test the meaning.
Trace. The digits arrive intact, so the medium did its job. But 18 of what: degrees, percent, count. And measured when. The message format never specified its fields.
Result. The protocol needs a clearer representation contract.
Result: Define the fields, units and timing in the message rules rather than blaming link speed.
A receiver gets the same valid request twice because the first reply was lost. Should it simply run the action twice?
Goal. Decide how a receiver handles a duplicate.
Approach. Ask what the protocol says about repeats.
Trace. The signals are valid and the format is correct, so this is not a transmission error. It is a behaviour question. Running a repeated action twice can double an order or a dose. A careful protocol detects duplicates and repeats only the reply.
Result. Not automatically.
Result: Follow the duplicate rule: recognise the repeat and answer without redoing a non-repeatable action.
Every exchange needs all five answers: who sends, what is sent, where it travels, who interprets, and which rules govern failures.
11.3 MEASURING CAPACITY OF COMMUNICATION MEDIA
A data amount describes how much must move. A rate describes how much can move per unit time. Delay describes how long an exchange takes to begin or complete. Mixing these quantities is a common source of wrong answers.
Before estimating transfer time, put the amount and the rate into compatible units. Then state which real-world overheads the simple division ignores. The result describes that model, not every actual download.
- Convert the payload amount to the unit used by the rate.
- Divide amount by rate and carry the time unit through the calculation.
- Explain setup, headers, sharing and retransmission as possible extra costs.
A progress bar mixes two quantities: how much must move, and how fast it can move.
In signal discussions, bandwidth is a frequency span measured in hertz. In everyday network language, people often use bandwidth for nominal data-carrying capacity in bits per second.
State which meaning you intend every time you use the word.
A data rate measures transferred bits per unit time. Throughput is achieved delivery under actual conditions. Application goodput can be lower still, because protocol headers, retransmissions and other traffic consume capacity. Latency is delay.
It is not another name for rate.
Think of water through a pipe. The pipe width resembles capacity.
The flow rate resembles bits per second. The travel time of one drop resembles latency.
A wide pipe does not make the first drop arrive sooner. It lets more drops arrive per second once flow begins.
| Unit | Meaning in this lesson |
|---|---|
| bit/s | Bits per second. |
| byte | Eight bits. |
| kbit/s | Decimal thousand bits per second. |
| Mbit/s | Decimal million bits per second. |
| KiB | Binary kibibyte: 1024 bytes. |
Read the table carefully. Bits per second measures rate.
Byte measures amount. The decimal prefixes used here multiply by 1000, while KiB multiplies by 1024.
Mixing these multipliers is the most common arithmetic error in this chapter.
Now work the chapter’s core calculation slowly. The payload holds 3000000 bytes.
One byte holds 8 bits, so multiply: 3000000 × 8 = 24000000. The amount the link must carry is 24000000 bits.
This conversion comes first, always.
The assumed link rate is 6000000 bit/s. Divide amount by rate: 24000000 ÷ 6000000 = 4. The ideal time is 4 seconds. Carry the units through: bits divided by bits per second leaves seconds.
This is an ideal lower-bound estimate under stated assumptions, not a promise for a real download. It ignores setup, headers, sharing, retransmissions and server delay.
A short exchange over a high-rate link can still be slow when connection setup or propagation delay dominates.
Read the diagram as the method. Measure the size in the same unit the rate uses.
Read the rate in bits per second. Divide, keeping the time unit.
Then list what the simple model ignored. Every worked answer in this section follows these four steps in order.
Estimate transmission time for 3000000 bytes over an ideal 6000000 bit/s link.
Goal. Find the ideal lower-bound time under stated assumptions.
Approach. Convert the amount to bits, then divide by the rate.
Trace. First, 3000000 × 8 = 24000000 bits. Next, 24000000 ÷ 6000000 = 4. The units divide as bits ÷ (bits/second) = seconds.
Result. 4 seconds in the ideal model.
Result: 4 seconds, excluding setup, headers, sharing and retransmission.
A second example tests the pattern with a photo folder. Assume the folder holds 12 megabytes, so 12 × 8 = 96 megabits. Assume the link carries 6 megabits each second. Then 96 ÷ 6 = 16. The ideal time is 16 seconds.
Now double only the rate to 12 megabits per second. The amount stays 96 megabits, so 96 ÷ 12 = 8. The time falls to 8 seconds. Doubling the rate halves the time because division is the only relationship.
Cover the output box and say what the program should print before reading on.
size_mb = 12
rate_mbps = 6
size_megabits = size_mb * 8
time_s = size_megabits / rate_mbps
print(size_megabits)
print(time_s)Opens in a new tab with the code ready. Click Visualize Execution, then step through the program.
- The first two lines store the assumed size and the assumed rate.
- The third line converts megabytes to megabits by multiplying by 8.
- The fourth line divides amount by rate to get seconds.
- The prints show the converted size and then the ideal time.
96
16.0Change the rate to 12 and predict both printed lines before running.
Read the program again. It performs the same four diagram steps in code: size, rate, conversion, division.
The output 96 and 16.0 match the hand calculation. A program that skipped the × 8 step would print a time eight times too small.
Real links also carry overhead. Suppose a nominal rate of 10 units loses one-tenth to headers and sharing.
The usable part is 10 × 9 ÷ 10 = 9. Only 9 of the 10 units move application data.
Throughput answers what arrived; goodput answers what was useful.
A link upgrade doubles the rate, yet a one-message exchange barely speeds up. Which quantity explains the flat result?
Goal. Explain why a faster rate did not help this exchange.
Approach. Ask whether the exchange was limited by amount ÷ rate or by fixed delay.
Trace. A single short message has few bits, so the division gives a tiny time. Setup, propagation and server processing do not shrink when the rate doubles. The fixed part now dominates the total.
Result. Latency and setup, not rate.
Result: The rate was never the bottleneck. Fixed delays dominate short exchanges, so doubling capacity barely moves the total.
Convert first, divide second, list the ignored costs third. An answer without units and assumptions is not finished.
11.4 TYPES OF DATA COMMUNICATION
Simplex, half-duplex and full-duplex describe permitted transmission directions. The useful distinction is not how many people own devices, but whether the defined channel permits simultaneous sending in both directions.
A turn-taking radio exchange allows both directions at different times. A full-duplex link supports simultaneous transmission. Neither description alone tells you the security or speed of the application.
- Choose the exact channel being classified.
- Check whether one or both directions are supported.
- If both are supported, ask whether they can be used at the same time.
Texting and calling feel different because the channel rules differ, not only the apps.
| Mode | Allowed direction | Illustrative example |
|---|---|---|
| Simplex | One direction only for the defined channel. | A one-way broadcast feed. |
| Half-duplex | Both directions, but not simultaneously on the defined channel. | A push-to-talk exchange. |
| Full-duplex | Both directions simultaneously. | A link designed to transmit and receive concurrently. |
Read the table as three permissions. Simplex allows one direction.
Half-duplex allows both directions at different times. Full-duplex allows both at once.
The label always belongs to a stated channel, never to a vague device.
Picture the push-to-talk exchange. Station A speaks while Station B listens.
Then they swap. Both sides can send, so this is not simplex.
Only one sends at a time, so this is not full-duplex. The name for taking turns is half-duplex.
Read the diagram round by round. A sends while B waits.
Then B sends while A waits. Each receiver must wait for the turn to finish.
If both sent at once on this channel, their signals would collide instead of communicating.
Describe the channel or system being classified. A device can use different modes on different links.
Application behaviour can also differ from physical capability: a full-duplex link does not require people to speak at the same time.
A simplex channel needs no turn-taking rules, but it also offers no return path on that channel. Replies need a separate channel or a different arrangement.
A broadcast feed informs many receivers cheaply for exactly this reason.
A full-duplex link often uses separate resources for the two directions, such as different frequency bands or wire pairs. That separation is what permits simultaneity.
Sharing one resource in time gives half-duplex instead.
Two stations take turns using a shared radio channel, even though both can send. Which direction mode fits?
Goal. Classify the stated channel correctly.
Approach. Test both directions and simultaneity separately.
Trace. Both directions exist, so simplex is wrong. The shared channel allows only one sender at a time, so simultaneous use is impossible. Turn-taking with both directions allowed matches half-duplex.
Result. Half-duplex for that channel.
Result: Both directions exist, but only one at a time: half-duplex for that channel.
Two people on a full-duplex link politely take turns speaking. Has the link become half-duplex?
Goal. Separate channel capability from user behaviour.
Approach. Ask what the channel permits, not what the users chose.
Trace. The link still supports simultaneous transmission; nothing in the hardware changed. The users merely chose not to overlap. Politeness is an application habit, not a channel limit.
Result. No.
Result: The channel stays full-duplex. Quiet manners do not rewrite the link’s capability.
Duplex mode says nothing by itself about encryption, error rate or message priority. Those need separate mechanisms and rules. Never claim a link is safe only because it is full-duplex.
Attach every direction label to a stated channel. Then test both directions and simultaneity before naming the mode.
11.5 SWITCHING TECHNIQUES
A circuit-oriented model keeps resources assigned to a session. A packet-oriented model lets traffic from several exchanges share links in smaller units. Their different resource choices explain many of their trade-offs.
For bursty traffic, sharing can use quiet periods well. It can also create queues when several senders want the same link. Applications may therefore see variable delay even when their messages are eventually reconstructed correctly.
- Identify when capacity is assigned and released.
- Ask what happens while one sender is quiet.
- Explain how congestion, loss and recovery affect the application.
Booking the whole road and sharing it car by car are two ways to handle traffic.
A circuit-switched system establishes a path or reserved communication resources for a session. It can provide predictable allocation, but reserved capacity may sit unused during quiet moments.
Setup and failure recovery are part of the design.
A packet-switched system divides communication into units with control information. Shared links forward packets from several exchanges.
Queues can introduce variable delay; packets can be lost or arrive out of order. Different packets may use different paths, but they are not required to do so.
Picture a reserved lane against a shared road. The reserved lane guarantees your space even when you pause for a rest.
The shared road lets others use the space while you rest, but you may wait in a queue at busy hours. One design buys predictability; the other buys sharing.
Read the diagram. The session asks for a connection first.
Resources stay reserved for its whole duration. Data travels in order along the arranged path.
The release step matters: forgotten reservations waste capacity long after the conversation ends.
Read the diagram. The message is split before anything travels.
Each part carries its destination and ordering detail. Links serve packets from many users in turn.
Queues form when too many arrive together. The receiver rebuilds the original message from its parts.
| Question | Circuit-oriented model | Packet-oriented model |
|---|---|---|
| Resource use | Allocation maintained for a session. | Links shared among packets. |
| Quiet period | Reserved capacity may remain unused. | Other traffic can use available capacity. |
| Delay | Can be more predictable after setup. | Can vary with routing and queues. |
Read the table row by row. Resource use differs first. Quiet periods differ next. Delay behaviour differs last. Each row is a trade-off, not a victory: predictability costs sharing, and sharing costs predictability.
Predict each printed line first. The trace below explains every one.
total = 12000
size = 1000
count = total // size
print(count)
print("first: 1")
print("last: " + str(count))Opens in a new tab with the code ready. Click Visualize Execution, then step through the program.
- The first two lines store the classroom message size and packet size.
- Integer division counts how many full packets the message makes.
- The prints show the count, then label the first and last packet numbers.
12
first: 1
last: 12Change the message to 15000 bytes and predict the new count before running.
Read the program again. 12000 ÷ 1000 = 12, so the model makes 12 packets. Real protocols add headers to each part, which this count ignores. The program teaches the splitting idea, not a real packet size.
Say the result in your own words before checking it against the output box.
route = ["sender", "switch A", "switch B", "receiver"]
for i in range(len(route)):
print(str(i + 1) + ". " + route[i])
print("hops: " + str(len(route) - 1))Opens in a new tab with the code ready. Click Visualize Execution, then step through the program.
- The list names the four stops in travel order.
- Range produces one index per stop; adding one makes the display count from 1.
- Each loop line joins the position number to the stop name.
- The last line subtracts one from the stop count to report forwarding steps.
1. sender
2. switch A
3. switch B
4. receiver
hops: 3Remove switch B from the list and predict the new hop count before running.
Read the program again. Four stops give 3 hops, because hops equal stops minus one. Each hop hands the packet closer to its destination. Trace the list whenever a path question confuses you.
A bursty sensor sends a short report and then stays quiet. Why can shared packet links be useful?
Goal. Match bursty traffic to the cheaper resource model.
Approach. Ask what happens to reserved capacity during the quiet intervals.
Trace. A reserved circuit would hold resources through every silent hour. On shared packet links, other traffic uses those gaps. The protocol must then handle variable delay, but utilisation improves.
Result. Sharing can improve utilisation.
Result: Shared links serve other packets during the quiet periods, while the protocol handles the resulting delivery behaviour.
A 12000 byte message travels in 1000 byte parts across four stops. How many parts and hops does the journey involve?
Goal. Count both the splitting and the forwarding.
Approach. Divide for packets; subtract one for hops.
Trace. Packets: 12000 ÷ 1000 = 12. Hops: 4 stops minus 1 = 3. The two counts answer different questions about the same trip.
Result. 12 packets and 3 hops.
Result: Twelve packets cross three forwarding steps; the receiver rebuilds the message from the twelve parts.
Transport protocols can recover from some packet-network problems. The fact that an application receives ordered data does not prove the underlying network never reordered or lost packets.
Recovery happened; perfection did not.
Reserved resources promise predictability. Shared packets promise utilisation. Bursty traffic usually prefers sharing with recovery rules.
11.6 TRANSMISSION MEDIA
A medium is a physical path, so its surroundings matter. Distance, obstacles, interference, installation quality and compatible equipment all affect the result. No single label gives the best choice for every situation.
Use a comparison with a purpose. Fibre can help avoid electrical interference on the optical path. Wireless can avoid a cable to a moving device. Each still has limitations and installation requirements.
- State the distance, environment and required service.
- Compare suitable media under those conditions.
- Include equipment, maintenance and failure behaviour in the choice.
No cable or radio link is best everywhere; the surroundings decide.
A guided medium leads the signal along a physical path. The surroundings still matter: distance, installation quality, electrical noise and compatible equipment all affect the result.
| Medium | Physical idea | Trade-off |
|---|---|---|
| Twisted-pair copper | Paired conductors reduce some interference effects. | Widely used; distance, category and installation quality limit performance. |
| Coaxial cable | A conductor and surrounding shield guide signals. | Useful in suitable access or distribution systems; requires compatible equipment. |
| Optical fibre | Light carries signals through an optical guide. | High-capacity long links are possible; splicing, bending and equipment need care. |
Read the table as three candidates. Twisted pair is the familiar local choice with distance limits.
Coaxial suits particular distribution jobs. Fibre carries light over long high-capacity paths but punishes careless bending and poor splicing.
Compare a specific standard and installation, not just the material name.
An unguided medium sends signals through space without a guiding path. Radio, microwave and infrared are regions of electromagnetic communication.
Frequency, antenna design, power, obstacles and regulation affect usable range and capacity. Some links need a clear line of sight.
| Technology or path | Typical use | Design caution |
|---|---|---|
| Bluetooth | Nearby device links. | Pairing, power and interference need attention. |
| Wireless LAN | Local network access. | Shared medium, placement and authentication matter. |
| Terrestrial microwave | Directional links. | Alignment and path clearance matter. |
| Satellite | Coverage through a space link. | Path delay, weather effects and service design vary. |
| Infrared | Short-range optical-style communication. | Obstacles and alignment can block the path. |
Read the table row by row. Nearby links trade range for convenience.
Local wireless shares its medium, so placement and access control matter. Directional and space links add alignment, clearance and delay concerns.
Infrared fails completely when something blocks its narrow path.
Read the diagram as the selection habit. First describe the distance, obstacles, noise and mobility.
Then list only the media that fit those facts. Finally check the unglamorous details: connectors, power, alignment, maintenance and what happens when each part fails.
Interference deserves one careful sentence. Electrical noise disturbs signals in copper conductors.
An optical path carries light, not electrical current, so the same electrical noise does not disturb it in the same way. The fibre installation still needs proper equipment and protection.
A link crosses a noisy electrical environment. Why might fibre be considered?
Goal. Decide whether fibre addresses this particular disturbance.
Approach. Ask what the disturbance acts on.
Trace. The noise is electrical, acting on electrical conductors. Fibre guides light, so the electrical noise has nothing equivalent to disturb on the optical path. Equipment choice and installation quality still matter.
Result. It can avoid electromagnetic interference on the optical path.
Result: The data travel optically rather than through an electrical conductor, but the complete installation still needs appropriate equipment and protection.
A supply cart moves between shelves all day and must stay connected. Should the designer trench a cable to it?
Goal. Choose the medium for a moving endpoint.
Approach. Test each candidate against mobility.
Trace. Any fixed cable ties the cart to one spot or tangles within a day. The endpoint moves, so the path must work through space. A wireless link follows the cart, while fixed cabling serves the stationary access points it roams between.
Result. Wireless for the moving cart.
Result: Use a wireless link for the moving device and wired links for the fixed infrastructure behind it.
No medium is universally fastest, safest or cheapest in every deployment. Do not memorise an absolute ranking of media. Compare a particular standard and installation under the stated conditions.
State the environment first. The distance, noise, obstacles and mobility eliminate most options before price is even discussed.
11.7 MOBILE TELECOMMUNICATION TECHNOLOGIES
Mobile generations describe families of capabilities and standards. A user’s actual connection also depends on coverage, device support, radio conditions and current demand.
Think of the difference between what a system is designed to support and what one user observes in one location. A headline capability is not a guarantee that every app request receives that rate or delay.
- Identify the capability associated with the generation.
- Check the conditions of the actual deployment.
- Measure the relevant connection instead of diagnosing from the generation label alone.
A newer phone in a poor signal area still waits; the generation label is not a speed promise.
| Generation | Broad development |
|---|---|
| 1G | Analogue cellular voice systems. |
| 2G | Digital cellular voice and messaging, with later data extensions. |
| 3G | Expanded mobile data and multimedia capability. |
| 4G | Higher-capacity packet-oriented broadband services. |
| 5G | Further broadband, device-density and latency capabilities under suitable deployment conditions. |
Read the table as a family history. Analogue voice came first.
Digital voice and messaging followed. Data and multimedia expanded next.
Packet broadband raised capacity further. The newest family adds device density and latency improvements where suitably deployed.
Each row is a family of standards, not one guaranteed speed.
A cellular system divides coverage into managed areas and reuses radio resources under a network plan. Mobility requires a device’s connection to be maintained or transferred as it moves between coverage areas.
Handover between areas is part of the design, not an accident.
Think of the student joining a video lesson from home. The phone shows a late-generation indicator, yet the picture freezes.
The indicator names the serving family. It says nothing about the signal strength in that room, the number of neighbours sharing the cell, or the load on the backhaul link.
The actual result depends on spectrum, signal conditions, load, backhaul and device support. Two users on the same generation can observe very different throughput.
A specification’s target capability and a user’s observed throughput are different claims. Keep them in separate sentences.
Later generation does not guarantee every location receives the advertised peak rate or lowest possible latency. Coverage and service configuration matter.
A headline peak measured under ideal test conditions is not a promise printed on every street.
A newer-generation phone has poor reception indoors. Does its generation label prove the app server is slow?
Goal. Avoid diagnosing from the label alone.
Approach. List the parts between the app and the server, then test the radio part first.
Trace. Radio conditions and network load limit the path before the server is reached. The server never even receives a clean fast request. Blaming the server skips the weaker link in the chain.
Result. No.
Result: Measure the relevant part of the system rather than diagnosing from the label. Check signal, load and the wired remainder before judging the server.
A field sensor sends one short reading per hour from a fixed post. Must it use the newest generation?
Goal. Match the service need to the generation family.
Approach. Compare the tiny regular traffic against what each family offers.
Trace. The sensor needs rare small messages and long battery life, not continuous broadband. An older or specialised narrowband service can carry hourly readings. The newest broadband features would sit idle while adding cost and power demands.
Result. Not necessarily.
Result: Choose the service that fits the traffic shape and power budget; newest is not automatically most suitable.
Signal bars deserve one careful sentence. Bars summarise the local radio reception, not the whole journey.
Full bars with a frozen lesson point beyond the radio link: to cell load, the backhaul connection, or the server itself. Test each part instead of trusting the icon.
Signal bars are full, yet the video lesson still freezes. Where should the student look next?
Goal. Find the slow part when the radio part looks healthy.
Approach. Clear each part of the journey in order: radio, sharing, wired remainder, server.
Trace. Full bars clear the local radio reception. The next suspects are many neighbours sharing the same cell, the backhaul link carrying the cell’s traffic onward, and the lesson server under load. Each needs its own test, such as trying a different service or asking whether neighbours see the same freeze.
Result. Beyond the radio link.
Result: Full bars clear only the first hop. Test cell load, the onward connection and the server before blaming the phone.
A generation names a standards family with target capabilities. The connection you hold depends on deployment, signal, device and load.
11.8 PROTOCOL
An email message, a web request and an IP packet describe different levels of the same broader communication system. Protocols divide the work so an application does not need to implement every lower-level task itself.
For example, HTTP describes web request and response meaning. TCP can provide ordered byte delivery when its connection succeeds. IP provides best-effort packet forwarding. Security needs additional appropriate mechanisms.
- Start with what the application wants to do.
- Identify the transport and network responsibilities underneath it.
- Keep reliable delivery, encryption and permission checking as separate properties.
One message crosses many desks; each protocol handles only its own desk.
Read the diagram from top to bottom. The application states what it wants.
The transport layer delivers bytes reliably in order when its connection succeeds. The network layer forwards each packet toward its destination.
The link layer moves signals across one physical hop. Lower layers never see the application’s meaning.
A protocol at one layer cooperates with the layers above and below it. This division lets one service work across many underlying networks.
A web request can travel over cable, fibre or radio without the application changing its behaviour.
| Protocol | Main teaching role |
|---|---|
| HTTP | Web request and response semantics. |
| HTTPS | HTTP communication protected using TLS-based security mechanisms. |
| FTP | A traditional file-transfer protocol; ordinary FTP is not encrypted by default. |
| PPP | Link-layer framing and control for a point-to-point link. |
| SMTP | Transfer and submission of email messages between relevant systems. |
| IMAP or POP | Access to stored email; distinct from SMTP’s transfer role. |
| TCP | A reliable ordered byte-stream transport between endpoints when the connection succeeds. |
| IP | Addressing and packet forwarding across networks with best-effort delivery. |
Read the table as job descriptions. HTTP speaks web.
HTTPS adds transport protection to web exchanges. FTP moves files without default encryption.
PPP frames one direct link. SMTP moves mail between systems.
IMAP or POP lets a user access a stored mailbox. TCP orders and repairs byte delivery.
IP forwards packets without promising arrival.
TCP handles sequencing, retransmission and flow-related mechanisms. It does not itself encrypt application content, and it can ultimately report failure if delivery cannot be maintained.
IP alone does not guarantee arrival, order or absence of duplicates. Best-effort means the network tries without promising.
HTTP semantics should not be confused with one fixed transport mapping: HTTP versions can use different transport arrangements. The application still needs to handle authentication, permissions and meaningful error responses.
A status code is part of the application conversation, not the packet journey.
Security needs its own layer of thought. Ordinary FTP exposes content because it lacks encryption by default.
HTTPS protects the exchange using TLS-based mechanisms, but it does not decide whether the destination itself is honest. Authorisation answers who may act, which neither TCP nor TLS decides alone.
A file arrives intact over TCP. Does that prove it came from an authorised source?
Goal. Separate delivery success from identity.
Approach. Ask which question TCP answers.
Trace. TCP answers whether bytes arrived in order. It never asks who wrote them. Authorisation needs identity checks and permissions, plus appropriate protection for secrets. A correct delivery can carry a forged or malicious file.
Result. No.
Result: Successful byte delivery is not identity verification. Check the source through authentication and authorisation mechanisms.
A user can read stored email but cannot send new mail. Which protocol role is the first suspect?
Goal. Place each symptom at its responsible protocol.
Approach. Split sending from stored-mail access.
Trace. Reading stored mail uses IMAP or POP, or a service-specific interface, and that path works. Sending needs SMTP submission between systems. The broken half is the transfer path, not the mailbox access path.
Result. The SMTP submission path.
Result: Test the sending configuration and its server rules; the reading path already proves itself.
Protocol compatibility includes message format, sequencing and failure behaviour. Sharing a connector or knowing a hostname does not ensure both applications speak the same protocol.
Test with real exchanges, not with plugs and names.
Reliable delivery, encryption and permission are three separate properties. Name the protocol that supplies each one before claiming the system is safe.
Summary
Use these points to test what you can explain without looking back.
- Data communication requires sender, receiver, message, medium and protocol.
- Delivery of signals and interpretation of meaning are separate requirements.
- Analog signals vary smoothly; digital signals use discrete symbols needing agreed rules.
- Keep content, representation and physical signal distinct in every answer.
- State whether bandwidth means frequency span or data capacity.
- Convert units before calculating ideal transfer time and state ignored overheads.
- Size in bits divided by rate in bits per second gives seconds.
- Throughput is achieved delivery; goodput counts only useful application data.
- Simplex, half-duplex and full-duplex describe direction capability on a stated channel.
- Circuit and packet switching allocate shared resources differently.
- Packets carry destination and ordering detail and are rebuilt at the receiver.
- Choose media using the actual environment and link requirements.
- Generation labels name standards families, not guaranteed everyday speeds.
- Protocol names do not guarantee speed, security or availability by themselves.
- Reliable delivery, encryption and permission are separate properties.
Exercise
Work independently. For a program, predict the result before running it. Explain your reasoning as well as giving an answer.
11.1 Convert 3000000 bytes to bits using the stated byte definition. Show the multiplication.
11.2 Estimate ideal time for 3000000 bytes over the ideal 6000000 bit/s link. Show every step with units.
11.3 A 12 megabyte folder crosses an assumed 6 megabit-per-second link. Show every step. Then predict the time on an assumed 12 megabit-per-second link.
11.4 Predict the two printed lines when this program runs, and name the skipped step that would shrink the answer eightfold.
size_mb = 12
rate_mbps = 6
size_megabits = size_mb * 8
time_s = size_megabits / rate_mbps
print(size_megabits)
print(time_s)11.5 Why can a short request stay slow on a high-capacity connection?
11.6 Distinguish half-duplex from full-duplex on one shared radio channel versus a link with separate direction resources.
11.7 Find the flaw: “Our link is full-duplex, so our conference calls are private.”
11.8 Trace this route program for a packet crossing two switches and state the hop count.
route = ["sender", "switch A", "switch B", "receiver"]
print(len(route))
print(len(route) - 1)11.9 A 12000 byte message splits into 1000 byte parts. How many parts result, and what must the receiver do with them?
11.10 Why can shared packet links suit a sensor that reports briefly and then stays quiet?
11.11 Find the flaw: “Packet switching means every packet of my message must travel a different path.”
11.12 Choose the medium for a link across a hall with strong electrical noise. Justify the choice and name one remaining risk.
11.13 Choose the connection for a cart that moves between shelves all day. Explain the rejected fixed cable.
11.14 Explain why a satellite link can show a different delay from a local wireless link carrying the same file.
11.15 Does an intact TCP delivery prove the file came from an authorised source? Explain.
11.16 A user reads stored mail but cannot send mail. Which protocol path do you test first, and why?
11.17 Why is one universal “5G speed” useless in a textbook answer? Give two varying conditions.
11.18 A shop page uses HTTPS, yet a customer still reaches a dishonest copy of the shop. Which protection worked and which check was missing?
Answers
11.1 3000000 × 8 = 24000000. The payload is 24000000 bits.
11.2 3000000 bytes × 8 = 24000000 bits. 24000000 bits ÷ 6000000 bits per second = 4 seconds, excluding setup, headers, sharing and retransmission.
11.3 12 × 8 = 96 megabits. 96 ÷ 6 = 16 seconds. At 12: 96 ÷ 12 = 8 seconds. Doubling the assumed rate halves the assumed time.
11.4 96 then 16.0. Skipping the × 8 byte-to-bit conversion would divide megabytes by megabits per second and understate the time eightfold.
11.5 Setup, propagation and processing do not shrink with rate. The fixed delay dominates the small payload’s division result.
11.6 Half-duplex permits both directions at different times on the shared channel. Full-duplex uses separate resources so both directions work simultaneously.
11.7 Direction and protection are separate properties. Full-duplex allows simultaneous talk; privacy needs encryption, authentication and permission checks.
11.8 Four stops, so three hops. Each printed value follows stops and stops-minus-one: 4 then 3.
11.9 12000 ÷ 1000 = 12 parts. The receiver rebuilds the original message using the destination and ordering detail each part carries.
11.10 Reserved capacity would sit unused through every silence. Shared links carry other packets in the gaps, while the protocol handles variable delay.
11.11 Packets may share one path; sharing links does not force different routes. Different paths are permitted, not required.
11.12 Fibre for the optical path, which avoids the electrical disturbance. Remaining risks include poor splicing, sharp bending and unsuitable terminal equipment.
11.13 A wireless link follows the moving cart. A fixed cable would tether or tangle it; use wired links only for the stationary access points behind the wireless coverage.
11.14 The path length, processing stages and service design differ. Propagation distance and queueing contribute delay that the local link largely avoids.
11.15 No. TCP proves ordered byte arrival, not identity. Authorisation needs authentication and permission checks through additional mechanisms.
11.16 The SMTP submission path. Working mailbox access clears IMAP or POP, leaving transfer between systems as the broken half.
11.17 A generation label is a family capability, not a measured connection. Signal conditions, load, spectrum, device support and backhaul all change the observed result.
11.18 Transport protection worked for the actual connection. The missing check was destination trust: confirming the site identity before entering details.