What is the main function of a router in a computer network?
a) To direct data between different networks
b) To store data
c) To process data
d) To connect peripherals to the computer
Answer:
a) To direct data between different networks
Explanation:
A router is a device that forwards data between different computer networks. It determines the best path for data packets to travel from one network to another, ensuring that data is transmitted efficiently and accurately to its destination.
Routers are commonly used in homes and businesses to connect local area networks (LANs) to the internet, allowing multiple devices to access online resources. They also provide security features, such as firewalls and encryption, to protect the network from unauthorized access.
In large-scale networks, routers are essential for managing traffic, preventing congestion, and ensuring that data packets reach their intended destinations across interconnected networks.