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.
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 answerHide 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
| Topology | Cost | Reliability | Scalability | Complexity |
|---|---|---|---|---|
| Bus | Low | Low | Limited | Simple |
| Ring | Medium | Medium | Moderate | Moderate |
| Star | Medium | High | High | Simple |
| Tree | Medium | Medium | High | Moderate |
| Mesh | High | Very High | Low | Complex |
| Hybrid | High | High | High | Complex |
2079 · 10 marks
What is computer network. Discuss the types of network topologies with their pros and cons.[10]
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 answerHide 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
| Factor | Justification |
|---|---|
| Geographic Scope | All 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 Devices | LAN can easily handle 30 computers, which is a small to medium number of devices. |
| Cost | LAN is cost-effective to set up within a building using switches, routers, and Ethernet cables or Wi-Fi. |
| Speed | LAN provides high data transfer speed (typically 100 Mbps to 1 Gbps), which is ideal for sharing files and resources within a building. |
| Resource Sharing | All 30 computers can share printers, scanners, internet connection, and files, which is the primary goal of networking. |
| Easy Management | A LAN within a single building is easy to manage and maintain by a network administrator. |
Recommended Network Setup
- 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.
Data Transmission Media
2080 · 10 marks
List some benefits of using computer networks. Explain different types of data transmission media in detail.[10]
2078 · 10 marks
What is computer network? Discuss different types of data transmission media in computer network with their advantages and disadvantages.[10]
Communication Protocol
2079 · 5 marks
What is communication protocol? Why it is used in computer networks? List few examples if communication protocols. [5]
2074 · 10 marks
What is communication protocol? Discuss the OSI model with its layers.[10]
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]
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]
0 · 10 marks
What is switching? How can you differentiate packet switching from circuit switching? What are the advantages of using optical fibers?[10]
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 answerHide 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
| Factor | Justification |
|---|---|
| Geographic Scope | All 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 Nodes | LAN efficiently handles a small to medium number of devices (30 computers in this case). |
| Resource Sharing | LAN allows all 30 computers to share printers, scanners, files, and internet connection, which is the primary goal of networking. |
| Cost | LAN is cost-effective to set up within a building using Ethernet cables (Cat5/Cat6) or Wi-Fi. |
| Speed | LAN provides high data transfer speeds (100 Mbps to 1 Gbps), suitable for internal communication. |
| Security | Since the network is confined within a building, it is easier to manage and secure. |
| Maintenance | LAN 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.
Make Unit 7 stick
Practice CSC114 with flashcards & quizzes