Chapter at a glance
This chapter provides a comprehensive overview of data communication and networking concepts. It covers the fundamental elements of communication systems, different types of signals and modulation techniques, data transmission modes, and various network topologies. The chapter also delves into network types (LAN, WAN), transmission media (guided and unguided), network impairments, and essential networking concepts like IP addresses, MAC addresses, subnetting, and network architectures (client-server, peer-to-peer).
- Communication System Elements (Sender, Message, Medium, Receiver, Noise)
- Modulation (AM, FM, PM)
- Data Transmission Modes (Simplex, Half Duplex, Full Duplex)
- Network Types (LAN, WAN)
- Transmission Media (Guided: Twisted Pair, Coaxial, Fiber Optic; Unguided: Radio, Microwave, Infrared)
- Network Impairments (Jitter, Crosstalk, Attenuation)
- IP Addresses and Subnet Masks
- MAC Addresses vs. IP Addresses
Exam focus: Students should focus on understanding the fundamental concepts of data transmission, network components, addressing schemes (IP and MAC), and the differences between various network types and architectures, as these are frequently tested.
Key formulas and definitions
- Analog signal: Continuously changes value with time.
- Simplex communication: Data flows in only one direction.
- Full Duplex communication: Data flows in both directions simultaneously.
- LAN (Local Area Network): Connects computers in a small local area.
- WAN (Wide Area Network): Covers a large geographical area.
On this page (28 sections)
- Section 1 — Multiple Choice Questions (MCQs)
- Section 2 — Short Answer Questions
- 1. What are the basic elements of a communication system? Explain briefly.
- 2. What is modulation? Explain the types of modulations.
- 3. Explain briefly the elements of data communication.
- 4. Define simplex, half duplex and full duplex.
- 5. Define LAN. Write down its advantages and disadvantages.
- 6. What is WAN? What are the advantages of WAN?
- 7. What is transmission media? Explain the different transmission media.
- 8. Describe the unguided transmission media.
- 9. What is transmission impairment? Explain jitter and crosstalk.
- 10. List the differences between client-server and peer-to-peer network architectures.
- 11. What is client-server architecture? Write down its advantages and disadvantages.
- 12. What is an IP address? Why is IP address needed? Explain.
- 13. What are the different network classes? Explain them shortly.
- 14. What is a subnet mask? Why is a subnet mask needed? Explain.
- 15. How does the subnet mask identify that any two computers are on the same network or different?
- 16. What is a MAC address? Write the role of the MAC address in the local network.
- 17. Write the differences between an IP address and a MAC address.
- 18. Define the terms "Internet", "Intranet" and "Extranet".
- 19. What is a network switch? How does it work?
- Section 3 — Long / Descriptive Answer Questions
- 1. Describe about the transmission media that are used in data communication.
- 2. Draw a block diagram of the computer communication system and describe the communication system.
- 3. Describe terminology for transmission impairments.
- 4. Describe the different network architectures.
- 5. Describe the different IPv4 addresses and classes that are used on the Internet.
- 6. What is the OSI reference model? Describe it.
Solutions and answers
Complete exercise solutions with detailed explanations, definitions, and diagrams for thorough exam preparation.
Section 1 — Multiple Choice Questions (MCQs)
Select the correct option for each question with detailed explanations.
11111111.11111111.11111111.11 | 000000That is:
255.255.255.192 (the fourth octet: 11000000 = 192).
Section 2 — Short Answer Questions
Concise yet comprehensive answers covering all key concepts.
1. What are the basic elements of a communication system? Explain briefly.
A communication system is a system that facilitates the transfer of information from a source (sender) to a destination (receiver). Its basic elements are:
- Sender (Source / Transmitter): The device or entity that generates and sends the message. Examples include a computer, telephone, or television camera.
- Message (Information): The actual data or information that needs to be communicated. It can be text, audio, video, or any combination.
- Encoding (Encoder): The process of converting the message into a form suitable for transmission (e.g., converting voice into electrical signals using a microphone). A transducer performs this conversion.
- Transmission Medium (Channel): The physical path through which the encoded message travels from sender to receiver. It can be guided (twisted pair cable, coaxial cable, fiber optic) or unguided (radio waves, microwaves, infrared).
- Decoding (Decoder): The process of converting the received signal back into a form that the receiver can understand (e.g., a speaker converting electrical signals back into sound).
- Receiver (Destination): The device or entity that receives and interprets the message. Examples include a computer monitor, telephone earpiece, or television screen.
- Noise: Any unwanted signals or interference that corrupts the original message during transmission. Noise can be caused by electrical interference, signal attenuation, or crosstalk.
┌──────────┐ ┌──────────┐ ┌───────────────────┐ ┌──────────┐ ┌──────────┐
│ SENDER │───▶│ ENCODER │───▶│ TRANSMISSION │───▶│ DECODER │───▶│ RECEIVER │
│ (Source) │ │(Transducer)│ │ MEDIUM (Channel) │ │ │ │(Destin.) │
└──────────┘ └──────────┘ │ ◈ Noise ◈ │ └──────────┘ └──────────┘
└───────────────────┘
2. What is modulation? Explain the types of modulations.
Modulation is necessary because low-frequency signals (like voice) cannot travel long distances efficiently through the air. By encoding them onto a high-frequency carrier wave, we can transmit them over great distances.
Types of Modulation:
-
Amplitude Modulation (AM):
- The amplitude of the carrier wave is varied in proportion to the amplitude of the message signal.
- The frequency and phase of the carrier remain constant.
- AM is simpler to implement but more susceptible to noise.
- Used in AM radio broadcasting, aviation communication.
-
Frequency Modulation (FM):
- The frequency of the carrier wave is varied in proportion to the amplitude of the message signal.
- The amplitude and phase remain constant.
- FM is more resistant to noise and provides better sound quality.
- Used in FM radio broadcasting, two-way radio systems.
-
Phase Modulation (PM):
- The phase of the carrier wave is varied in proportion to the amplitude of the message signal.
- The amplitude and frequency remain constant.
- PM is closely related to FM and is used in digital signal processing.
- Used in satellite communication and Wi-Fi systems.
3. Explain briefly the elements of data communication.
Data communication is the exchange of data between two or more devices through some form of transmission medium. The five key elements are:
-
Sender (Source):
The device that sends the data message. It can be a computer, mobile phone, camera, or any other device capable of generating data.
-
Receiver (Destination):
The device that receives the data message. It can be a computer, printer, television, or any device capable of accepting data.
-
Message (Data):
The information or data to be communicated. Data can be in the form of text, numbers, images, audio, video, or any combination thereof.
-
Transmission Medium:
The physical path or channel through which the message travels from sender to receiver. Examples include twisted pair cables, coaxial cables, fiber optic cables, radio waves, and microwaves.
-
Protocol:
A set of rules and conventions that govern data communication. Protocols define the format, timing, sequencing, and error control of data transmission. Examples include TCP/IP, HTTP, FTP, and SMTP.
4. Define simplex, half duplex and full duplex.
Data transmission modes define the direction of data flow between two communicating devices. The three modes are:
-
Simplex Mode:
- Data flows in only one direction — from sender to receiver.
- The receiver cannot send a response back to the sender.
- It is a unidirectional communication.
- Examples: Keyboard to computer, television broadcasting, monitor receiving data from CPU.
-
Half Duplex Mode:
- Data can flow in both directions, but not at the same time.
- When one device is sending, the other must receive, and vice versa.
- It is a two-way alternate communication.
- Examples: Walkie-talkie, where one person speaks while the other listens, then they switch.
-
Full Duplex Mode:
- Data flows in both directions simultaneously.
- Both devices can send and receive data at the same time.
- It is a two-way simultaneous communication.
- Examples: Telephone conversation, video conferencing.
SIMPLEX: HALF DUPLEX: FULL DUPLEX: A ──────────▶ B A ◀──────────▶ B A ◀══════════▶ B (one way) (alternate) (simultaneous)
5. Define LAN. Write down its advantages and disadvantages.
Advantages of LAN:
- High speed: LANs offer very high data transfer rates (100 Mbps to 10 Gbps and above).
- Resource sharing: Hardware (printers, scanners) and software resources can be shared among all connected devices, reducing costs.
- Easy communication: Users can communicate via email, messaging, and shared folders within the network.
- Centralized data management: Data can be stored on a central server, making backup and security management easier.
- Low cost: Setting up a LAN is relatively inexpensive compared to WANs.
- Internet sharing: A single Internet connection can be shared among all devices on the LAN.
- Easy maintenance: Since the network is confined to a small area, troubleshooting and maintenance are simpler.
Disadvantages of LAN:
- Limited area: LANs cover only a small geographical area (typically a building or campus).
- Security threats: If proper security measures (firewalls, encryption) are not implemented, unauthorized users may access sensitive data.
- Setup requires expertise: Designing and setting up a LAN requires trained network administrators.
- Single point of failure: If the central server or main switch fails, the entire network may become non-functional.
- Viruses and malware: If one computer is infected, the virus can spread rapidly across the entire LAN.
6. What is WAN? What are the advantages of WAN?
Advantages of WAN:
- Wide geographical coverage: WANs can connect offices, branches, and users across cities, countries, and continents.
- Centralized data: Organizations can store all data on central servers accessible from any location, enabling efficient data management.
- Global communication: Users can communicate and collaborate in real-time regardless of their physical location (video conferencing, email, VoIP).
- Resource sharing: Software, applications, and databases can be shared across distant locations.
- E-commerce and online services: WANs (especially the Internet) enable online shopping, banking, education, and government services.
- High bandwidth options: Modern WAN technologies (fiber optic, satellite) provide very high data transfer speeds.
- Business expansion: Companies can establish remote offices and manage operations globally through WANs.
7. What is transmission media? Explain the different transmission media.
Transmission media are broadly classified into two categories:
A. Guided (Wired / Bounded) Media:
In guided media, signals are directed along a physical path (cable or wire).
-
Twisted Pair Cable:
- Consists of two insulated copper wires twisted together to reduce crosstalk and electromagnetic interference.
- UTP (Unshielded Twisted Pair): Most common type, used in LANs (e.g., Cat5e, Cat6 cables). Cost-effective and easy to install.
- STP (Shielded Twisted Pair): Has an extra metallic shielding for better noise protection. Used in environments with high electromagnetic interference.
- Speed: Up to 1 Gbps (depending on category).
- Distance: Up to approximately 100 meters.
-
Coaxial Cable:
- Has a central copper conductor surrounded by insulating material, a metallic shield, and an outer plastic jacket.
- Better shielding than twisted pair, providing higher bandwidth and longer distance capability.
- Used in cable television, broadband Internet, and older LAN installations.
- Speed: Up to 10 Gbps.
- Distance: Up to several hundred meters.
-
Fiber Optic Cable:
- Transmits data as pulses of light through thin glass or plastic fibers.
- Offers the highest speed, longest distance, and is immune to electromagnetic interference.
- Very secure, as tapping fiber optic cables is extremely difficult.
- Used in backbone networks, long-distance telecommunications, and high-speed Internet.
- Speed: Up to 100 Gbps and beyond.
- Distance: Up to several kilometers without repeaters.
B. Unguided (Wireless / Unbounded) Media:
In unguided media, signals are broadcast through the air (or space) without any physical conductor.
-
Radio Waves:
- Electromagnetic waves that can travel long distances and penetrate through buildings.
- Used in Wi-Fi, Bluetooth, AM/FM radio, television broadcasting, and mobile communication.
- Frequency range: 3 kHz to 1 GHz.
-
Microwaves:
- High-frequency electromagnetic waves that travel in straight lines (line-of-sight).
- Require towers or satellites for long-distance transmission.
- Used in satellite communication, mobile phone networks, and point-to-point links.
- Frequency range: 1 GHz to 300 GHz.
-
Infrared:
- Short-range signals that cannot penetrate through walls or solid objects.
- Used in TV remote controls, short-range data transfer (IrDA), and some wireless peripherals.
- Frequency range: 300 GHz to 400 THz.
8. Describe the unguided transmission media.
Types of Unguided Media:
-
Radio Waves (3 kHz – 1 GHz):
- Radio waves are omnidirectional — they spread out in all directions from the transmitting antenna.
- They can travel long distances and penetrate through buildings and walls.
- Applications: AM/FM radio, television broadcasting, Wi-Fi (IEEE 802.11), Bluetooth, mobile phones.
- Advantages: Wide coverage area, can pass through obstacles, easy to deploy.
- Disadvantages: Susceptible to interference from other radio sources, lower security (signals can be intercepted).
-
Microwaves (1 GHz – 300 GHz):
- Microwaves are unidirectional and travel in straight lines, requiring a clear line of sight between sender and receiver.
- They are focused into narrow beams by parabolic antennas, allowing point-to-point communication.
- Applications: Satellite communication, mobile phone towers (cellular networks), terrestrial microwave links, radar.
- Advantages: Higher bandwidth than radio waves, suitable for long-distance communication via satellites.
- Disadvantages: Requires line of sight, affected by weather conditions (rain fade), towers/repeaters needed for long distances.
-
Infrared Waves (300 GHz – 400 THz):
- Infrared signals have a very short range and cannot penetrate through walls or solid objects.
- They are used for short-distance, point-to-point or point-to-multipoint communication.
- Applications: TV remote controls, IrDA (Infrared Data Association) devices, wireless keyboards/mice, some printers.
- Advantages: No interference with radio frequency devices, high security (contained within a room), inexpensive.
- Disadvantages: Very short range, cannot pass through walls, line-of-sight required.
9. What is transmission impairment? Explain jitter and crosstalk.
Jitter:
- Jitter is the variation in the arrival time of data packets at the receiving end.
- In an ideal network, packets should arrive at regular, predictable intervals. When packets experience different delays (due to network congestion, route changes, or queuing delays), jitter occurs.
- Jitter is especially problematic for real-time applications such as:
- Voice over IP (VoIP) — causes choppy or garbled audio.
- Video streaming — causes buffering and frame drops.
- Online gaming — causes lag and inconsistent performance.
- Buffering and jitter buffers are commonly used techniques to smooth out jitter and ensure consistent playback.
Crosstalk:
- Crosstalk is a type of noise where a signal transmitted on one wire or channel unintentionally interferes with a signal on an adjacent wire or channel.
- It is caused by electromagnetic coupling between nearby conductors — when electrical signals flow through a wire, they create electromagnetic fields that can induce unwanted signals in neighboring wires.
- Crosstalk is a common problem in:
- Twisted pair cables (especially UTP without proper shielding).
- Telephone lines (hearing another conversation faintly).
- Dense network cabling installations.
- Solutions to reduce crosstalk:
- Twisting the wire pairs (hence the name "twisted pair").
- Using shielded cables (STP, coaxial, or fiber optic).
- Maintaining proper cable separation during installation.
10. List the differences between client-server and peer-to-peer network architectures.
| Basis of Comparison | Client-Server Architecture | Peer-to-Peer Architecture |
|---|---|---|
| Basic Concept | A central server provides services to multiple clients. | Each computer (peer) acts as both client and server. |
| Centralization | Centralized — server manages resources and access control. | Decentralized — no central authority; all peers are equal. |
| Resource Sharing | Resources are stored and managed on the server. | Resources are distributed across all peers. |
| Security | High — server enforces authentication and access control. | Low — each peer manages its own security. |
| Scalability | Highly scalable by upgrading the server. | Scalability is limited as more peers increase traffic. |
| Cost | Higher — requires a dedicated, powerful server. | Lower — no dedicated server needed. |
| Reliability | Depends on the server; if the server fails, the network fails. | More resilient — failure of one peer doesn't affect others. |
| Example | Web servers, email servers, database servers. | File sharing networks (BitTorrent), blockchain. |
11. What is client-server architecture? Write down its advantages and disadvantages.
In this model:
- The server is a high-performance computer that hosts, manages, and delivers resources (files, databases, applications, web pages).
- The client is a regular computer or device that requests services from the server (e.g., a web browser requesting a web page from a web server).
Advantages:
- Centralized management: All data and resources are stored on the server, making backup, security, and administration easier.
- High security: The server can enforce authentication, authorization, and encryption policies for all clients.
- Scalability: The network can be scaled by adding more clients or upgrading the server hardware.
- Easy maintenance: Software updates and patches need to be installed only on the server.
- Resource efficiency: Expensive resources (printers, databases) are shared among many clients.
Disadvantages:
- Single point of failure: If the server crashes, all connected clients lose access to services.
- High cost: Requires powerful server hardware, server software licenses, and skilled IT staff.
- Network congestion: If too many clients request services simultaneously, the server may become overloaded, causing slow response times.
- Dependency: Clients are entirely dependent on the server and cannot function independently if the server is down.
12. What is an IP address? Why is IP address needed? Explain.
Why is an IP Address Needed?
- Unique Identification: Just as a postal address uniquely identifies a house, an IP address uniquely identifies a device on a network. Without it, data would not know where to go.
- Routing: Routers use IP addresses to determine the best path for forwarding data packets from source to destination across multiple networks.
- Device Communication: IP addresses enable devices to send and receive data. When you open a website, your computer uses the server's IP address to request the web page, and the server uses your IP address to send it back.
- Network Management: Administrators use IP addresses to manage network resources, configure firewalls, allocate bandwidth, and monitor network traffic.
- Differentiating Devices: On the Internet, billions of devices communicate simultaneously. IP addresses ensure that data packets reach the correct device.
192.168.1.1. Each octet ranges from 0 to 255 (8 bits × 4 = 32 bits total).
13. What are the different network classes? Explain them shortly.
IPv4 addresses are divided into five classes (A through E) based on the value of the first octet. Each class has a different allocation of bits for network ID and host ID:
| Class | First Octet Range | First Bits | Network ID Bits | Host ID Bits | Default Subnet Mask | Usage |
|---|---|---|---|---|---|---|
| Class A | 0 – 127 | 0 | 8 | 24 | 255.0.0.0 | Very large organizations |
| Class B | 128 – 191 | 10 | 16 | 16 | 255.255.0.0 | Medium to large organizations |
| Class C | 192 – 223 | 110 | 24 | 8 | 255.255.255.0 | Small organizations / LANs |
| Class D | 224 – 239 | 1110 | Not divided | N/A | Multicasting | |
| Class E | 240 – 255 | 1111 | Not divided | N/A | Reserved for research/experimental | |
Detailed Explanation:
-
Class A:
- First bit is always 0.
- First 8 bits = Network ID, remaining 24 bits = Host ID.
- Can support 126 networks (27 − 2) with 16,777,214 hosts each (224 − 2).
- Default subnet mask:
255.0.0.0or/8. - Ideal for very large organizations (e.g., governments, large corporations).
-
Class B:
- First two bits are always 10.
- First 16 bits = Network ID, remaining 16 bits = Host ID.
- Can support 16,384 networks (214) with 65,534 hosts each (216 − 2).
- Default subnet mask:
255.255.0.0or/16. - Assigned to medium to large organizations (e.g., universities).
-
Class C:
- First three bits are always 110.
- First 24 bits = Network ID, remaining 8 bits = Host ID.
- Can support 2,097,152 networks (221) with 254 hosts each (28 − 2).
- Default subnet mask:
255.255.255.0or/24. - Most commonly used for small LANs and organizations.
-
Class D:
- Reserved for multicast groups — data is sent to a group of devices simultaneously.
- Not assigned to individual hosts.
- Range:
224.0.0.0to239.255.255.255.
-
Class E:
- Reserved for experimental and research purposes.
- Not used for general networking.
- Range:
240.0.0.0to255.255.255.255.
14. What is a subnet mask? Why is a subnet mask needed? Explain.
How It Works:
- In the subnet mask, 1s represent the network portion and 0s represent the host portion.
- When a device performs a bitwise AND operation between an IP address and the subnet mask, it extracts the network address.
IP Address: 192.168.1.100 = 11000000.10101000.00000001.01100100
Subnet Mask: 255.255.255.0 = 11111111.11111111.11111111.00000000
─────────────────────────────────────────────
AND Result: 192.168.1.0 = 11000000.10101000.00000001.00000000
Network Address = 192.168.1.0
Why is a Subnet Mask Needed?
- Identifying Network vs. Host: It tells devices which part of an IP address is the network ID and which is the host ID.
- Subnetting: Allows a large network to be divided into smaller, more manageable subnets, improving performance and security.
- Routing Decisions: Routers use subnet masks to determine whether a destination IP is on the local network or a remote network, and route packets accordingly.
- Efficient IP Address Use: Subnetting prevents wastage of IP addresses by allocating only the required number of host addresses to each subnet.
- Reduced Broadcast Traffic: Smaller subnets limit the scope of broadcast traffic, improving overall network performance.
Default Subnet Masks by Class:
- Class A:
255.0.0.0(/8) - Class B:
255.255.0.0(/16) - Class C:
255.255.255.0(/24)
15. How does the subnet mask identify that any two computers are on the same network or different?
The subnet mask is used to extract the network portion of an IP address through a bitwise AND operation. If two computers have the same network address (after applying the subnet mask), they are on the same network. If the network addresses differ, they are on different networks.
Step-by-step process:
- Take the IP address of Computer A and perform a bitwise AND with the subnet mask → Result = Network Address of A.
- Take the IP address of Computer B and perform a bitwise AND with the subnet mask → Result = Network Address of B.
- If Network Address of A = Network Address of B, then both computers are on the same network.
- If they are different, the computers are on different networks.
Computer A: 192.168.1.10 | Subnet Mask: 255.255.255.0
Computer B: 192.168.1.50 | Subnet Mask: 255.255.255.0
Network A = 192.168.1.0
Network B = 192.168.1.0
✅ Same network!
Example 2 — Different Networks:
Computer A: 192.168.1.10 | Subnet Mask: 255.255.255.0
Computer C: 192.168.2.10 | Subnet Mask: 255.255.255.0
Network A = 192.168.1.0
Network C = 192.168.2.0
❌ Different networks! (Data must go through a router.)
16. What is a MAC address? Write the role of the MAC address in the local network.
- A MAC address is a 48-bit address written in hexadecimal format, separated by colons or hyphens.
- Example:
00:1A:2B:3C:4D:5E - The first 24 bits (3 bytes) represent the OUI (Organizationally Unique Identifier) — the manufacturer's code.
- The last 24 bits (3 bytes) represent the device-specific identifier assigned by the manufacturer.
Role of MAC Address in a Local Network:
- Unique Device Identification: Every device on a LAN is uniquely identified by its MAC address, allowing precise data delivery within the local network.
- Frame Delivery: At the Data Link Layer (Layer 2), data is encapsulated in frames that contain source and destination MAC addresses. Switches use MAC addresses to forward frames to the correct destination device.
- Switching: Network switches maintain a MAC address table that maps MAC addresses to physical ports. When a frame arrives, the switch looks up the destination MAC address and forwards the frame only to the appropriate port.
- ARP (Address Resolution Protocol): When a device knows the destination IP but not the MAC address, ARP is used to discover the MAC address corresponding to an IP address on the local network.
- Security and Filtering: MAC addresses can be used for MAC filtering — allowing or denying network access to specific devices based on their MAC address.
- Network Monitoring: Administrators use MAC addresses to track and monitor devices connected to the network.
17. Write the differences between an IP address and a MAC address.
| Basis of Comparison | IP Address | MAC Address |
|---|---|---|
| Full Form | Internet Protocol Address | Media Access Control Address |
| Also Known As | Logical address, Internet address | Physical address, Hardware address |
| Assigned By | Network administrator or DHCP server (software-assigned) | Manufacturer (burned into the NIC hardware) |
| Permanence | Can be changed dynamically (dynamic IP) or statically | Permanently assigned to the NIC (though can be spoofed) |
| Bit Length | 32 bits (IPv4) or 128 bits (IPv6) | 48 bits |
| Format | Dotted decimal (e.g., 192.168.1.1) | Hexadecimal (e.g., 00:1A:2B:3C:4D:5E) |
| OSI Layer | Network Layer (Layer 3) | Data Link Layer (Layer 2) |
| Function | Identifies a device on a network (logical location) | Identifies a device on the physical hardware level |
| Scope | Used across the Internet and wide area networks | Used primarily within local area networks (LANs) |
| Working | Facilitates routing of data across different networks | Facilitates delivery of data frames within the same network |
18. Define the terms "Internet", "Intranet" and "Extranet".
Internet:
Intranet:
Extranet:
Key Differences at a Glance:
- Internet: Public, global, accessible by everyone.
- Intranet: Private, internal to an organization, accessible only by members.
- Extranet: Semi-private, extends intranet access to specific external users.
19. What is a network switch? How does it work?
How a Switch Works:
-
Learning:
- When a device sends a frame through the switch, the switch reads the source MAC address and records it in its MAC address table (also called the Content Addressable Memory or CAM table), along with the port number it arrived on.
-
Forwarding:
- When a frame arrives, the switch examines the destination MAC address.
- If the MAC address is found in the table, the switch forwards the frame only to the specific port associated with that MAC address.
- This is called unicast forwarding and significantly reduces unnecessary network traffic.
-
Flooding:
- If the destination MAC address is not found in the MAC address table, the switch floods (broadcasts) the frame to all ports except the source port.
- When the destination device responds, the switch learns its MAC address and port for future forwarding.
-
Aging:
- MAC address entries in the table have a timeout period. If no traffic is received from a MAC address within this period, the entry is removed to keep the table up to date.
Advantages of a Switch:
- Reduces collisions by creating separate collision domains for each port.
- Provides dedicated bandwidth to each connected device.
- More intelligent than a hub — forwards data only where needed.
- Supports full-duplex communication.
- Improves overall network performance and efficiency.
Section 3 — Long / Descriptive Answer Questions
In-depth explanations with diagrams, examples, and comprehensive coverage.
1. Describe about the transmission media that are used in data communication.
A. Guided (Wired / Bounded) Transmission Media
In guided media, signals are confined to a physical path — a cable or wire. Three main types exist:
1. Twisted Pair Cable
- Consists of two insulated copper wires twisted together in a helical pattern.
- The twisting reduces electromagnetic interference (EMI) and crosstalk between adjacent pairs.
- Types:
- UTP (Unshielded Twisted Pair): No additional shielding. Categories include Cat5 (100 Mbps), Cat5e (1 Gbps), Cat6 (10 Gbps), Cat6a, Cat7. Most commonly used in LANs.
- STP (Shielded Twisted Pair): Has a metallic foil or braided shield around the wire pairs. Provides better protection against EMI but is heavier and more expensive.
- Connector: RJ-45
- Maximum distance: ~100 meters
- Speed: Up to 10 Gbps (Cat6a and above)
- Applications: Ethernet LANs, telephone wiring, PoE (Power over Ethernet)
- Advantages: Inexpensive, easy to install and terminate, widely available
- Disadvantages: Limited distance, susceptible to EMI (UTP), lower bandwidth compared to fiber
2. Coaxial Cable
- Has four concentric layers:
- Inner conductor: Solid copper wire that carries the electrical signal.
- Insulating layer: Dielectric insulator surrounding the conductor.
- Metallic shield: Braided or foil mesh that blocks EMI.
- Outer jacket: Protective plastic covering.
- Types:
- Thinnet (10Base2): Thinner, more flexible, up to 185 meters.
- Thicknet (10Base5): Thicker, more durable, up to 500 meters.
- Connectors: BNC (Bayonet Neill-Concelman), F-type connector
- Speed: Up to 10 Gbps
- Applications: Cable television (CATV), broadband Internet, CCTV, older LANs
- Advantages: Better shielding than twisted pair, higher bandwidth, longer distance
- Disadvantages: More expensive and less flexible than UTP, being gradually replaced by fiber
3. Fiber Optic Cable
- Transmits data as pulses of light through thin glass or plastic fibers.
- Structure: Core (glass/plastic) → Cladding (reflective coating) → Buffer coating → Outer jacket
- Types:
- Single-mode fiber (SMF): Very thin core (~9 μm), allows only one mode of light. Used for long-distance transmission (up to 100 km). Higher cost but lower signal loss.
- Multi-mode fiber (MMF): Larger core (~50-62.5 μm), allows multiple modes of light. Used for shorter distances (up to 2 km). Lower cost but higher signal dispersion.
- Connectors: SC, ST, LC, MTRJ
- Speed: Up to 100 Gbps and beyond
- Distance: Up to several kilometers without repeaters
- Applications: Backbone networks, long-distance telecommunication, FTTH (Fiber to the Home), data centers
- Advantages: Highest bandwidth, longest distance, immune to EMI, very secure (hard to tap), lightweight
- Disadvantages: Expensive, fragile, requires specialized equipment for installation and termination
B. Unguided (Wireless / Unbounded) Transmission Media
In unguided media, data is transmitted as electromagnetic waves through the air or free space, without any physical conductor.
1. Radio Waves (3 kHz – 1 GHz)
- Omnidirectional — propagate in all directions from the antenna.
- Can travel long distances and penetrate through buildings and obstacles.
- Applications: AM/FM radio, television, Wi-Fi, Bluetooth, cellular communication, RFID.
- Advantages: Wide area coverage, can pass through walls, easy deployment.
- Disadvantages: Susceptible to interference, lower security, limited bandwidth.
2. Microwaves (1 GHz – 300 GHz)
- Unidirectional — travel in straight lines requiring line-of-sight.
- Transmitted using parabolic dish antennas focused into narrow beams.
- Applications: Satellite communication, cellular networks (4G/5G towers), terrestrial microwave links, radar.
- Advantages: Higher bandwidth than radio waves, supports long-distance via satellites.
- Disadvantages: Requires line-of-sight, affected by weather (rain fade), needs repeater towers for long distances.
3. Infrared (300 GHz – 400 THz)
- Short-range signals that cannot penetrate through walls.
- Used for point-to-point or point-to-multipoint communication within a room.
- Applications: TV remote controls, IrDA data transfer, wireless peripherals.
- Advantages: No RF interference, high security (contained in a room), inexpensive.
- Disadvantages: Very short range, blocked by walls and obstacles, line-of-sight required.
4. Satellite Communication
- Uses satellites orbiting the Earth as relay stations for microwave signals.
- Types: GEO (Geostationary, ~36,000 km), MEO (Medium Earth Orbit), LEO (Low Earth Orbit).
- Applications: GPS, weather monitoring, satellite TV, Internet in remote areas, military communication.
- Advantages: Global coverage, suitable for remote areas, supports broadcasting.
- Disadvantages: High latency (especially GEO), expensive to launch and maintain, affected by weather.
2. Draw a block diagram of the computer communication system and describe the communication system.
A computer communication system facilitates the exchange of data between computing devices. The following block diagram illustrates its components:
╔══════════════════════════════════════════════════════════════════════════════════╗ ║ COMPUTER COMMUNICATION SYSTEM ║ ╠══════════════════════════════════════════════════════════════════════════════════╣ ║ ║ ║ ┌─────────┐ ┌─────────┐ ┌──────────────────┐ ┌──────────┐ ║ ║ │ │ │ │ │ │ │ │ ║ ║ │ SOURCE │────▶│TRANSMIT-│────▶│ TRANSMISSION │────▶│ RECEIVER │ ║ ║ │ (Sender)│ │ TER │ │ MEDIUM (Channel)│ │ │ ║ ║ │ │ │(Encoder)│ │ │ │(Decoder) │ ║ ║ └─────────┘ └─────────┘ │ ┌──────────┐ │ └──────────┘ ║ ║ │ │ NOISE │ │ ║ ║ Information → Signal → │ │(Interfer.)│ │ → Data ║ ║ (Message) (Encoded) │ └──────────┘ │ (Decoded) ║ ║ └──────────────────┘ ║ ║ ║ ║ ┌──────────────────────────────────────────────────────────────┐ ║ ║ │ PROTOCOLS & STANDARDS │ ║ ║ │ (TCP/IP, HTTP, FTP, IEEE 802.x, etc.) │ ║ ║ └──────────────────────────────────────────────────────────────┘ ║ ╚══════════════════════════════════════════════════════════════════════════════════╝
Description of Components:
-
Source (Sender):
The source is the device that generates and initiates the communication. In a computer communication system, the source could be a computer, smartphone, server, sensor, or any data-generating device. It produces the message or data that needs to be transmitted.
-
Transmitter (Encoder):
The transmitter converts the data from the source into a format suitable for transmission over the chosen medium. This process includes encoding, modulation, and signal shaping. For example, a modem converts digital signals from a computer into analog signals for transmission over telephone lines. A transducer may also be used to convert between different forms of energy.
-
Transmission Medium (Channel):
The channel is the physical path or wireless link through which the encoded signal travels from sender to receiver. It can be:
- Guided: Twisted pair cable, coaxial cable, fiber optic cable.
- Unguided: Radio waves, microwaves, infrared, satellite links.
-
Noise and Interference:
Any unwanted signal that corrupts or distorts the original message during transmission. Sources of noise include electromagnetic interference, crosstalk, thermal noise, and signal attenuation. Noise is an inherent challenge in every communication system.
-
Receiver (Decoder):
The receiver captures the transmitted signal from the medium and performs decoding and demodulation to convert it back into a form that the destination device can understand. It also performs error detection and correction to ensure data integrity.
-
Destination (Receiver Device):
The destination is the final device that consumes or processes the received data. It could be a computer monitor, printer, storage device, or any application that uses the communicated data.
-
Protocols and Standards:
Protocols are the sets of rules that govern how data is formatted, transmitted, received, and acknowledged. They ensure that the sender and receiver "speak the same language." Key protocols include TCP/IP, HTTP, FTP, SMTP, and IEEE 802.x standards.
3. Describe terminology for transmission impairments.
Transmission impairments are unwanted changes that occur to a signal as it travels from sender to receiver through a transmission medium. These impairments cause the received signal to differ from the transmitted signal and may result in data errors. The three primary types of impairments are:
1. Attenuation
- Cause: Resistance of the medium (copper wire, fiber, air).
- Effect: The signal becomes weaker over distance. If it becomes too weak, the receiver cannot distinguish the signal from noise, leading to errors.
- Unit: Measured in decibels (dB). A loss of 3 dB means the signal power is halved.
- Solution: Use amplifiers (for analog signals) or repeaters (for digital signals) at regular intervals to boost the signal. Choose media with lower attenuation (e.g., fiber optic has very low attenuation).
- Frequency dependence: Attenuation increases with frequency and distance.
2. Distortion
- Cause: Different frequency components of a signal travel at different speeds through the medium, arriving at the receiver at slightly different times. This is called delay distortion.
- Effect: The received signal is a distorted version of the original, leading to errors in interpretation — especially in digital communication where bit boundaries may shift.
- Solution: Use equalization techniques, select appropriate media, and limit the frequency range of the signal.
3. Noise
- Types of Noise:
- Thermal Noise: Random noise generated by the thermal agitation of electrons in a conductor. It is present in all electronic devices and is proportional to temperature and bandwidth.
- Induced Noise: Comes from external sources such as motors, power lines, and other electrical devices. Also called electromagnetic interference (EMI).
- Crosstalk: Signal from one wire leaking into an adjacent wire due to electromagnetic coupling.
- Impulse Noise: Sudden, sharp bursts of energy caused by lightning, power surges, or faulty equipment. Highly disruptive to digital data.
- Solution: Use shielded cables (STP, coaxial), increase signal power (improves signal-to-noise ratio), use error detection and correction codes.
4. Jitter
- Cause: Network congestion, route changes, queuing delays, and varying processing times at intermediate devices.
- Effect: Inconsistent data delivery, which is especially harmful for real-time applications (VoIP, video streaming, online gaming).
- Solution: Use jitter buffers (which temporarily store packets and release them at regular intervals), implement Quality of Service (QoS), and reduce network congestion.
5. Crosstalk (in detail)
- Crosstalk is a specific type of noise where a signal on one channel creates an unwanted effect on another channel.
- Causes: Electromagnetic coupling between adjacent conductors in a cable bundle.
- Types:
- Near-End Crosstalk (NEXT): Occurs at the same end as the transmitter.
- Far-End Crosstalk (FEXT): Occurs at the far end from the transmitter.
- Solution: Twist wire pairs, use shielded cables, maintain physical separation between cables.
6. Latency
- Latency is the total time it takes for a data packet to travel from source to destination.
- Components: Propagation delay + Transmission delay + Processing delay + Queuing delay.
- High latency causes slow response times and poor performance in interactive applications.
4. Describe the different network architectures.
Network architecture defines how computers are organized, how they communicate, and how resources are shared within a network. The two primary network architectures are:
A. Client-Server Architecture
- Server: A high-performance computer dedicated to managing network resources, storing data, running applications, and serving client requests. Servers are always ON and available.
- Client: A regular computer or device that requests services from the server. Clients depend on the server for resources.
- Communication: Clients initiate communication by sending requests; servers process and respond.
Types of Servers:
- File Server: Stores and manages files for network users.
- Web Server: Hosts websites and serves web pages (e.g., Apache, Nginx).
- Database Server: Manages databases and processes queries.
- Email Server: Handles sending and receiving of emails.
- Print Server: Manages network printing.
- DHCP Server: Assigns IP addresses to devices dynamically.
- DNS Server: Translates domain names to IP addresses.
Advantages of Client-Server:
- Centralized data management and security control.
- Easy to scale by upgrading server hardware.
- Efficient resource sharing among many clients.
- Centralized backup and disaster recovery.
- Access control and authentication managed at the server.
Disadvantages of Client-Server:
- Server is a single point of failure — if it goes down, all clients are affected.
- Higher cost due to dedicated server hardware and software.
- Requires skilled network administrators.
- Network congestion when many clients request services simultaneously.
B. Peer-to-Peer (P2P) Architecture
- No central authority: All peers have equal status and share resources directly with each other.
- Decentralized: Resources (files, processing power) are distributed across all peers.
- Self-organizing: Peers discover and connect to each other dynamically.
Advantages of Peer-to-Peer:
- Low cost — no dedicated server required.
- Easy to set up and configure (especially for small networks).
- Resilient — failure of one peer does not affect the rest of the network.
- Scalable in terms of adding peers without overloading a central server.
Disadvantages of Peer-to-Peer:
- Weak security — no centralized access control or authentication.
- Difficult to manage and administer as the network grows.
- Performance depends on individual peer capabilities.
- Data backup is decentralized and harder to enforce.
- Not suitable for large organizations or mission-critical applications.
Examples:
- Client-Server: World Wide Web (browser → web server), email (Outlook → mail server), online banking.
- Peer-to-Peer: BitTorrent file sharing, blockchain networks (Bitcoin), Skype (early versions), LAN gaming.
5. Describe the different IPv4 addresses and classes that are used on the Internet.
IPv4 Address Format:
Example: 192.168.1.1
In binary: 11000000.10101000.00000001.00000001
Each octet = 8 bits → Total = 32 bits → 232 ≈ 4.3 billion addresses
Structure of an IPv4 Address:
An IPv4 address consists of two parts:
- Network ID: Identifies the network to which the device belongs. Devices on the same network share the same network ID.
- Host ID: Identifies the specific device (host) within that network.
The division between network and host portions depends on the class of the address.
IPv4 Address Classes:
┌─────────┬──────────────┬────────┬────────────────┬──────────────────────────┐ │ CLASS │ FIRST OCTET │ PREFIX │ NETWORK:HOST │ DEFAULT SUBNET MASK │ ├─────────┼──────────────┼────────┼────────────────┼──────────────────────────┤ │ A │ 0 - 127 │ 0___ │ 8 : 24 │ 255.0.0.0 (/8) │ │ B │ 128 - 191 │ 10__ │ 16 : 16 │ 255.255.0.0 (/16) │ │ C │ 192 - 223 │ 110_ │ 24 : 8 │ 255.255.255.0 (/24) │ │ D │ 224 - 239 │ 1110 │ (Multicast) │ N/A │ │ E │ 240 - 255 │ 1111 │ (Reserved) │ N/A │ └─────────┴──────────────┴────────┴────────────────┴──────────────────────────┘
Class A (0.0.0.0 – 127.255.255.255):
- First bit is always 0.
- 8 bits for Network ID, 24 bits for Host ID.
- Supports 126 networks (0 and 127 are reserved) with up to 16,777,214 hosts each.
- Default subnet mask:
255.0.0.0. - Designed for: Very large organizations (e.g., multinational corporations, governments).
- Examples: 10.0.0.1 (private), 54.239.28.85 (Amazon).
Class B (128.0.0.0 – 191.255.255.255):
- First two bits are always 10.
- 16 bits for Network ID, 16 bits for Host ID.
- Supports 16,384 networks with up to 65,534 hosts each.
- Default subnet mask:
255.255.0.0. - Designed for: Medium to large organizations (e.g., universities, large companies).
- Examples: 172.16.0.1 (private), 150.12.20.30.
Class C (192.0.0.0 – 223.255.255.255):
- First three bits are always 110.
- 24 bits for Network ID, 8 bits for Host ID.
- Supports 2,097,152 networks with up to 254 hosts each.
- Default subnet mask:
255.255.255.0. - Designed for: Small organizations and LANs.
- Examples: 192.168.1.1 (private), 222.1.1.20.
Class D (224.0.0.0 – 239.255.255.255):
- First four bits are 1110.
- Reserved for multicasting — data is sent to a group of hosts simultaneously.
- Not assigned to individual hosts.
- Examples: 224.0.0.1 (all hosts on local network), 224.0.0.5 (OSPF routers).
Class E (240.0.0.0 – 255.255.255.255):
- First four bits are 1111.
- Reserved for experimental and research purposes.
- Not used for general networking on the Internet.
Special IP Addresses:
- 127.0.0.1 — Loopback address (refers to the local machine itself, "localhost").
- 0.0.0.0 — Represents "any address" or "no specific address."
- 255.255.255.255 — Broadcast address for all hosts on the local network.
Private IP Address Ranges:
- Class A: 10.0.0.0 – 10.255.255.255
- Class B: 172.16.0.0 – 172.31.255.255
- Class C: 192.168.0.0 – 192.168.255.255
6. What is the OSI reference model? Describe it.
Purpose of the OSI Model:
- Provides a universal standard for network communication.
- Allows interoperability between different vendors' equipment and software.
- Breaks down complex networking processes into manageable, modular layers.
- Simplifies troubleshooting by isolating issues to specific layers.
- Enables independent development and improvement of each layer.
The Seven Layers (Bottom to Top):
┌─────────────────────────────────────────┐
│ 7. APPLICATION LAYER │ ← User-facing (HTTP, FTP, SMTP)
├─────────────────────────────────────────┤
│ 6. PRESENTATION LAYER │ ← Data formatting, encryption
├─────────────────────────────────────────┤
│ 5. SESSION LAYER │ ← Session management, dialog control
├─────────────────────────────────────────┤
│ 4. TRANSPORT LAYER │ ← End-to-end delivery, segmentation
├─────────────────────────────────────────┤
│ 3. NETWORK LAYER │ ← Routing, logical addressing (IP)
├─────────────────────────────────────────┤
│ 2. DATA LINK LAYER │ ← Framing, MAC addressing, error detection
├─────────────────────────────────────────┤
│ 1. PHYSICAL LAYER │ ← Bits on the wire, cables, signals
└─────────────────────────────────────────┘
(Mnemonic: "All People Seem To Need Data Processing")
Layer 1: Physical Layer
- Function: Responsible for the physical transmission of raw binary data (bits: 0s and 1s) over a communication medium.
- Deals with: Electrical signals, light pulses, radio waves, cable specifications, pin layouts, voltages, data rates, and transmission distances.
- Data Unit: Bits
- Devices: Hubs, repeaters, cables (twisted pair, coaxial, fiber optic), network interface cards (NICs).
- Protocols/Standards: RS-232, Ethernet (physical), USB, Bluetooth (physical), DSL.
Layer 2: Data Link Layer
- Function: Provides node-to-node (hop-to-hop) data transfer. It packages raw bits from the Physical Layer into frames, handles MAC addressing, and performs error detection (and sometimes correction).
- Sub-layers:
- LLC (Logical Link Control): Flow control and error checking.
- MAC (Media Access Control): Physical addressing (MAC addresses) and media access control.
- Data Unit: Frames
- Devices: Switches, bridges.
- Protocols: Ethernet (802.3), Wi-Fi (802.11), PPP, HDLC.
Layer 3: Network Layer
- Function: Responsible for logical addressing (IP addresses) and routing — determining the best path for data packets from source to destination across multiple networks.
- Data Unit: Packets
- Devices: Routers, Layer 3 switches.
- Protocols: IP (IPv4, IPv6), ICMP, ARP, OSPF, BGP.
Layer 4: Transport Layer
- Function: Provides end-to-end communication between applications. It segments data from the Session Layer and reassembles it at the destination. It handles flow control, error recovery, and reliable data transfer.
- Data Unit: Segments (TCP) / Datagrams (UDP)
- Protocols:
- TCP (Transmission Control Protocol): Connection-oriented, reliable, ordered delivery.
- UDP (User Datagram Protocol): Connectionless, faster but unreliable.
Layer 5: Session Layer
- Function: Manages sessions (connections) between applications. It establishes, maintains, synchronizes, and terminates communication sessions. It also handles dialog control (determining whose turn it is to transmit).
- Protocols: NetBIOS, PPTP, RPC, SQL sessions.
Layer 6: Presentation Layer
- Function: Acts as a translator between the application and the network. It handles data formatting, encryption/decryption, compression/decompression, and character encoding (ASCII, EBCDIC, Unicode).
- Examples: JPEG, GIF, MPEG, SSL/TLS encryption, ASCII, EBCDIC.
Layer 7: Application Layer
- Function: The layer closest to the end user. It provides network services directly to user applications. This is NOT the application itself, but the protocols that applications use to communicate over the network.
- Protocols: HTTP/HTTPS (web), FTP (file transfer), SMTP/POP3/IMAP (email), DNS (domain name resolution), DHCP, Telnet, SSH, SNMP.
Data Flow Through the OSI Model:
Sending (Encapsulation): Data flows down from Layer 7 to Layer 1. At each layer, a header (and sometimes trailer) is added to the data unit.
Receiving (De-encapsulation): Data flows up from Layer 1 to Layer 7. At each layer, the corresponding header is removed.
- Application → Data
- Transport → Segment (TCP header added)
- Network → Packet (IP header added)
- Data Link → Frame (MAC header + trailer added)
- Physical → Bits (converted to electrical/optical signals)
Mnemonic to Remember:
Application → Presentation → Session → Transport → Network → Data Link → Physical
Frequently asked questions
What is Data communication and Networking about?
This chapter provides a comprehensive overview of data communication and networking concepts. It covers the fundamental elements of communication systems, different types of signals and modulation techniques, data transmission modes, and various network topologies. The chapter also delves into network types (LAN, WAN), transmission media (guided and unguided), network impairments, and essential networking concepts like IP addresses, MAC addresses, subnetting, and network architectures (client-server, peer-to-peer).
Which topics are covered in Data communication and Networking?
Class 12 Computer Science “Data communication and Networking” covers: Communication System Elements (Sender, Message, Medium, Receiver, Noise); Modulation (AM, FM, PM); Data Transmission Modes (Simplex, Half Duplex, Full Duplex); Network Types (LAN, WAN); Transmission Media (Guided: Twisted Pair, Coaxial, Fiber Optic; Unguided: Radio, Microwave, Infrared); Network Impairments (Jitter, Crosstalk, Attenuation); IP Addresses and Subnet Masks; MAC Addresses vs. IP Addresses.
What should I focus on in Data communication and Networking for the exam?
Students should focus on understanding the fundamental concepts of data transmission, network components, addressing schemes (IP and MAC), and the differences between various network types and architectures, as these are frequently tested.
What are the key formulas or definitions in Data communication and Networking?
Analog signal: Continuously changes value with time.; Simplex communication: Data flows in only one direction.; Full Duplex communication: Data flows in both directions simultaneously.; LAN (Local Area Network): Connects computers in a small local area.; WAN (Wide Area Network): Covers a large geographical area..
Where can I read the Class 12 Computer Science “Data communication and Networking” solutions?
Right on this page. They are free and you do not need to sign up. For chapter quizzes and the AI tutor, install the Sikshya Plus app.
Study tips
Do not just read it. Practice it.
You have read the solutions for Data communication and Networking. Now test yourself, ask the AI tutor and keep your streak going.




- AI quizzes for this chapterTest yourself with instant feedback and explanations after every answer.
- AI tutor, free, 24/7Stuck on a question? Ask in your own words and get a step-by-step explanation.
- 14 AI tools in one appSummarizer, grammar checker, flashcards, essay help, math solver and more.
- Past questions and notesPast papers and your own notes organized chapter by chapter.