Unit 3: Data Communication and Networks - Subjective Questions
CAP1007 — Fundamentals Of Information Technology • Practice Questions with Detailed Answers
20 questions
Define data communication. Explain its fundamental characteristics that determine the effectiveness of a communication system.
Data communication refers to the exchange of data between two or more devices via a transmission medium such as a wire, cable, or wireless link. For communication to occur, the devices must be part of a communication system made up of hardware and software.
Fundamental Characteristics:
- Delivery: The system must deliver data to the correct destination. Data must be received by the intended device or user only.
- Accuracy: The system must deliver the data accurately. Data altered during transmission and left uncorrected is unusable.
- Timeliness: Data must be delivered in a timely manner. Late delivery is useless, especially for real-time transmissions like audio and video.
- Jitter: Refers to the variation in packet arrival time. Uneven delays in delivery of packets degrade the quality of audio/video.
These characteristics ensure that data reaches the right place, in correct form, and at the right time, forming the basis of a reliable communication system.
Describe the five components of a data communication system with a suitable diagram.
A data communication system is made up of five basic components:
- Message: The information (data) to be communicated. It can be in the form of text, numbers, pictures, audio, or video.
- Sender: The device that sends the data message. It may be a computer, workstation, telephone, or video camera.
- Receiver: The device that receives the message. It may be a computer, workstation, telephone, or television.
- Transmission Medium: The physical path by which a message travels from sender to receiver. Examples include twisted-pair cable, coaxial cable, fiber-optic cable, and radio waves.
- Protocol: A set of rules that governs data communication. It represents an agreement between the communicating devices. Without a protocol, two devices may be connected but cannot communicate.
Diagram (conceptual):
Sender ---> Transmission Medium ---> Receiver
| (Message) |
+---------- Protocol governs ----------+
All five components must work together for successful communication.
Distinguish between analog transmission and digital transmission. State the advantages of digital transmission over analog.
Analog Transmission:
- Uses continuous signals that vary smoothly over time.
- Represented by continuous waveforms (e.g., sine waves).
- Susceptible to noise and signal degradation over distance.
- Example: traditional telephone voice signals, AM/FM radio.
Digital Transmission:
- Uses discrete signals represented as binary values ( and ).
- Represented by square waveforms with distinct voltage levels.
- More resistant to noise; signals can be regenerated exactly.
- Example: data between computers, modern communication networks.
Comparison Table:
| Feature | Analog | Digital |
|---|---|---|
| Signal | Continuous | Discrete |
| Noise resistance | Low | High |
| Data quality | Degrades with distance | Can be regenerated |
| Bandwidth use | Less efficient | More efficient |
Advantages of Digital Transmission:
- Better noise immunity and error detection/correction.
- Signal regeneration allows long-distance transmission without quality loss.
- Security through encryption is easier.
- Integration of voice, video, and data on the same network.
- Lower cost and higher reliability using modern hardware.
Explain the three modes of data communication (transmission): simplex, half-duplex, and full-duplex, with real-world examples.
Data flow between two devices can occur in one of three transmission modes:
1. Simplex Mode:
- Communication is unidirectional (one-way only).
- Only one of the two devices can transmit; the other can only receive.
- The entire capacity of the channel is used to send data in one direction.
- Example: Keyboard to computer, computer to monitor, radio/TV broadcast.
2. Half-Duplex Mode:
- Communication is bidirectional but not simultaneous.
- Each device can both send and receive, but only one at a time.
- The entire channel capacity is used by whichever device is transmitting.
- Example: Walkie-talkies, CB radios ("over" system).
3. Full-Duplex (Duplex) Mode:
- Communication is bidirectional and simultaneous.
- Both devices can send and receive at the same time.
- Channel capacity is shared in both directions, or two separate paths are used.
- Example: Telephone conversation, mobile phones.
Summary Diagram:
Simplex: A ----> B
Half-Duplex: A <---> B (one at a time)
Full-Duplex: A <===> B (both at once)
Explain any four network topologies with their advantages and disadvantages, along with diagrams.
A topology is the physical or logical arrangement of devices (nodes) in a network.
1. Bus Topology:
- All devices connect to a single central cable (backbone).
- Advantages: Easy to install, requires less cable, cost-effective.
-
Disadvantages: Failure of the backbone brings down the whole network; difficult to troubleshoot.
[A] [B] [C]
| | |
=====backbone=====
2. Star Topology:
- All devices connect to a central hub/switch.
- Advantages: Easy to manage; failure of one node doesn't affect others.
-
Disadvantages: If the central hub fails, the entire network goes down; needs more cable.
[A] [B]--HUB--[C] [D]
3. Ring Topology:
- Each device connects to two others forming a closed loop; data travels in one direction.
- Advantages: Orderly data transfer, no collisions.
- Disadvantages: Failure of one node can break the ring; difficult to reconfigure.
4. Mesh Topology:
- Every device is connected to every other device via dedicated links. Requires links for nodes.
- Advantages: Highly reliable, robust, secure; no traffic congestion.
- Disadvantages: Expensive, complex, and requires large amounts of cabling.
What are wireless networks? Describe their types and key advantages and limitations.
Wireless networks are computer networks that use wireless data connections (radio waves, infrared, microwave, satellite) between network nodes instead of physical cables.
Types of Wireless Networks:
- WLAN (Wireless Local Area Network): Covers a small area like a home or office using Wi-Fi (IEEE 802.11 standard).
- WPAN (Wireless Personal Area Network): Very short range, e.g., Bluetooth, infrared.
- WMAN (Wireless Metropolitan Area Network): Covers a city, e.g., WiMAX.
- WWAN (Wireless Wide Area Network): Covers large geographic areas using cellular technology (3G, 4G, 5G).
Advantages:
- Mobility: Users can move freely within coverage area.
- Easy installation: No cabling required.
- Scalability: Easy to add new devices.
- Cost-effective in areas where cabling is difficult.
Limitations:
- Security risks: Signals can be intercepted.
- Interference: Affected by walls, other devices, and weather.
- Lower speed and reliability compared to wired connections.
- Limited range and possible signal degradation.
Compare the different network types: LAN, MAN, and WAN based on their features.
Networks are classified based on their geographic coverage and features:
1. LAN (Local Area Network):
- Covers a small area such as a building, office, or campus.
- High data transfer rate (up to Gbps).
- Owned and managed by a single organization.
- Low cost, easy to set up.
2. MAN (Metropolitan Area Network):
- Covers a city or metropolitan area (up to ~50 km).
- Data rate is moderate.
- May be owned by a single or multiple organizations.
- Example: cable TV network, city-wide Wi-Fi.
3. WAN (Wide Area Network):
- Covers a large geographic area, spanning countries or continents.
- Lower data rates compared to LAN due to distance.
- Uses public/leased communication links (satellites, fiber).
- Example: The Internet.
Comparison Table:
| Feature | LAN | MAN | WAN |
|---|---|---|---|
| Coverage | Building/campus | City | Country/global |
| Speed | Very high | Moderate | Lower |
| Ownership | Single org | Single/multi | Multiple |
| Cost of setup | Low | Moderate | High |
| Example | Office network | Cable TV | Internet |
Give an overview of the Internet and explain how it works.
The Internet is a global network of interconnected computer networks that use the standard TCP/IP protocol suite to communicate. It links millions of private, public, academic, business, and government networks worldwide.
How the Internet Works:
- Client-Server Model: Users (clients) request data from servers that store websites and services.
- IP Addressing: Every device on the Internet has a unique IP address used to identify and locate it.
- DNS (Domain Name System): Translates human-readable domain names (e.g.,
www.example.com) into IP addresses. - Packet Switching: Data is broken into small units called packets. Each packet travels independently through the network and is reassembled at the destination.
- Routing: Routers direct packets along the best available path from source to destination.
- Protocols: TCP ensures reliable delivery and reassembly, while IP handles addressing and routing.
Key Components:
- ISPs (Internet Service Providers): Provide access to the Internet.
- Servers, routers, and backbones: Form the infrastructure.
- Web browsers and protocols (HTTP/HTTPS): Enable access to web resources.
Together, these elements allow seamless global exchange of information.
What is an IP address? Explain its role in addressing and routing on the network.
An IP (Internet Protocol) address is a unique numerical identifier assigned to each device connected to a network that uses the Internet Protocol for communication. It serves two main functions: identifying the host and providing the location of the host in the network.
Role in Addressing:
- Each device is uniquely identified by its IP address, similar to a postal address.
- It consists of two parts: the network portion (identifies the network) and the host portion (identifies the specific device).
- Ensures that data reaches the correct destination device.
Role in Routing:
- Routers use the network portion of the destination IP address to determine the best path for forwarding packets.
- Each packet carries the source and destination IP addresses in its header.
- Routers maintain routing tables and forward packets hop-by-hop toward the destination.
- The IP address enables logical routing across multiple interconnected networks.
Summary: The IP address acts as both the identity and location marker, making end-to-end delivery of packets possible across the global Internet.
Distinguish between IPv4 and IPv6 addressing schemes.
IPv4 (Internet Protocol version 4):
- Uses a 32-bit address, giving approximately billion unique addresses.
- Written in dotted decimal notation, e.g.,
192.168.1.1. - Divided into four octets separated by dots.
- Address exhaustion is a major limitation.
IPv6 (Internet Protocol version 6):
- Uses a 128-bit address, giving about (an enormous number) of addresses.
- Written in hexadecimal notation separated by colons, e.g.,
2001:0db8:85a3:0000:0000:8a2e:0370:7334. - Designed to solve the address exhaustion problem of IPv4.
Comparison Table:
| Feature | IPv4 | IPv6 |
|---|---|---|
| Address size | 32 bits | 128 bits |
| Notation | Dotted decimal | Hexadecimal (colon) |
| Address space | ~4.3 billion | addresses |
| Header | Complex | Simplified |
| Security | Optional (IPSec) | Built-in (IPSec) |
| Configuration | Manual/DHCP | Auto-configuration |
| Broadcast | Supported | Replaced by multicast |
Conclusion: IPv6 offers a vastly larger address space, improved security, and better efficiency, making it the successor to IPv4.
Explain the concept of local search and global search of a network. How do they differ?
Local Search of a Network:
- Refers to discovering and locating resources or devices within a local area network (LAN) or a limited/nearby area.
- Involves searching devices connected within the same network segment.
- Uses techniques like broadcasting and local service discovery protocols.
- Example: Finding printers, shared folders, or nearby Wi-Fi devices on a home/office network.
Global Search of a Network:
- Refers to locating resources or information across the entire Internet or a wide-area global network.
- Involves searching across multiple interconnected networks worldwide.
- Uses systems like DNS, search engines, and global routing.
- Example: Searching a website or web resource anywhere on the Internet.
Key Differences:
| Aspect | Local Search | Global Search |
|---|---|---|
| Scope | LAN / limited area | Entire Internet |
| Speed | Faster | Slower (more hops) |
| Techniques | Broadcast, local discovery | DNS, search engines |
| Resources found | Nearby devices | Worldwide resources |
Local search is confined and fast, while global search spans the world and relies on global addressing and naming systems.
Describe the hybrid topology and tree topology. In what situations are they preferred?
Tree Topology:
- A hierarchical arrangement combining characteristics of bus and star topologies.
- A central root node connects to multiple secondary hub nodes, which in turn connect to end devices forming branches like a tree.
- Advantages: Scalable, easy to manage in segments, supports point-to-point wiring for individual segments.
- Disadvantages: Failure of the root node affects the entire network; heavy cabling.
- Preferred when: The network needs a hierarchical structure such as large organizations with departments.
Hybrid Topology:
- A combination of two or more different topologies (e.g., star-bus, star-ring).
- Designed to leverage the advantages of each combined topology while minimizing weaknesses.
- Advantages: Flexible, scalable, and reliable; faults can be isolated easily.
- Disadvantages: Complex design and expensive to install and manage.
- Preferred when: Large enterprises need customized networks combining different topologies for different departments or requirements.
Summary: Tree topology suits hierarchical setups, while hybrid topology suits large, complex networks needing flexibility and reliability.
Explain the working of a modem in data communication. Why is it needed?
Modem stands for Modulator-Demodulator. It is a device that converts digital signals from a computer into analog signals for transmission over telephone lines and vice versa.
Working:
- Modulation: At the sending end, the modem converts the computer's digital data (s and s) into analog signals that can travel over analog transmission media like telephone lines.
- Demodulation: At the receiving end, the modem converts the incoming analog signals back into digital data that the computer can understand.
Why It Is Needed:
- Traditional telephone lines were designed to carry analog voice signals, not digital data.
- Computers process and store data in digital form.
- The modem bridges this gap by translating between digital and analog forms, enabling computers to communicate over analog networks.
Types of Modems:
- Internal and external modems
- Dial-up, DSL, and cable modems
- Wireless modems
The speed of a modem is measured in bits per second (bps). Thus, a modem is essential for connecting digital devices to analog communication infrastructure.
What is a protocol in networking? Explain the key elements of a protocol.
A protocol is a set of rules and conventions that govern how data is transmitted and received between devices in a network. It represents an agreement between communicating devices, without which they cannot understand each other even if physically connected.
Key Elements of a Protocol:
- Syntax: Refers to the structure or format of the data, including the order in which they are presented. For example, the first 8 bits may represent the sender's address, the next 8 bits the receiver's address, etc.
- Semantics: Refers to the meaning of each section of bits. It defines how a particular pattern is to be interpreted and what action is to be taken based on that interpretation.
- Timing: Refers to two characteristics — when data should be sent and how fast it can be sent. If a sender transmits faster than the receiver can accept, data will be lost.
Examples of Protocols:
- TCP/IP – Internet communication
- HTTP/HTTPS – Web browsing
- FTP – File transfer
- SMTP – Email
Protocols ensure orderly, accurate, and reliable communication between diverse devices.
Explain packet switching and how it enables efficient data transmission over the Internet.
Packet switching is a method of transmitting data in which messages are broken into small units called packets that are sent independently over the network and reassembled at the destination.
How It Works:
- Segmentation: The original message/data is divided into small packets.
- Packet Header: Each packet contains a header with the source address, destination address, sequence number, and error-check information.
- Independent Routing: Each packet may travel through a different path to reach the destination, based on network conditions.
- Reassembly: At the destination, packets are reassembled in the correct order using their sequence numbers.
Advantages:
- Efficient use of bandwidth: Multiple users share the same links.
- Fault tolerance: If one path fails, packets are rerouted through other paths.
- No dedicated circuit required, unlike circuit switching.
- Cost-effective and scalable.
Example: The Internet uses packet switching with the TCP/IP protocol suite, where TCP handles segmentation/reassembly and IP handles addressing/routing.
Packet switching makes the Internet robust, flexible, and efficient for handling large volumes of data.
Describe the different classes of IPv4 addresses (Class A to E) and their uses.
IPv4 addresses are divided into five classes (A to E) based on the leading bits and the range of the first octet:
Class A:
- Range:
0.0.0.0to127.255.255.255 - First bit:
0 - First octet = network, remaining 3 octets = host.
- Supports a very large number of hosts per network.
- Use: Very large organizations.
Class B:
- Range:
128.0.0.0to191.255.255.255 - First two bits:
10 - First 2 octets = network, last 2 octets = host.
- Use: Medium to large organizations.
Class C:
- Range:
192.0.0.0to223.255.255.255 - First three bits:
110 - First 3 octets = network, last octet = host.
- Use: Small networks.
Class D:
- Range:
224.0.0.0to239.255.255.255 - First four bits:
1110 - Use: Reserved for multicasting.
Class E:
- Range:
240.0.0.0to255.255.255.255 - Use: Reserved for experimental/research purposes.
Summary Table:
| Class | First Octet Range | Purpose |
|---|---|---|
| A | 0–127 | Large networks |
| B | 128–191 | Medium networks |
| C | 192–223 | Small networks |
| D | 224–239 | Multicasting |
| E | 240–255 | Experimental |
Explain the role of the Internet Protocol (IP) in the TCP/IP model. What are its main functions?
The Internet Protocol (IP) is a core protocol of the TCP/IP suite operating at the network layer. It is responsible for delivering packets from the source host to the destination host based solely on their IP addresses.
Main Functions of IP:
- Addressing: Assigns a unique IP address to each device so that data can be directed to the correct destination.
- Routing: Determines the path packets should take across interconnected networks to reach the destination using routers and routing tables.
- Packet Encapsulation: Wraps data received from the transport layer into IP packets (datagrams) with headers containing source and destination addresses.
- Fragmentation and Reassembly: Breaks large packets into smaller fragments to match the maximum transmission unit (MTU) of a network and reassembles them at the destination.
Key Characteristics:
- IP is a connectionless protocol — each packet is treated independently.
- IP provides best-effort delivery — it does not guarantee delivery, ordering, or error correction (these are handled by TCP).
- Works together with TCP to ensure reliable end-to-end communication.
Conclusion: IP forms the backbone of Internet communication by enabling logical addressing and routing of data packets across the globe.
Compare circuit switching and packet switching techniques.
Both are methods used to transmit data across a network, but they differ significantly in approach.
Circuit Switching:
- A dedicated communication path is established between sender and receiver before data transfer.
- The path remains reserved for the entire duration of the communication.
- Example: Traditional telephone networks.
Packet Switching:
- Data is broken into packets that travel independently over shared paths.
- No dedicated path; resources are shared dynamically.
- Example: The Internet.
Comparison Table:
| Feature | Circuit Switching | Packet Switching |
|---|---|---|
| Path | Dedicated | Shared |
| Setup time | Required before transfer | Not required |
| Bandwidth use | Reserved (may be wasted) | Efficient sharing |
| Reliability | Consistent quality | Variable delay |
| Fault tolerance | Low | High (rerouting) |
| Cost | Higher | Lower |
| Example | Telephone call | Internet data |
Conclusion: Circuit switching gives guaranteed bandwidth but is inefficient for bursty data, whereas packet switching maximizes resource utilization and is ideal for computer networks.
What are transmission media? Explain the different types of guided and unguided transmission media.
Transmission media are the physical paths through which data travels from sender to receiver in a communication system. They are broadly classified into guided (wired) and unguided (wireless) media.
1. Guided (Wired) Media:
Signals travel through a physical, bounded medium.
- Twisted Pair Cable: Two insulated copper wires twisted together. Cheap and common (e.g., telephone lines, LAN cables). Types: STP and UTP.
- Coaxial Cable: A central copper conductor surrounded by insulation and shielding. Higher bandwidth; used in cable TV and older networks.
- Fiber-Optic Cable: Transmits data as light pulses through glass/plastic fibers. Very high bandwidth, immune to electromagnetic interference, used for long-distance and high-speed communication.
2. Unguided (Wireless) Media:
Signals travel through air/space without a physical conductor.
- Radio Waves: Omnidirectional, used for AM/FM radio, Wi-Fi, mobile communication.
- Microwaves: Line-of-sight transmission; used for satellite and long-distance telephony.
- Infrared: Short-range communication; used in remote controls and device-to-device transfer.
Comparison:
| Media | Speed | Cost | Interference |
|---|---|---|---|
| Twisted pair | Low-moderate | Low | High |
| Coaxial | Moderate | Moderate | Moderate |
| Fiber-optic | Very high | High | Very low |
| Wireless | Variable | Variable | High |
Explain the working of the Domain Name System (DNS) and its importance in Internet communication.
The Domain Name System (DNS) is a hierarchical, distributed naming system that translates human-readable domain names (like www.google.com) into machine-readable IP addresses (like 142.250.190.78).
Why DNS Is Needed:
- Computers communicate using IP addresses, which are difficult for humans to remember.
- DNS allows users to use easy-to-remember names instead of numeric addresses.
How DNS Works (Resolution Process):
- User request: A user types a domain name into the browser.
- DNS resolver query: The request goes to a DNS resolver (usually provided by the ISP).
- Root server: The resolver queries a root DNS server, which directs it to the appropriate Top-Level Domain (TLD) server (e.g.,
.com). - TLD server: Directs the resolver to the authoritative name server for that domain.
- Authoritative server: Returns the corresponding IP address.
- Response: The resolver returns the IP address to the browser, which then connects to the web server.
Importance:
- Makes the Internet user-friendly.
- Enables scalability with a distributed structure.
- Provides load balancing and redundancy.
Conclusion: DNS acts like the Internet's phonebook, essential for locating and accessing resources by name.
Define data communication. Explain its fundamental characteristics that determine the effectiveness of a communication system.
Data communication refers to the exchange of data between two or more devices via a transmission medium such as a wire, cable, or wireless link. For communication to occur, the devices must be part of a communication system made up of hardware and software.
Fundamental Characteristics:
- Delivery: The system must deliver data to the correct destination. Data must be received by the intended device or user only.
- Accuracy: The system must deliver the data accurately. Data altered during transmission and left uncorrected is unusable.
- Timeliness: Data must be delivered in a timely manner. Late delivery is useless, especially for real-time transmissions like audio and video.
- Jitter: Refers to the variation in packet arrival time. Uneven delays in delivery of packets degrade the quality of audio/video.
These characteristics ensure that data reaches the right place, in correct form, and at the right time, forming the basis of a reliable communication system.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill. The rest comes out of a student's own pocket: the domain, the storage, and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason. to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it. What it pays for →