Every topic starts at New. Sign in and your practice counts.
Data communication refers to the process of exchanging data or information (through a computer network) between two or more devices or systems through a transmission medium such as cables, optical fibers, or wireless mediums. This communication can involve the transfer of various types of data, including text, numbers, images, audio, and video, and it is a fundamental component of modern information technology and
This figure is being prepared.
telecommunications.
A simple communication network having wired and wireless connections is shown in Fig.1.31.
Data communication is the process of transferring information from one point to another in a networking environment. Network communication consists of five basic components, as shown is Fig.1.32.
This figure is being prepared.
Components of Network Communication
Sender
Sender, also called transmitter is a computer/device that sends the message (data or information) from source to destination in a communication network. It may be a computer, workstation, cell phone or camera. The sender device converts the electrical signal into a form that is suitable for transmission over the communication network.
Message
Message is the data or information that is to be transmitted. Message can be in the form of text, audio, video, or any combination of these.
Medium
Medium is the path through which message travels from source to destination.
Medium can be wired, for example telephone cable, coaxial cable and fibre optics. It can also be wireless for example Bluetooth, Wi-Fi, microwave, radio wave and satellite.
Receiver
Receiver is the device which receives transmitted message. It can be a computer, workstation, telephone handset or television set. The data received from the transmission medium may not be in proper form to be accepted to the receiver and it must be converted to appropriate form before it is received.
Protocol
A protocol is a set of rules that governs data communications. It represents an agreement between the communicating devices. Without a protocol, two devices are connected but may not communicating with each other.
1.9.2 Modes of.Network Communication
Modes of network communication refer to the methods or the ways information is transmitted from one place to another.
The following are different modes of data communication
Simplex mode
In Simplex mode, the communication takes place in only one direction. In this mode communication is unidirectional, i.e. the communication can only take place in one direction and it is not possible for the receiver to send data back. For example data being sent to an electronic notice board found in train stations and Airports. Radio information from a computer to a printer is also in one direction, as shown in Fig.1.33.
Half-duplex mode
In half-duplex mode, the communication takes place in both the directions but not at the same time. The signal can only be sent or received at one time. A common example of this type of communication is the use of walkie-talkies, where each of the persons communicating
This figure is being prepared.
and television broadcastings are also examples of simplex transmission. Transmission of
This figure is being prepared.
Half-duplex mode of data communication
must indicate when they have finished speaking. Half-duplex transmission is used also in transaction-oriented systems, for example communication between a computer and credit card machine as shown in the Fig.1.34.
Full-duplex mode
In full-duplex mode, the communication takes place in both the directions at the same time. In this mode, both sender and receiver can send and receive the data simultaneously, for example two or more computers connected to a network device such as a switch that provides full duplex activity. It is the fastest bi-directional mode of communication. The time. computers as shown on Fig. 1.35.
Asynchronous Transmission The start bit tells the receiver that a character is coming and stop bit indicates that the transmission of character has ended. This type of transmission is ideal for slow-speed communication when gaps may occur during transmission.
This figure is being prepared.
Asynchronous transmission
full-duplex mode is like a two way street, with traffic flowing in both directions at the same
One common example of full-duplex communication is the telephone network. When two people are communicating by a telephone line, both can talk and listen at the same time. Also full-duplex mode is the most suitable for data communication between
In asynchronous transmission, the time interval between two characters is variable and not fixed as shown in Fig.1.36. The computer devices can exchange information at their own rate, slow or fast. Start and Stop bits are used in asynchronous transmission. These bits provide timing (synchronization) for the connection between the sender and the receiver.
Synchronous Transmission
In contrast, synchronous transmission uses a consistent time interval between characters. Here, the sender and receiver devices are synchronized to send data continuously, even when no data is being transmitted (by sending an idle character). No start or stop bits are needed, and the data is transmitted as one continuous bit stream or block. The receiver then counts the bits and reconstructs the data. This method is faster than asynchronous transmission because fewer control bits (like start and stop bits) are needed. A common example of synchronous transmission is the data exchange between devices in network communications.
This figure is being prepared.
1.9.3 Communication Devices
Communication devices are used to transmit data between locations in telecommunication systems. Common devices include Hub, Switch, Router, and Gateway.
Hub
A hub is a basic device that connects multiple devices in a Local Area Network (LAN). It broadcasts data to all connected devices, meaning every device sees the same data. Hubs are simple but inefficient since they send data to every device, regardless of the intended recipient.
Switch
A switch is a more intelligent device compared to a hub. It inspects incoming data packets, determines which device the data is for, and sends it only to the correct device. This reduces network traffic and increases efficiency.
Router
A router connects multiple networks, often linking a local network to the internet. It determines the best path for data packets to travel from one network to another and forwards them accordingly. Routers help direct internet traffic and are essential
This figure is being prepared.
for network communication. A wireless router is shown in Fig.1.40.
Gateway
A gateway connects different types of networks that use different protocols. It acts as a translator, converting data formats from one network to another to ensure compatibility. For instance, it may connect a network of PCs with an IBM mainframe network.
Comparison of Communication Devices
| Device | Function | Example |
|---|---|---|
| Hub | Broadcasts data to all devices in a network. | Basic home or office network setup. |
| Switch | Directs data only to the intended device. | Efficient local network communication. |
| Router | Connects different networks and directs data. | Connecting a home network to the internet. |
| Gateway | Connects networks using different protocols. | Linking networks like PCs and mainframe systems. |
Network architecture refers to the design and structure of a communication system, including the hardware, cabling, network topology, and both physical and wireless connections. It also defines how computers interact within a network, including roles like server and client.
Server Computer: This is a computer that provides resources, such as information, software, or hardware (e.g., printers), to other computers on the network. It shares resources for others to access.
Client Computer: A client is a computer that accesses resources provided by server computers within the network.
The two most commonly used network architectures are:
Client/Server Networks
In a client/server network, each computer functions either as a server or as a client. Servers are dedicated to sharing resources and are not used to access resources shared by other computers. The server is responsible for providing shared resources such as files, applications, and hardware. The
This figure is being prepared.
client computers request and use these resources. One key advantage is centralized control, which allows for easier management and enhanced security. Dedicated servers in this network setup optimize resource sharing and ensure that unauthorized users cannot access data.
Peer-to-Peer Networks
In a peer-to-peer (P2P) network, every computer can act as both a client and a server. Each computer, or peer, has the capability to both share and access resources. This type of network is typically smaller, usually with between two and ten computers, since managing large numbers of computers in P2P setups can become difficult. A peer can share files, printers, and other resources with other peers, while also using resources shared by others on the network.
The following are different types of networks based on the size and physical area they cover.
Local Area Networks
A Local Area Network (LAN) connects computers within a small area, like a building or a group of nearby buildings. It allows the sharing of resources such as printers and files. ALAN is shown in Fig.1.44.
Characteristics of LAN
Wide Area Networks
Wide Area Networks (WAN) connect multiple sites across large physical areas, such as cities, countries, or continents. WANs are often made by linking several Local Area Networks (LANs) together, as shown in Fig.1.45.
Characteristics of WAN
The arrangement of network nodes (devices) and their connections is known as network topology. Essentially, topology refers to the layout or map that shows how devices are interconnected within a network. It defines the physical and logical structure of the network, outlining the paths data takes to travel across various devices. The three most common types of network topologies are:
Bus Topology
In this setup, all devices are connected to a single central cable (bus), which is used to transmit data. It's simple and cost-effective for small networks but can be prone to failure if the bus cable is damaged. Bus network topology is shown in Fig.1.48.
Star Topology
In a star network topology, each device is connected to a central hub or switch. This design is easy to maintain and expand, but if the central hub fails, the whole network goes down. Star network topology is shown in Fig.1.49.
Ring Topology
In Ring topology devices are connected in a circular fashion, with data traveling in one direction around the loop. While it is cost-effective, a break anywhere in the ring can bring down the entire network. Ring network topology is shown in Fig.1.50.
Packet Switching and Circuit Switching are two key technologies used for transmitting data over networks. Each method has its unique characteristics and use, particularly in the context of the internet and telecommunications.
Packet Switching: Packet Switching divides data into small packets, which are sent independently through the network, potentially taking different routes. They are reassembled at the destination. Example: Email transmission over the internet, where data is split into packets that travel through various paths, as shown in Fig. 1.51.
This figure is being prepared.
Circuit Switching: Circuit Switching establishes a dedicated communication path between two devices for the duration of the session, ensuring continuous data flow until the session ends.
Example: Traditional phone calls, where a dedicated connection is maintained for the entire call, as shown in Fig.1.52.
Data communication standards define the rules and protocols for transmitting and processing data in networks. These standards ensure compatibility and interoperability between different devices and systems from various manufacturers. By adhering to these standards, communication can be reliable and efficient across diverse networks.
The OSI (Open Systems Interconnection) is one such standard conceptual framework used in the field of computer networking to define and understand how different networking protocols and technologies interact and work together.
The OSI (Open Systems Interconnection) model, developed by the International Standards Organization (ISO) in the 1970s, outlines a conceptual framework for how
different networking protocols work together to ensure proper data transmission.
The OSI model consists of seven layers. Each layer performs a specific task during data communication as shown in Fig.1.53.
The seven layers of OSI model are described below.
Application Layer: Provides services to end-users, facilitating tasks like file transfers and message reading.
Presentation Layer: Converts data into a format that can be understood by other layers, ensuring compatibility across systems.
Session Layer: Manages the communication sessions between applications, handling security and connection establishment.
This figure is being prepared.
Layers of OSI Model
Transport Layer: Ensures reliable data transfer, maintaining the order and integrity of data packets.
Network Layer: Determines the optimal path for data transmission, using devices like routers.
Data Link Layer: Defines the format for data transmission, converting data into packets and verifying their accuracy.
Physical Layer: Deals with the physical transmission of data, including hardware like cables and connectors.
Different communication protocols define how data is transmitted and received over a network. Examples include:
The Internet is a global network of interconnected computer networks that allows
for the exchange of data, information, and communication among users and devices across the world. It is a vast and decentralized network that spans continents and connects billions of computers, servers, and other devices.
The Internet has evolved from its origins in the 1960s as ARPANET, a U.S. Department of Defense project for research institutions and military installations, to become a global network of interconnected computer networks. In the 1970s, the development of TCP/IP protocols established the foundation for the modern Internet, allowing different networks to communicate. The 1990s saw the emergence of the World Wide Web and web browsers, revolutionizing how people access and share information over the Internet. The 2000s brought broadband internet and social media platforms, while the 2010s saw the rise of mobile internet and the Internet of Things (IoT). In the 2020s, the Internet continues to evolve with cloud computing, artificial intelligence, and 5G technology, impacting nearly every aspect of modern life.
The Internet is the largest computer network ever built. It globally connects billions of devices and networks. It operates through a decentralized architecture using packetswitching technology. Data is divided into packets, which are routed through a network of interconnected routers and switches. Protocols like TCP/IP ensure data is packaged, addressed, and transmitted correctly. The Domain Name System (DNS) translates humanreadable domain names (e.g., www.ncc.gov.pk) into IP addresses. Content is hosted on servers, and data is transmitted as packets to and from these servers. As data travels through the network, it is encapsulated in headers at each layer of the OSI model (such as the IP and TCP headers). When the data reaches its destination, these headers are removed through a process called de-capsulation. Security measures like encryption protects data during transmission. The Internet's interoperable design allows diverse devices and networks to communicate, making it a global information and communication platform.
This figure is being prepared.
Advantages of the Internet
The main advantages of the Internet include:
Global Connectivity: Enables communication and access to information worldwide. Vast Information: Provides a vast information resources and knowledge. Communication: Facilitates real-time communication and collaboration. E-commerce: Allows online shopping and digital transactions.
Education: Supports online learning and research. Business: Enhances productivity and global reach. Entertainment: Offers streaming, gaming, and social media. Innovation: Promotes technological advancements and research.
Computer: A programmable electronic device performing calculations and logic based on user instructions. First-Generation Computers (1940-1956): Used vacuum tubes, were slow, large, and costly. Second-Generation Computers (1956-1963): Replaced vacuum tubes with transistors, enhancing speed and reliability. Third-Generation Computers (1963-1971): Introduced integrated circuits (ICs), reducing size and power consumption.
Fourth-Generation Computers (1971-Present): Integrated microprocessors, increasing speed and versatility. Fifth-Generation Computers: Focus on artificial intelligence (AI) with natural language and reasoning capabilities. System: Interconnected components working together for specific purposes. Natural Systems: Self-regulating systems in nature, such as ecosystems and weather patterns.
Artificial Systems: Human-designed systems, e.g., communication and transportation systems. Input Devices: Tools like keyboards, mice, and cameras for data entry. System Unit: Central part of the computer containing CPU, RAM, and the motherboard. Memory Types: Includes ROM, RAM, cache, volatile, and non-volatile memory.
Output Devices: Devices like monitors, printers, and speakers for displaying results. Data Transmission: Movement of data through buses during fetch, decode, execute, and store cycles. Von Neumann Architecture: Explains how computer hardware and software work together, comprising a CPU, registers, ALU, control unit, and buses. Memory Units: Measured in bytes, ranging from kilobytes to exabytes.
Chip Memory: Fast storage devices like SSD, RAM, and cache. Magnetic Memory: Uses magnetized mediums such as hard disks and magnetic tapes.
Optical Memory: Stores data on CDs, DVDs, and Blu-ray discs. Volatile Memory: Requires power to retain data, e.g., RAM and cache. Non-Volatile Memory: Retains data without power, e.g., ROM and flash storage. Software: A set of programs and instructions enabling computers to perform tasks.
System Software: Manages hardware, including operating systems and utilities. Application Software: User-oriented programs for tasks like word processing and gaming. Programming Languages: Low-level (machine, assembly) and high-level ©++, Python) for coding tasks. Data Communication: Exchanging data via networks, involving sender, receiver, and protocols.
Modes of Communication: Includes simplex, half-duplex, and full-duplex communication. Communication Devices: Devices like hubs, switches, and routers for network connectivity. Network Types: Includes LANs, WANs, MANs, and VPNs. Network Topologies: Layouts like bus, star, ring, and mesh define node connections.
This figure is being prepared.
Peer-to-Peer Network
This figure is being prepared.
A Wide Area Network
Metropolitan Area Network
Metropolitan Area Network (MAN) can span from several buildings or a large campus to entire cities. MAN is used by many organizations. It also connects a number of local area networks with high-speed communication lines.
Characteristics of MAN
1.9.6 Wireless Networks
Wireless Networks use wireless technologies to transmit data between devices without physical wired connections, providing flexibility and mobility in various applications. These networks can operate over short distances (e.g., Wi-Fi) or large areas (e.g., cellular networks).
Examples of Wireless Networks:
This figure is being prepared.
Wireless headset
peripheral connections.
Advantages:
Disadvantages:
Disadvantages of the Internet
The main disadvantages of the Internet include:
Privacy Concerns: Threats to personal data and online privacy. Cybersecurity Risks: Vulnerability to hacking and cyberattacks. Information Overload: Overwhelming amount of data and misinformation. Digital Addiction: Excessive screen time and online dependency.
Digital Divide: Unequal access to the Internet worldwide. Online Harassment: Cyberbullying and harassment issues. Health Concerns: Physical and mental health impacts.
Common Applications of the Internet
Main applications of the Internet include:
Communication: Email, messaging, and video calls. Information Retrieval: Web browsing, search engines, and online databases. E-commerce: Online shopping, banking, and digital payments. Social Media: Networking, content sharing, and social interaction.
Entertainment: Streaming, online gaming, and multimedia content. Education: Online courses, research, and e-learning platforms. Business and Work: Remote work, collaboration, and e-commerce. Research and Innovation: Access to research materials and innovation platforms.
Protocols: Standards such as TCP/IP, HTTP, and FTP for communication. Internet: A global network enabling communication, e-commerce, and information sharing. Applications of Internet: Used for social media, education, business, and research. Internet Working: Operates via packet-switching, DNS, and security protocols.
Advantages of Internet: Offers global access, real-time communication, and innovation. Disadvantages of Internet: Includes cybersecurity risks, privacy concerns, and addiction.