7 Data Communication And Computer Network

Introduction to Information Technology · Unit 7 · 5 hrs

Data Communication and Computer Network

Exam-focused notes for Data Communication and Computer Network (Introduction to Information Technology, CSC114): what the TU syllabus asks and how it has actually been tested, with 11 solved past questions from this unit.

Data Communication and Computer Network in short

This chapter explains how computers exchange data over distance: the media that carry signals, why networks matter, how networks are classified and laid out, and the protocols and rules that let dissimilar devices communicate.

Data Communication and Computer Network: notes

Introduction

Data communication is the exchange of data between a source and a receiver through a transmission medium such as a wire cable. A computer network is a group of computer systems connected together for the purpose of sharing resources.

Importance of Networking

Computer networks serve several important purposes. Information and resource sharing lets organizations with units placed apart from each other share information effectively, with programs, software, printers and scanners on any networked computer accessible to other linked computers. Retrieving remote information lets users access data stored on remote databases, for example through the World Wide Web. Speedy interpersonal communication has increased the speed and volume of communication: electronic mail (email) is used extensively to send text, documents, images and video across the globe, and online communication has multiplied through social networking services. E-commerce has opened the way for business and commercial transactions online, letting users and organizations buy or sell items, pay bills, manage bank accounts, pay taxes, transfer funds and handle investments electronically. Highly reliable systems result from networks distributing data across multiple sources, so that if one source fails, the system continues to function using data still available elsewhere. Networking has also enabled VoIP (Voice over Internet Protocol), which has revolutionized telecommunication by carrying telephone calls digitally over Internet Protocol instead of regular analog phone lines.

Data Transmission Media

Transmission media are the pathways that carry information from sender to receiver, using different kinds of cables or waves, with data usually transmitted as electrical or electromagnetic signals. There are two broad kinds of transmission media. Wired, guided or bound transmission media are cables with a physical, tangible existence, limited by physical geography; the popular guided media are the twisted pair cable, the coaxial cable and the optical fibre cable, each with its own transmission speed, susceptibility to noise, physical appearance and cost. Wireless, unguided or unbound transmission media transmit data without cables and are not bounded by physical geography; this wireless communication is increasingly popular, with wireless LANs installed in offices and college campuses, and microwave and radio wave being among the popular unguided media.

Data Transmission across Media

Whichever medium is used, data is carried as electrical signals over guided media such as cables, or as electromagnetic signals, such as microwave and radio waves, over unguided media.

What this unit covers

  • Introduction
  • Importance of Networking
  • Data Transmission Media
  • Data Transmission across Media
  • Data Transmission and Data Networking
  • Computer Network
  • Network Types
  • Network Topology
  • Communication Protocol
  • Network Devices
  • Wireless Networking

Network Topology

2081 · 10 marks

Define network topology. Explain different types of network topologies along with their merits and demerits.[10]

Show solved answer

Network Topology: Definition and Types

Definition of Network Topology

Network topology refers to the physical or logical layout of a network. It defines the way different nodes are placed and interconnected with each other. Alternatively, network topology may describe how the data is transferred between these nodes.

There are two types of network topologies:

  • Physical Topology: Emphasizes the physical layout of the connected devices and nodes.
  • Logical Topology: Focuses on the pattern of data transfer between network nodes.

Types of Network Topologies

1. Bus Topology

In bus topology, all the devices/nodes are connected sequentially to the same backbone or transmission line (a single cable called the bus). Data travels along the bus in both directions until it reaches the intended destination node.

[Node1]---[Node2]---[Node3]---[Node4]
|___________________________________|
            Backbone Cable
csc-network-bus

Merits:

  • Simple and easy to install
  • Low cost (requires less cable)
  • Easy to extend by adding more nodes
  • Works well for small networks

Demerits:

  • Single point of failure: if the backbone cable fails, the entire network goes down
  • Performance degrades as more nodes are added
  • Difficult to troubleshoot faults
  • Limited cable length and number of nodes

2. Ring Topology

In ring topology, each node is connected to exactly two other nodes, forming a closed circular loop. Data travels in one direction (or both in dual ring) around the ring until it reaches the destination.

    [Node1]
   /       \
[Node4]  [Node2]
   \       /
    [Node3]

Merits:

  • Data flows in one direction, reducing the chance of packet collision
  • Equal access for all nodes (token passing ensures fairness)
  • Performs better than bus topology under heavy load
  • Easy to identify faults

Demerits:

  • Failure of a single node can disrupt the entire network
  • Adding or removing nodes disrupts network operation
  • Slower than star topology
  • More difficult to configure and install than bus topology

3. Star Topology

In star topology, all nodes are connected to a central device (hub or switch). All data passes through the central device before reaching its destination.

        [Node1]
           |
[Node4]--[HUB/SWITCH]--[Node2]
           |
        [Node3]

Merits:

  • Easy to install and manage
  • Failure of one node does not affect the rest of the network
  • Easy to detect and isolate faults
  • Easy to add or remove nodes without disrupting the network

Demerits:

  • If the central hub/switch fails, the entire network goes down (single point of failure at center)
  • Requires more cable than bus topology
  • Higher cost due to the central device
  • Performance depends on the capacity of the central hub/switch

4. Tree Topology

Tree topology is a hierarchical topology that combines characteristics of bus and star topologies. Nodes are arranged in a tree-like structure with a root node at the top and branches extending downward.

              [Root Node]
             /           \
        [Node A]        [Node B]
        /     \         /     \
   [Node1] [Node2] [Node3] [Node4]

Merits:

  • Hierarchical structure makes it easy to manage and expand
  • Fault detection and correction is easy
  • Supported by many hardware and software vendors
  • Suitable for large networks

Demerits:

  • If the root node fails, the entire network is affected
  • Requires more cable than star or bus topology
  • Maintenance can be difficult as the network grows
  • Heavily dependent on the backbone cable

5. Mesh Topology

In mesh topology, every node is connected to every other node in the network. There are two types: full mesh (every node connected to all others) and partial mesh (some nodes connected to all, others only to those they exchange data with most frequently).

[Node1]---[Node2]
  | \   / |
  |  \ /  |
  |   X   |
  |  / \  |
  | /   \ |
[Node4]---[Node3]

Merits:

  • Highly reliable: failure of one link does not affect the rest of the network
  • Data can be transmitted simultaneously from different devices
  • Provides high security and privacy
  • Easy to detect faults

Demerits:

  • Very expensive due to large amount of cabling required
  • Installation and configuration is complex
  • Maintenance is difficult
  • Not practical for large networks due to high cost

6. Hybrid Topology

Hybrid topology is a combination of two or more different types of topologies. For example, a network may combine star and bus topologies to take advantage of the benefits of each.

[Star Cluster 1]---[Bus Backbone]---[Star Cluster 2]

Merits:

  • Flexible and scalable
  • Reliable: inherits the strengths of the combined topologies
  • Easy to detect errors and troubleshoot
  • Can be designed to meet specific organizational needs

Demerits:

  • Complex design and installation
  • Expensive due to multiple infrastructure requirements
  • Difficult to manage and maintain
  • Requires skilled network administrators

Summary Table

TopologyCostReliabilityScalabilityComplexity
BusLowLowLimitedSimple
RingMediumMediumModerateModerate
StarMediumHighHighSimple
TreeMediumMediumHighModerate
MeshHighVery HighLowComplex
HybridHighHighHighComplex
Open this answer on its own page →

2079 · 10 marks

What is computer network. Discuss the types of network topologies with their pros and cons.[10]

A computer network is a collection of two or more computers and other devices (nodes) that are interconnected with each other to share resources, data, and information. The connected devices communicate through wired or wireless transmission media. A computer network enables users to share hardwa...

Open this answer on its own page →

2075 · 5 marks

Define computer network. Suppose you have a two story building having 15 computers in each of two floors. Now if you are asked to create a network of these computers, what type of network will you create? Give proper justification to your answer. [5]

Show solved answer

Computer Network - Definition and Network Design

Definition of Computer Network

A computer network is a collection of two or more computers and other devices (such as printers, scanners, etc.) that are interconnected together to share information and resources. It allows users to communicate, share data, hardware equipment, and software programs with each other efficiently.

: "Computer networks allow organizations having units which are placed apart from each other, to share information in a very effective manner. Programs and software on any computer can be accessed by other computers linked to the network. It also allows sharing of hardware equipment, like printers and scanners among varied users."


Network Design for the Two-Story Building

Given Scenario:

  • A two-story building
  • 15 computers on Floor 1 + 15 computers on Floor 2
  • Total = 30 computers

Type of Network: LAN (Local Area Network)

For this scenario, I would create a Local Area Network (LAN).


Justification

FactorJustification
Geographic ScopeAll 30 computers are located within a single building (two floors). LAN is specifically designed to connect computers within a limited geographical area such as a building, office, or campus.
Number of DevicesLAN can easily handle 30 computers, which is a small to medium number of devices.
CostLAN is cost-effective to set up within a building using switches, routers, and Ethernet cables or Wi-Fi.
SpeedLAN provides high data transfer speed (typically 100 Mbps to 1 Gbps), which is ideal for sharing files and resources within a building.
Resource SharingAll 30 computers can share printers, scanners, internet connection, and files, which is the primary goal of networking.
Easy ManagementA LAN within a single building is easy to manage and maintain by a network administrator.

  • Floor 1: 15 computers connected to a network switch
  • Floor 2: 15 computers connected to another network switch
  • Both switches connected to a central router for inter-floor communication and internet access
  • A Wi-Fi Access Point can also be added for wireless connectivity
         [Internet / ISP]
                |
            [Router]
           /         \
     [Switch-1]    [Switch-2]
     Floor 1        Floor 2
   (15 PCs)        (15 PCs)

Conclusion

Since all 30 computers are confined within one building, a LAN is the most appropriate, cost-effective, and efficient choice. It enables all computers to share resources such as printers, files, and internet connection, which fulfills the core purpose of a computer network.

Open this answer on its own page →

Data Transmission Media

2080 · 10 marks

List some benefits of using computer networks. Explain different types of data transmission media in detail.[10]

--- Computer networks provide numerous advantages in modern computing environments. Some key benefits are: 1. Resource Sharing Hardware resources such as printers, scanners, and storage devices can be shared among multiple users connected to the network, reducing cost and redundancy. 2. Data/File...

Open this answer on its own page →

2078 · 10 marks

What is computer network? Discuss different types of data transmission media in computer network with their advantages and disadvantages.[10]

A computer network is a group of computer systems and other computing hardware devices connected together for the purpose of sharing resources via the internet or other communication media. In other words, a computer network allows the exchange of data between a source and a receiver through a fo...

Open this answer on its own page →

Communication Protocol

2079 · 5 marks

What is communication protocol? Why it is used in computer networks? List few examples if communication protocols. [5]

A communication protocol is a set of established rules that dictates how to format, transmit, and receive data so that computer network devices -- from servers and routers to endpoints -- can communicate regardless of the differences in their underlying infrastructures, designs, or standards. ---...

Open this answer on its own page →

2074 · 10 marks

What is communication protocol? Discuss the OSI model with its layers.[10]

--- A communication protocol is a set of rules, standards, and conventions that govern how data is transmitted and received between two or more devices over a network. It defines the format, timing, sequencing, and error checking of messages exchanged between communicating entities. In simple ter...

Open this answer on its own page →

Importance of Networking

2077 · 10 marks

What are the benefits of using computer network? Explain different types of system software in detail. What is network topology?[10]

--- A computer network is a collection of interconnected computers and devices that can communicate and share resources with each other. The main benefits are: Benefit Description ------ Resource Sharing Hardware resources like printers, scanners, and storage devices can be shared among all users...

Open this answer on its own page →

Data Transmission and Data Networking

2075 · 10 marks

What is switching? How can you differentiate packet switching from circuit switching? What are the advantages of using optical fibers?[10]

Switching is the mechanism by which data or signals are routed from a source to a destination through a network. In a network with multiple nodes and links, switching determines the path that data takes from the sender to the receiver. It allows multiple devices to communicate with each other by ...

Open this answer on its own page →

0 · 10 marks

What is switching? How can you differentiate packet switching from circuit switching? What are the advantages of using optical fibers?[10]

Switching is the process of directing data or signals from a source to a destination through a network by selecting an appropriate path or route. In a network, when multiple devices are connected, switching determines how data travels from the sender to the receiver through intermediate nodes (sw...

Open this answer on its own page →

Network Types

0 · 5 marks

Define computer network. Suppose you have a two story building having 15 computers in each of two floors. Now if you are asked to create a network of these computers, what type of network will you create? Give proper justification to your answer. [5]

Show solved answer

Computer Network - Definition and Network Design

Definition of Computer Network

A computer network is a system in which two or more computers (nodes) are interconnected with each other through communication media (wired or wireless) to share information, resources, and hardware among users.:

"Computer networks allow organizations having units which are placed apart from each other, to share information in a very effective manner. Programs and software on any computer can be accessed by other computers linked to the network. It also allows sharing of hardware equipment, like printers and scanners among varied users."


Type of Network to Create

Scenario:

  • A two-story building
  • 15 computers on Floor 1 + 15 computers on Floor 2
  • Total = 30 computers

Network Type: LAN (Local Area Network)

For this scenario, I would create a Local Area Network (LAN).


Justification

FactorJustification
Geographic ScopeAll 30 computers are located within a single building (two floors). LAN is designed for small, localized areas such as a building, office, or campus.
Number of NodesLAN efficiently handles a small to medium number of devices (30 computers in this case).
Resource SharingLAN allows all 30 computers to share printers, scanners, files, and internet connection, which is the primary goal of networking.
CostLAN is cost-effective to set up within a building using Ethernet cables (Cat5/Cat6) or Wi-Fi.
SpeedLAN provides high data transfer speeds (100 Mbps to 1 Gbps), suitable for internal communication.
SecuritySince the network is confined within a building, it is easier to manage and secure.
MaintenanceLAN is easy to install and maintain by a small IT team.

Suggested Network Design

  • Each floor can have its own network switch connecting 15 computers.
  • The two switches (one per floor) are connected to a central router/switch placed in a server room.
  • A star topology is recommended for each floor, as it is easy to manage and a single cable failure does not affect the entire network.
Floor 1 (15 PCs) --> Switch 1 --|
                                |--> Central Router --> Internet
Floor 2 (15 PCs) --> Switch 2 --|

Conclusion

Since all 30 computers are within one building, a LAN is the most appropriate, cost-effective, and efficient network solution. It fulfills the goals of information sharing, resource sharing (printers, scanners), and communication within the building.

Open this answer on its own page →