Data Communication and Networking

Chapter 1
Foundations of Data Communication and Networking

Diploma in Computer Architecture and Networking
Data Communication and Networking   •   Diploma

Foundations of Data Communication and Networking

Introduction

Modern computing depends on communication. A computer that cannot exchange data with other devices has limited practical value, while a networked system can support web services, cloud computing, digital payments, industrial control, education, entertainment and global collaboration. Data communication and networking provide the principles and technologies that allow information to move between devices accurately, efficiently and securely.

Data communication is the exchange of data between two or more devices through a transmission medium. Networking is the broader discipline concerned with connecting devices, organising communication, sharing resources and managing services. The devices may be in the same room, across a campus or on different continents.

A successful communication system must deliver information to the intended destination, preserve its meaning, provide acceptable speed and remain dependable. These requirements introduce concepts such as protocols, addressing, bandwidth, throughput, latency, jitter, error control, topology and network scope.

Learning Objectives

After completing this chapter, a learner should be able to:

  • define data communication and explain its essential components;
  • distinguish data, signals, information, protocols and standards;
  • classify networks by geographical scope, architecture and transmission method;
  • describe common physical and logical network topologies;
  • explain the roles of clients, servers, switches, routers, access points, modems and transmission media;
  • distinguish bandwidth, throughput, goodput, latency, jitter and reliability;
  • calculate basic transmission and propagation quantities;
  • explain the importance of standards and layered networking models;
  • evaluate a small network design using technical and professional criteria.

1. Data Communication as a System

Data communication involves the movement of a message from a source to a destination. The message may contain text, numbers, images, audio, video or control information. At the communicating devices, information is represented as bits—binary digits with values 0 or 1. These bits are encoded into electrical, optical or radio signals and transmitted through a medium.

A basic communication system has five essential components:

  1. Sender: the device that originates the data.
  2. Receiver: the device that accepts the data.
  3. Message: the information being communicated.
  4. Transmission medium: the physical or wireless path.
  5. Protocol: the agreed rules governing communication.

A protocol defines such matters as message format, addressing, timing, sequencing, error detection and responses. Without a protocol, two devices may transmit signals but still fail to interpret each other correctly.

Communication may be simplex, half-duplex or full-duplex. In simplex communication, data travels in one direction only, as in a traditional broadcast. In half-duplex communication, both devices can transmit, but not simultaneously; a walkie-talkie is a familiar example. In full-duplex communication, both directions operate simultaneously, as in a telephone call or a switched Ethernet link.

Communication may also be serial or parallel. Serial communication sends bits sequentially over one channel and is dominant in modern networks because it requires fewer conductors and works well over distance. Parallel communication sends several bits simultaneously over multiple conductors, but timing differences between conductors limit its long-distance usefulness.

2. Fundamental Terminology

A bit is a binary digit. A byte is normally eight bits. Data rate is commonly expressed in bits per second (bit/s), such as kbit/s, Mbit/s or Gbit/s. Storage capacity is usually expressed in bytes, such as MB or GB; therefore, bit and byte units must not be confused. For example, 100 Mbit/s is approximately 12.5 MB/s before protocol overhead because:

100 Mbit/s ÷ 8 = 12.5 MB/s

A signal is a physical representation of data. An analogue signal varies continuously, while a digital signal is represented using discrete signal levels or symbols. A channel is a path or logical resource used to carry a signal. A link is a communication connection between two network interfaces. A node is any device capable of sending, receiving or forwarding data. An endpoint is a source or destination device, such as a laptop or server.

A network interface connects a device to a network. It may be wired, such as an Ethernet port, or wireless, such as a Wi-Fi adapter. A frame is commonly a data-link-layer unit, a packet a network-layer unit, and a segment a transport-layer unit, although terminology varies among protocols. Encapsulation is the process of adding control information as data moves down a protocol stack; decapsulation is the reverse process at the receiver.

An address identifies a device or interface, while a name is a human-oriented identifier, such as a domain name. A bandwidth may describe the frequency range of a channel or its nominal data-carrying capacity. In performance discussions, bandwidth is often expressed as a bit rate, but the context should always be stated.

3. Components of a Network

End devices

End devices, also called hosts, originate or consume user data. Examples include desktop computers, mobile phones, printers, cameras, sensors, servers and industrial controllers. A host normally has an operating system, network interface and protocol software.

Intermediary devices

Intermediary devices connect networks or forward traffic.

  • A hub repeats incoming signals to multiple ports. It has no selective forwarding intelligence and is largely obsolete.
  • A bridge connects local network segments and filters traffic using link-layer addresses.
  • A switch is a multiport bridge that forwards frames selectively. It reduces unnecessary traffic and commonly provides dedicated links to connected devices.
  • A router forwards packets between different networks using logical addresses and routing information.
  • A wireless access point provides radio-based access to a wired or wireless local network.
  • A modem performs modulation and demodulation or equivalent signal adaptation to connect a customer network to a service provider.
  • A firewall enforces traffic-control rules between security zones. It may be implemented as a device, software or cloud service.

Transmission media

Guided media carry signals through a physical path. Twisted-pair copper is inexpensive and widely used in local networks. Coaxial cable offers shielding and is used in some broadband and specialised systems. Optical fibre carries light through glass or plastic and provides high capacity, low attenuation and immunity to electromagnetic interference.

Unguided media use electromagnetic propagation through space. Wi-Fi, cellular radio, microwave and satellite systems are examples. Wireless communication enables mobility but is affected by interference, obstacles, shared capacity and security risks.

Network software and services

Network operating systems and communication protocols support addressing, name resolution, authentication, routing, file access, web services and monitoring. Common services include the Domain Name System (DNS), Dynamic Host Configuration Protocol (DHCP), web services, email and directory services.

4. Protocols, Standards and Layered Models

A protocol specifies how communication occurs. A protocol typically defines syntax, semantics and timing. Syntax describes the structure and order of fields. Semantics defines the meaning of fields and actions. Timing concerns when data may be transmitted and how long devices should wait for a response.

A standard is an agreed technical specification intended to promote compatibility, safety or consistent implementation. Standards may be developed by professional organisations, industry consortia or governmental bodies. Important organisations include:

  • ISO, which developed the Open Systems Interconnection (OSI) reference model;
  • IEEE, which develops standards including Ethernet and Wi-Fi families;
  • IETF, which publishes Internet standards and specifications through Requests for Comments;
  • ITU-T, which develops telecommunications recommendations;
  • TIA and ANSI, which support cabling and related technical standards.

Standards may be open, allowing broad implementation, or proprietary, controlled by a particular vendor. Open standards generally improve interoperability and reduce dependence on one supplier, although implementation quality and optional features can still differ.

Layered communication

Layering divides a complex communication task into manageable functions. Each layer provides services to the layer above and uses services from the layer below. A layer can often be changed without redesigning the entire system, provided its interfaces remain compatible.

The seven-layer OSI model is a conceptual framework:

LayerPrincipal concernExamples of functions
7 ApplicationNetwork services for applicationsWeb, email, name services
6 PresentationRepresentation and transformationEncoding, compression, encryption
5 SessionDialog managementSession establishment and control
4 TransportEnd-to-end deliveryReliability, flow control, ports
3 NetworkInternetwork deliveryLogical addressing and routing
2 Data linkLocal deliveryFraming, media access, link addressing
1 PhysicalSignals and mediaConnectors, voltages, radio and light

The Internet protocol suite is commonly described using four or five layers: application, transport, internet, and link, with the physical layer sometimes separated. The OSI model is valuable for analysis and troubleshooting, while the Internet suite reflects widely deployed protocols. These models are related but should not be treated as identical implementations.

5. Network Topologies

A topology describes how network elements are arranged. Physical topology concerns actual cables, radios and device placement. Logical topology concerns how data flows, which may differ from the physical arrangement.

Bus topology

In a bus, devices share a common backbone. It uses relatively little cable, but a backbone failure can affect many devices. Shared access can cause collisions or contention, and fault isolation may be difficult. Traditional shared Ethernet used bus-like arrangements, but switched star networks have largely replaced them.

Star topology

In a star, each endpoint connects to a central switch or hub. A failed endpoint cable usually affects only one device, and the central device simplifies management. The central device is a potential single point of failure, although redundant designs can reduce this risk.

Ring topology

In a ring, each node connects to two neighbouring nodes. Data may travel around the ring in one or both directions. Rings can provide predictable access and, in some technologies, resilience through a secondary path. A break may disrupt communication unless protection mechanisms exist.

Mesh topology

A full mesh connects every node directly to every other node. For n nodes, the number of point-to-point links is:

L = n(n − 1) ÷ 2

where L is the number of links and n is the number of nodes. This formula assumes one bidirectional link between each pair and no parallel duplicate links. A full mesh offers high redundancy but becomes expensive as n increases. A partial mesh connects only selected nodes and is common in wide-area and backbone networks.

Tree and hybrid topologies

A tree is a hierarchy of stars or branches. It supports structured expansion but may concentrate failure or congestion near higher-level devices. A hybrid topology combines two or more arrangements. Enterprise networks commonly combine star-based access networks with redundant mesh-like core connections.

6. Network Classification

By geographical scope

  • Personal Area Network (PAN): a few metres around an individual, such as Bluetooth peripherals.
  • Local Area Network (LAN): a home, office, laboratory or building.
  • Wireless LAN (WLAN): a LAN using wireless access, commonly Wi-Fi.
  • Campus Area Network (CAN): interconnected LANs across an institution or campus.
  • Metropolitan Area Network (MAN): networks spanning a city or metropolitan region.
  • Wide Area Network (WAN): networks covering large geographical areas and often using carrier services.
  • Internet: a global interconnection of independently administered networks.

These categories are approximate rather than rigid. A network is also defined by ownership, technology, purpose and administrative boundaries.

By architecture

In a peer-to-peer network, devices may act as both clients and providers. This is simple and inexpensive for small groups but can be difficult to manage securely at scale. In a client-server architecture, clients request services from dedicated servers. Centralised authentication, backup, policy and resource management are advantages, although servers and network links require protection against failure.

By transmission and access

Networks may use wired or wireless transmission, point-to-point or multipoint links, and unicast, broadcast, multicast or anycast delivery. Unicast sends to one destination, broadcast to all devices in a defined domain, multicast to a selected group, and anycast to one suitable member of a group.

7. Network Performance Measures

Performance is multidimensional. A link with high nominal speed may still provide poor application performance if it has high delay, loss or instability.

Bandwidth and capacity

In communication engineering, bandwidth can mean the frequency range occupied by a signal, measured in hertz. In everyday networking, it often means the nominal data rate of a link, measured in bit/s. For clarity, use capacity or link rate when referring to a maximum bit rate.

Capacity is not the same as achieved performance. Protocol headers, acknowledgements, contention, retransmissions and device limitations reduce the rate available to an application.

Throughput and goodput

Throughput is the actual rate at which data is delivered over a connection during a period. If D bits are delivered in time T seconds:

Throughput = D ÷ T

Throughput is measured in bit/s. Goodput is the rate of useful application data, excluding protocol headers, retransmitted data and sometimes control traffic. Thus, goodput is normally less than or equal to throughput.

Worked example. A file transfer delivers 900 megabits in 30 seconds. Ignoring the distinction between decimal and binary prefixes for this example:

Throughput = 900 Mbit ÷ 30 s = 30 Mbit/s

The result is an average throughput, not a guarantee of future performance.

Latency and delay

Latency is the time between an event and its observed response. Network delay can include processing, queuing, transmission and propagation components:

Dtotal = Dprocessing + Dqueue + Dtransmission + Dpropagation

The variables represent total delay and its four components, all measured in seconds. This additive model assumes the components occur sequentially for the measured packet.

Transmission delay is the time required to place all packet bits onto a link:

Dtransmission = L ÷ R

L is packet length in bits and R is link rate in bit/s. Propagation delay is the time for the signal to travel through the medium:

Dpropagation = d ÷ v

Here d is distance in metres and v is propagation speed in metres per second. Transmission delay depends on packet size and link rate; propagation delay depends mainly on distance and the medium.

Worked example. A 12,000-bit packet crosses a 100 Mbit/s link. The transmission delay is:

Dtransmission = 12,000 bit ÷ 100,000,000 bit/s = 0.00012 s = 0.12 ms

This calculation excludes propagation, processing and queuing delays.

Round-trip time

Round-trip time (RTT) is the time for a message to reach a destination and for a response to return. It is affected by path delay, queuing, processing and the response mechanism. RTT is not necessarily exactly twice one-way delay because the forward and reverse paths may differ.

Jitter

Jitter is variation in packet delay. It is especially important for voice, interactive video and industrial control. A stream with moderate constant delay may work well, whereas a stream with variable delay may produce gaps or distortion. Buffers can reduce the visible effect of jitter, but excessive buffering increases latency.

Packet loss and reliability

Packet loss occurs when data is discarded, corrupted beyond recovery or otherwise fails to reach its destination. Reliability describes the probability that communication performs correctly under specified conditions. It may involve delivery success, data integrity, availability and recovery.

If independent packet delivery succeeds with probability p for each of n packets, the probability that all n arrive successfully is:

Pall = pn

This model assumes independent events and identical success probability, assumptions that may not hold on real networks. For p = 0.99 and n = 100, P_all ≈ 0.99¹⁰⁰ ≈ 0.366. The example illustrates why long transfers need mechanisms such as acknowledgements, retransmission, error detection and application-level recovery.

Availability

Availability is the proportion of time a service is operational. A basic expression is:

Availability = Uptime ÷ (Uptime + Downtime)

Both uptime and downtime must use the same unit. Availability targets should specify the measurement period, service boundary and maintenance exclusions. High availability requires redundancy, monitoring, tested recovery and careful change management.

8. Practical Network Design Considerations

A network should be designed from requirements rather than from equipment lists. Important questions include:

  • How many users and devices must be supported?
  • What applications are used, and how sensitive are they to delay or loss?
  • What capacity is required now and during peak demand?
  • What security zones and access rules are needed?
  • Which failures are acceptable, and how quickly must service recover?
  • What budget, skills, physical constraints and regulatory requirements apply?

A professional design normally includes an addressing plan, topology diagram, equipment roles, cabling specification, wireless coverage assessment, security policy, monitoring approach, backup configuration and test plan. Documentation should identify ports, cables, device names, software versions and configuration owners.

Security must be designed from the beginning. Strong authentication, least privilege, segmentation, secure management protocols, timely patching, encryption where appropriate, logging and incident response reduce risk. Privacy laws and institutional policies may govern the collection and retention of network logs. Administrators should monitor networks lawfully, protect credentials and avoid accessing personal content without proper authority.

9. Applied Case: Designing a Small Technical College Network

Background

This illustrative case concerns a technical college with three buildings, 600 students, 80 staff members, laboratories, online learning services, administrative systems and guest Wi-Fi.

Problem

The existing network uses unmanaged switches and a flat address space. Users report slow access during examinations, wireless dead zones and occasional unauthorised access to laboratory computers. There is no central monitoring and recovery from a switch failure is slow.

Analysis

The requirements include reliable access to learning systems, separation of student, staff, guest and laboratory traffic, sufficient wireless capacity, improved fault isolation and measurable performance. Examination traffic creates predictable peak demand. Laboratory devices require controlled access, while guests should reach the Internet but not internal systems.

Approach and solution

A hierarchical design is selected. Managed access switches connect classrooms and laboratories to a redundant distribution layer. Routers or Layer 3 switches provide inter-network routing and policy enforcement. Wireless access points are positioned after a site survey rather than by equal spacing alone. Virtual LANs separate staff, students, guests, voice or video, and laboratory equipment. Firewalls control traffic between internal zones and the Internet.

The design uses structured copper cabling for ordinary access connections and fibre uplinks between buildings. DHCP supplies endpoint configuration, while DNS provides names. Central authentication controls staff and student access. Monitoring records link utilisation, error rates, packet loss, latency and device availability. Spare equipment and documented configurations support recovery.

Outcome

The proposed architecture does not promise unlimited speed; instead, it creates measurable service objectives. The college can compare peak throughput with link capacity, identify high latency or loss, locate failing components and apply access rules consistently. Redundant uplinks reduce the impact of a single failure, while segmentation limits the spread of a compromised device.

Learning points

The case demonstrates that topology, performance, security and administration are interdependent. A high-capacity link cannot compensate for poor coverage, overloaded access points, weak authentication or inappropriate traffic policies. Good design begins with users and applications, then selects standards-based technologies that can be monitored and maintained.

10. Contemporary Developments and Limitations

Networks increasingly combine cloud services, edge computing, Internet of Things devices, software-defined networking, virtual networks and wireless technologies. These developments improve flexibility but introduce more identities, software dependencies and attack surfaces. Artificial intelligence can assist with anomaly detection, capacity forecasting and incident prioritisation, but automated conclusions require validated data, human oversight and protection against false positives.

No single performance measure is sufficient. Bandwidth does not reveal latency; low latency does not guarantee reliability; high availability does not prove that applications are usable. Measurements must state location, time period, traffic type, packet size, path and collection method. Synthetic tests may differ from real user experience, and averages can hide short but damaging outages or jitter spikes.

Best practice is therefore to establish a baseline, define service-level objectives, monitor multiple indicators, test under realistic load, document assumptions and review results over time. Standards compliance should be verified through implementation documentation and testing, not assumed merely because a product label uses a familiar term.

Chapter Summary

Data communication is the exchange of data through a medium according to agreed protocols. Its essential components are sender, receiver, message, medium and protocol. Networks contain endpoint devices, intermediary devices, transmission media and software services. Switches primarily support local forwarding, while routers connect different networks and apply routing decisions.

Network protocols define syntax, semantics and timing. Standards from organisations such as ISO, IEEE, IETF and ITU-T promote interoperability. Layered models simplify the analysis of communication functions, although the OSI reference model and the Internet protocol suite are not identical.

Topologies—including bus, star, ring, mesh, tree and hybrid—differ in cost, scalability, redundancy and fault behaviour. Networks may also be classified as PANs, LANs, WLANs, CANs, MANs, WANs or the Internet, and as peer-to-peer or client-server systems.

Capacity, throughput, goodput, latency, jitter, loss and availability measure different aspects of performance. Throughput is delivered data per unit time; delay includes processing, queuing, transmission and propagation; jitter is delay variation; and reliability concerns successful, accurate and dependable operation. Effective network design integrates performance, security, resilience, standards, documentation and legal responsibilities.

Key Terms

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

Network: Interconnected devices and communication links that share data or services.

Protocol: Rules governing the format, meaning and timing of communication.

Standard: Agreed technical specification supporting compatibility or consistent implementation.

Node: Device capable of sending, receiving or forwarding data.

Endpoint: Source or destination device in a communication session.

Switch: Device that forwards frames within a local network.

Router: Device that forwards packets between networks.

Topology: Physical or logical arrangement of network components.

LAN: Network covering a limited area such as a building or office.

WAN: Network spanning large geographical areas, often using carrier services.

Bandwidth: Frequency range or, in common usage, nominal data-carrying rate.

Throughput: Actual amount of data delivered per unit time.

Goodput: Useful application data delivered per unit time.

Latency: Time between an event and its response or delivery.

Jitter: Variation in packet delay.

Reliability: Ability to perform required communication correctly and consistently.

Availability: Proportion of specified time during which a service is operational.

Encapsulation: Addition of control information as data moves down protocol layers.

Segmentation: Separation of a network into logical or security domains.

Review Questions

Short Answer Questions

  1. What five components are essential to a basic data communication system?
  2. Distinguish a switch from a router.
  3. What is the difference between physical and logical topology?
  4. Define throughput and goodput.
  5. What is jitter, and why does it matter for voice communication?

Long Answer Questions

  1. Explain the purpose of protocols and standards, and compare the OSI model with the Internet protocol suite.
  2. Describe star, ring, mesh and tree topologies, including one advantage and one limitation of each.
  3. Classify networks by geographical scope and explain why these classifications are approximate.
  4. Explain the components of network delay and distinguish transmission delay from propagation delay.
  5. Discuss the technical, security and management factors involved in designing a college network.

Analytical / Application Questions

  1. A 24,000-bit packet is sent across a 200 Mbit/s link. Calculate its transmission delay and state which real-world delays are excluded from the calculation.
  2. A company requires separate staff, guest and laboratory access, central authentication and continued operation after one access-switch failure. Propose a topology and segmentation approach, and justify your choices.
  3. A video application reports high throughput but poor quality. Analyse how latency, jitter, packet loss, buffering and goodput could explain the problem, and recommend measurements to collect.

Multiple Choice Questions with Answers

Question 1

Which component defines the rules for message format, meaning and timing?

A. Transmission medium

B. Protocol

C. Network interface

D. Topology

Correct Answer: B. Protocol

Question 2

Which device normally forwards packets between different networks?

A. Hub

B. Repeater

C. Router

D. Patch panel

Correct Answer: C. Router

Question 3

A network covering a single office building is most commonly classified as a:

A. PAN

B. LAN

C. MAN

D. WAN

Correct Answer: B. LAN

Question 4

Which topology connects endpoints to a central device?

A. Bus

B. Ring

C. Mesh

D. Star

Correct Answer: D. Star

Question 5

A 12,000-bit packet crosses a 100 Mbit/s link. What is its transmission delay?

A. 0.012 ms

B. 0.12 ms

C. 1.2 ms

D. 12 ms

Correct Answer: B. 0.12 ms

Question 6

Which measure describes variation in packet delay?

A. Jitter

B. Goodput

C. Capacity

D. Availability

Correct Answer: A. Jitter

Question 7

If 900 megabits are delivered in 30 seconds, the average throughput is:

A. 3 Mbit/s

B. 27 Mbit/s

C. 30 Mbit/s

D. 270 Mbit/s

Correct Answer: C. 30 Mbit/s

Question 8

Which statement about goodput is correct?

A. It includes all retransmitted data by definition.

B. It is always greater than link capacity.

C. It measures useful application data delivered per unit time.

D. It is another name for propagation speed.

Correct Answer: C. It measures useful application data delivered per unit time.

Question 9

Which organisation is strongly associated with Ethernet and Wi-Fi standards?

A. IEEE

B. IETF

C. ITU-T

D. ISO

Correct Answer: A. IEEE

Question 10

Which topology generally provides the greatest direct-link redundancy but becomes expensive as the number of nodes grows?

A. Bus

B. Full mesh

C. Star

D. Single ring

Correct Answer: B. Full mesh

Data Communication and Networking
Chapter 1 of 14