Data Communication

Chapter 1
Foundations of Data Communication

Bachelors Program in IT
Data Communication   •   Bachelor

Foundations of Data Communication

Introduction

Data communication is the exchange of data between two or more devices through a transmission medium. It is the foundation of the Internet, mobile services, cloud computing, distributed applications, digital commerce, industrial automation, and modern information systems. Whenever a user sends an email, a sensor reports a temperature, or a web browser retrieves a page, data communication enables information to move from a source to a destination.

The subject combines computer science, electrical engineering, information theory, networking, and systems design. A data communication system must not merely move signals; it must deliver the intended information accurately, efficiently, securely, and within an acceptable time. This chapter introduces the concepts required to understand later topics such as network architectures, transmission technologies, error control, switching, routing, and Internet protocols.

Learning Objectives

After studying this chapter, you should be able to:

  • define data communication, telecommunications, and computer networking;
  • identify the essential components of a communication system;
  • explain protocols, standards, and layered communication models;
  • describe data representation and signal transmission at a foundational level;
  • distinguish simplex, half-duplex, and full-duplex transmission;
  • classify networks by geographical scope and ownership;
  • explain common physical and logical topologies;
  • calculate and interpret basic performance measures;
  • evaluate practical communication designs using reliability, efficiency, security, and scalability criteria.

1. Data Communication and Related Fields

Data communication concerns the transfer of digital or digitized information between devices. The information may consist of text, numbers, images, audio, video, sensor readings, or control commands. The devices may be computers, smartphones, servers, industrial controllers, cameras, or embedded systems.

Three closely related terms should be distinguished:

  • Data communication focuses on the exchange of data and the technical mechanisms that make exchange possible.
  • Telecommunications is the broader transmission of information over distance using electronic or electromagnetic technologies. It includes voice telephony, radio, television, satellite communication, and data services.
  • Computer networking focuses on interconnected computing devices that communicate and share resources. Networking uses data communication, but also includes addressing, routing, network management, distributed services, and security.

Thus, a telephone call is telecommunications and may involve data communication internally. A university network is a computer network that depends on data communication. The concepts overlap, but their emphasis differs.

A communication system can be evaluated at several levels. At the physical level, signals must travel through a medium. At the data-link level, devices may detect errors and organize data into frames. At the network level, packets may be addressed and routed. At higher levels, applications interpret the data and provide services to users.

2. The Basic Communication Model

A basic model contains a sender, message, transmission medium, receiver, and protocol. The sender produces information, the transmitter prepares it for delivery, the medium carries the signal, and the receiver reconstructs the information. Noise or interference may alter the signal during transmission.

Basic data communication model Source Transmitter Mediumwire, fibre, radio Receiver Protocol rules and possible noise/interference A communication system converts, transports, and interprets information.
Basic data communication model showing sender, transmitter, medium, receiver and destination
Figure: Basic data communication model showing sender, transmitter, medium, receiver and destination

Figure: General model of data communication.

A protocol is a set of rules governing communication. Protocol rules may specify the format of messages, timing, addressing, error detection, sequence control, and what a device should do when a message is lost. Without shared protocols, connected devices could transmit electrical or radio signals but would not reliably understand one another.

3. Communication Components

Message

A message is the information being communicated. It may be represented as characters, numerical values, pixels, samples, or encoded instructions. The same underlying message can be represented differently depending on the application and protocol.

Sender and receiver

The sender is the device or process that originates data. The receiver is the device or process that accepts it. A device may be both sender and receiver in a two-way system. In distributed applications, roles can change continuously.

Transmission medium

The medium is the physical or wireless path through which a signal travels. Guided media include twisted-pair cable, coaxial cable, and optical fibre. Unguided media include radio, microwave, and infrared transmission. Medium selection depends on distance, capacity, cost, mobility, interference, security, and installation conditions.

Transmitter and receiver circuitry

A transmitter converts data into a signal suitable for the medium. A receiver detects the signal and reconstructs the data. Modulation, amplification, filtering, sampling, encoding, and signal recovery may be involved. In digital systems, the received result may still contain errors and therefore require checking.

Protocol

Protocols coordinate communication between entities. Examples include Ethernet for local data-link communication, Internet Protocol (IP) for packet addressing and forwarding, and Transmission Control Protocol (TCP) for reliable transport. A protocol does not necessarily specify every physical detail; it defines the rules relevant to its communication layer.

4. Data Representation

Computers store and process information using binary digits, or bits. A bit has two possible logical values, commonly represented as 0 and 1. Eight bits form one byte. Text may be represented using character encodings such as Unicode. Unicode assigns code points to characters, while encodings such as UTF-8 represent those code points as sequences of bytes.

Integers can be represented using fixed-length binary patterns. Signed integers commonly use two's-complement representation. Real numbers are often represented using floating-point formats, which provide a wide range but may introduce rounding error. Images are represented as pixels, with each pixel encoded using one or more colour components. Audio is represented by sampling an analogue waveform at regular intervals and quantizing the sample values. Video combines spatial image information with temporal changes.

The representation chosen affects bandwidth, storage, processing, and interoperability. Compression can reduce the number of bits transmitted. Lossless compression permits exact recovery, whereas lossy compression sacrifices some information for a larger reduction in size. Compression is not the same as encryption: compression changes representation for efficiency, while encryption transforms data to restrict unauthorized interpretation.

5. Signals, Bandwidth, and Transmission

A signal is a physical representation of data. It may be electrical voltage, light intensity, or electromagnetic radiation. Signals may be analogue, varying continuously over a range, or digital, using discrete levels or symbols. In practice, digital data can be transmitted using physical signals that are not perfectly square or discrete.

Bit rate is the number of bits transmitted per second, measured in bit/s. Common multiples include kbit/s, Mbit/s, and Gbit/s. Bandwidth has two related uses. In a physical or frequency context, it is the range of frequencies occupied by a signal or supported by a channel, measured in hertz. In networking practice, bandwidth is also used informally to mean a channel's maximum bit rate. These meanings should not be confused.

For a message containing L bits sent at a transmission rate R bit/s, the transmission time is:

ttrans = L ÷ R

Here, ttrans is transmission time in seconds, L is message length in bits, and R is the link rate in bit/s. The formula assumes that the entire message is transmitted at a constant rate and excludes propagation, processing, queuing, and retransmission delays.

Example. A 1,200,000-bit file is sent over a 12 Mbit/s link. Since 12 Mbit/s = 12,000,000 bit/s:

ttrans = 1,200,000 ÷ 12,000,000 = 0.1 seconds. The transmission time is 100 ms, before other delays are considered.

The total end-to-end delay may include transmission delay, propagation delay, processing delay, and queuing delay:

ttotal = ttrans + tprop + tproc + tqueue

This is a conceptual additive model. The variables represent transmission, propagation, processing, and queuing delays, all in seconds. In a multi-hop path, delays are normally summed across links and devices. Propagation delay depends on distance and signal speed; it is not the same as transmission delay. A high-rate link reduces transmission time, but it does not necessarily eliminate propagation or queueing delay.

Throughput is the actual rate achieved by an application or flow. It may be lower than the nominal link rate because of protocol overhead, congestion, errors, competing traffic, and receiver limitations. Goodput measures useful application data delivered per unit time and excludes some protocol overhead and retransmitted data.

Reliability is often assessed through error measures. If E erroneous bits occur among N received bits, the bit error rate is:

BER = E ÷ N

BER is dimensionless. It is meaningful only when the observation interval and test conditions are specified. A low BER does not guarantee reliable application delivery if packets are lost, corrupted, or delayed by other causes.

6. Transmission Modes and Communication Direction

Simplex transmission allows communication in only one direction. A broadcast radio station transmitting to listeners is a typical example, although modern systems may provide a separate return channel.

Half-duplex transmission permits both directions, but not simultaneously. Two-way radios commonly operate this way: one party transmits while the other listens.

Full-duplex transmission permits simultaneous two-way communication. Telephone calls and switched Ethernet links are typical examples. Full-duplex operation can improve interaction and utilization, but requires suitable hardware and protocol support.

Transmission may also be classified as serial or parallel. Serial transmission sends bits sequentially over one channel or a small set of channels. It is common over long distances because it reduces wiring complexity and synchronization problems. Parallel transmission sends multiple bits at the same time over multiple conductors and is useful over short distances, but timing skew and cost limit its use.

7. Networks and Their Scope

A network is a collection of interconnected devices that can exchange data and possibly share resources. Networks can be classified by geographical scope:

NetworkTypical scopeExample
PANVery small personal areaBluetooth devices around a user
LANRoom, building, or campus segmentOffice Ethernet
WLANWireless local areaWi-Fi network
MANCity or metropolitan areaMunicipal fibre network
WANCountry, continent, or global areaInternet service-provider backbone

A private network is controlled by an organization or individual. A public network is operated for access by many customers or users. The Internet is a global interconnection of networks rather than a single centrally owned network.

Networks also differ by architecture. In a client-server architecture, dedicated servers provide services to clients. In a peer-to-peer architecture, devices may act as both clients and providers. Many contemporary systems are hybrid, combining centralized services with distributed components.

8. Network Topologies

A topology describes how devices and links are arranged. Physical topology concerns actual connections; logical topology concerns how data flows.

  • Bus topology: devices share a common backbone. It can be economical for small or legacy systems, but a backbone failure may affect many devices and contention can reduce performance.
  • Star topology: each device connects to a central switch or hub. It is easy to manage and expand, although failure of the central device can disrupt the connected segment.
  • Ring topology: each device connects to two neighbors, forming a loop. A controlled circulation of data can reduce collisions, but a single break may disrupt the ring unless redundancy exists.
  • Mesh topology: devices have many interconnections. Meshes provide redundancy and resilience but require more links, ports, and management.
  • Tree topology: groups of star networks are arranged hierarchically. It supports structured expansion but creates dependence on higher-level devices.
  • Hybrid topology: combines two or more forms and is common in practical enterprise networks.

Topology choice is an engineering decision. Cost, availability requirements, traffic patterns, ease of troubleshooting, physical layout, and future growth must be considered together.

9. Protocols, Standards, and Layered Models

A protocol specifies communication behavior. A standard is an agreed technical specification intended to promote compatibility, consistency, safety, or interoperability. Standards may be developed by formal organizations such as ISO, the IEEE, and the IETF, or may become widely adopted through implementation and use. A protocol can be standardized, proprietary, or both standardized and extended by vendors.

Layering divides a complex communication task into manageable functions. The OSI reference model describes seven conceptual layers: physical, data link, network, transport, session, presentation, and application. The Internet protocol suite is commonly explained using fewer, differently named layers. These models are not identical implementation blueprints; they are analytical frameworks that help students reason about responsibilities and interfaces.

Encapsulation occurs when a higher-layer protocol data unit becomes the payload of a lower-layer unit. At the destination, decapsulation removes the lower-layer information. Layering supports modularity: an application can often operate over different underlying media, and a link technology can carry different higher-layer protocols.

A protocol stack must address naming and addressing, framing, error detection, flow control, congestion control, routing, session behavior, and data interpretation. No single protocol normally performs all these functions.

10. Performance Criteria

Important criteria for evaluating a communication system include:

  • Bandwidth or capacity: the theoretical or configured maximum carrying capability.
  • Throughput: the actual rate achieved.
  • Goodput: useful application data rate.
  • Latency: time required for data to travel and be processed.
  • Jitter: variation in packet delay, especially important for voice and video.
  • Reliability: ability to deliver data correctly and consistently.
  • Availability: proportion of time a service is operational.
  • Scalability: ability to support growth in users, devices, traffic, or geographic coverage.
  • Security: protection of confidentiality, integrity, authentication, and availability.
  • Efficiency: useful delivery relative to consumed bandwidth, energy, and other resources.

These criteria can conflict. Encryption and error correction may add overhead but improve security and reliability. Redundant links increase availability but raise cost. Wireless mobility provides flexibility but can introduce interference, variable capacity, and security concerns.

A useful conceptual measure is utilization, defined as the fraction of available capacity being used. High utilization is not always desirable: when queues become saturated, delay and packet loss may increase sharply. Network design therefore seeks an appropriate balance between efficiency, responsiveness, resilience, and cost.

11. Applied Case: Reliable Communication for a University Campus

Background

Consider this illustrative case. A university operates administrative systems, online learning services, research laboratories, residence halls, and a campus-wide wireless network. The existing network is fast in the central buildings but users report slow video lectures and intermittent access in crowded areas.

Problem

The symptoms have several possible causes: insufficient wireless capacity, overloaded uplinks, poor radio coverage, queueing, interference, or server limitations. Increasing the nominal bandwidth everywhere without diagnosis could waste resources.

Analysis

The network team measures throughput, latency, jitter, packet loss, access-point utilization, link utilization, and peak demand. They distinguish transmission delay from queueing delay and compare wired and wireless performance. They also examine whether applications use encryption, compression, and retransmission effectively.

Measurements show that central uplinks are adequate, but several residence-hall access points operate near capacity during evening peaks. Adjacent access points use overlapping radio channels, producing interference. Video traffic competes with software updates and large backups.

Approach and solution

The university installs additional access points after a site survey, assigns channels using a managed radio plan, upgrades selected uplinks, and applies quality-of-service policies for interactive learning traffic. Large updates are scheduled outside peak hours. Network segmentation limits the effect of faults and improves security. Monitoring dashboards provide alerts for rising latency, packet loss, and utilization.

Outcome

The changes reduce peak congestion and improve consistency rather than merely increasing the advertised link rate. Video sessions experience lower jitter, and troubleshooting becomes faster because performance measurements identify the location and type of problem.

Learning points

The case demonstrates that data communication performance is multidimensional. Capacity, delay, interference, protocol behavior, application demand, topology, and management practices must be analyzed together. It also illustrates the importance of measurement before investment.

12. Security, Ethics, and Governance

Communication systems carry personal, financial, health, educational, and business information. Security should therefore be designed into the system rather than added only after deployment. Confidentiality protects information from unauthorized disclosure; integrity protects it from unauthorized modification; authentication verifies identities; availability ensures legitimate access.

Organizations should use appropriate encryption, access controls, secure configuration, monitoring, patch management, segmentation, and incident-response procedures. Data minimization and retention limits reduce the consequences of compromise. Administrators must respect privacy, obtain authorization before monitoring traffic, and follow applicable laws and institutional policies.

Network neutrality, lawful interception, surveillance, cross-border data transfer, accessibility, and the digital divide raise governance questions. A technically efficient network may still be socially harmful if it excludes users, enables unjustified surveillance, or distributes access unfairly. Professional practice requires balancing performance with legal, ethical, and social responsibilities.

13. Contemporary Developments

Modern communication systems increasingly combine fibre, 5G and other wireless technologies, satellite links, edge computing, cloud platforms, and Internet of Things devices. Software-defined networking separates some control decisions from forwarding hardware, while network virtualization allows multiple logical networks to share infrastructure. Artificial intelligence and machine learning are being used for traffic prediction, anomaly detection, fault diagnosis, and resource optimization. However, automated decisions require trustworthy data, explainable operational policies, security against manipulated inputs, and human oversight.

The growth of connected sensors increases the importance of low-power communication, device identity, lifecycle management, and secure firmware updates. Quantum communication research may affect specialized security applications, but it does not replace the conventional networking principles introduced in this chapter.

Best-Practice Principles

A sound data communication design should:

  1. identify application requirements before selecting technology;
  2. specify capacity, delay, reliability, security, and availability targets;
  3. use open standards where interoperability and long-term support matter;
  4. separate concerns through appropriate layering and segmentation;
  5. include redundancy for important services;
  6. measure actual performance rather than relying on nominal rates;
  7. protect data and devices throughout their lifecycle;
  8. document topology, addressing, configurations, and dependencies;
  9. plan for growth, failure, maintenance, and recovery;
  10. review ethical, legal, accessibility, and privacy implications.

Chapter Summary

Data communication is the exchange of information between devices through a medium according to shared protocols. Its fundamental components are a message, sender, receiver, transmission medium, transmitter and receiver circuitry, and protocol rules. Telecommunications is the broader field of long-distance information transfer, while computer networking emphasizes interconnected computing devices and shared services.

Data is represented in binary form and may encode text, numbers, images, audio, or video. Signals carry these representations through guided or unguided media. Transmission may be simplex, half-duplex, or full-duplex, and serial or parallel. Networks vary in scope, architecture, topology, ownership, and technology.

Protocols and standards enable interoperability, while layered models organize communication functions. Performance must be assessed using capacity, throughput, goodput, latency, jitter, reliability, availability, scalability, security, and efficiency. Practical design requires measurement, trade-off analysis, and attention to governance and ethics. These foundations prepare students for detailed study of network architectures, transmission systems, error control, switching, routing, and Internet protocols.

Key Terms

Bandwidth: Frequency range or, informally, maximum data-carrying rate of a channel.

Bit: A binary digit with a value of 0 or 1.

Computer network: Interconnected computing devices that exchange data or share resources.

Data communication: Exchange of data between devices through a transmission medium.

Decapsulation: Removal of lower-layer control information at a receiving system.

Duplex: Classification of communication direction, including simplex, half-duplex, and full-duplex.

Encapsulation: Addition of protocol information as data moves down a protocol stack.

Goodput: Useful application data delivered per unit time.

Latency: Time taken for data to travel and be processed.

Medium: Physical or wireless path carrying a signal.

Network topology: Physical or logical arrangement of network devices and links.

Packet: Structured unit of data used at a network layer.

Protocol: Rules governing communication between devices or processes.

Reliability: Ability to deliver data correctly and consistently.

Standard: Agreed specification supporting interoperability or consistent implementation.

Throughput: Actual data-transfer rate achieved by a system or flow.

Transmission delay: Time required to place all bits of a message onto a link.

Telecommunications: Transmission of information over distance using electronic or electromagnetic systems.

Jitter: Variation in packet delay.

BER: Bit error rate, calculated as erroneous bits divided by observed received bits.

Review Questions

Short Answer Questions

  1. Define data communication and identify its basic components.
  2. How does computer networking differ from telecommunications?
  3. Distinguish bandwidth, throughput, and goodput.
  4. What is the difference between half-duplex and full-duplex transmission?
  5. Why are protocols and standards important?

Long Answer Questions

  1. Explain the basic communication model and discuss the function of each component.
  2. Compare bus, star, ring, mesh, and tree topologies, including their advantages and limitations.
  3. Explain data representation for text, numbers, images, audio, and video.
  4. Discuss layered communication models, encapsulation, and decapsulation.
  5. Explain the principal performance criteria used to evaluate a communication system.

Analytical / Application Questions

  1. A 24,000,000-bit file is transmitted over a 20 Mbit/s link. Calculate the transmission time, state the assumptions, and explain why the actual user-perceived delay may be greater.
  2. A campus network has adequate backbone capacity but severe evening wireless congestion. Identify measurements that should be collected and recommend a logically justified improvement plan.
  3. Select a topology and transmission mode for a safety-critical industrial monitoring system. Defend your choices using reliability, latency, scalability, security, and cost criteria.

Multiple Choice Questions with Answers

Question 1

Which element specifies the rules governing communication between devices?

A. Protocol

B. Transmission medium

C. Message

D. Topology

Correct Answer: A. Protocol

Question 2

A communication system that supports simultaneous transmission in both directions is operating in which mode?

A. Simplex

B. Half-duplex

C. Full-duplex

D. Serial

Correct Answer: C. Full-duplex

Question 3

A 1,000,000-bit message is transmitted at 10,000,000 bit/s. Ignoring other delays, what is the transmission time?

A. 0.01 s

B. 0.1 s

C. 1 s

D. 10 s

Correct Answer: B. 0.1 s

Question 4

Which topology connects each device to a central device?

A. Ring

B. Bus

C. Mesh

D. Star

Correct Answer: D. Star

Question 5

What does goodput measure?

A. The frequency range of a channel

B. Useful application data delivered per unit time

C. The physical distance between devices

D. The number of devices in a network

Correct Answer: B. Useful application data delivered per unit time

Question 6

Which statement correctly distinguishes propagation delay from transmission delay?

A. Propagation delay is the time to place bits onto a link, while transmission delay is signal travel time.

B. Propagation delay is caused only by encryption, while transmission delay is caused only by routing.

C. Propagation delay concerns signal travel, while transmission delay concerns placing all message bits onto the link.

D. They are two names for exactly the same quantity.

Correct Answer: C. Propagation delay concerns signal travel, while transmission delay concerns placing all message bits onto the link.

Question 7

Which network classification normally refers to a network covering a room, building, or campus segment?

A. LAN

B. WAN

C. MAN

D. PAN

Correct Answer: A. LAN

Question 8

What is encapsulation in a layered protocol architecture?

A. Removing all addressing information before transmission

B. Adding protocol information as data moves down the stack

C. Converting digital data into analogue data only

D. Increasing the physical distance between nodes

Correct Answer: B. Adding protocol information as data moves down the stack

Question 9

If 200 erroneous bits are observed among 1,000,000 received bits, what is the BER?

A. 0.0002

B. 0.002

C. 0.02

D. 2

Correct Answer: A. 0.0002

Question 10

Which criterion refers to variation in packet delay?

A. Availability

B. Jitter

C. Scalability

D. Capacity

Correct Answer: B. Jitter

Data Communication
Chapter 1 of 14