Types of Computer Networks — Long Answer Questions
Medium Level (Application & Explanation)
Q1. Explain the main differences between a LAN and a WAN. Give practical examples of when each is used.
Answer:
Local Area Network (LAN) connects devices within a small area such as a room, building or campus. It usually has high data transfer speeds, uses private media like Ethernet cables or Wi‑Fi, and is owned/managed by a single organization. Typical examples include a school computer lab or an office network where printers and files are shared.
Wide Area Network (WAN) connects devices across large distances — cities, countries or continents. WANs use public telecommunication links, satellites or leased lines and often have lower speeds compared to LANs. The Internet is the largest example of a WAN.
When to use each: use a LAN to share resources quickly inside one building (e.g., printing, file servers). Use a WAN to connect remote offices or employees in different cities so they can access central servers and the Internet.
Important points: LAN is faster, cheaper to set up locally and easier to secure; WAN is essential for long-distance communication but needs more planning, cost and external services.
Q2. Describe the role of a Network Interface Card (NIC) and explain why a physical (MAC) address is important.
Answer:
A Network Interface Card (NIC) is hardware inside a computer or device that enables it to connect to a network. It can be wired (Ethernet) or wireless (Wi‑Fi). The NIC sends and receives data packets, converts data from the computer into signals suitable for the network medium, and vice versa.
Each NIC has a unique physical address, known as the MAC (Media Access Control) address. The MAC address is important because it identifies each device on the local network, allowing switches and other devices to send data to the correct destination. While IP addresses can change, the MAC address is usually fixed, making it useful for network management, filtering and security (for example, allowing only specific MAC addresses to access a network).
In summary, the NIC is the device’s gateway to the network, and the MAC address is the unique identity that helps reliable local delivery of packets and aids network administrators in controlling access.
Q3. Explain how a hub, a switch, and a router operate. In what situations should each be used?
Answer:
A hub is a simple device that connects multiple devices in a LAN. When a hub receives data on one port, it broadcasts that data to all other ports. This is simple but inefficient because all devices share the same bandwidth and collisions can occur. Use a hub only for very small, low-cost, non-critical networks or for learning purposes.
A switch is smarter: it learns MAC addresses of connected devices and sends data only to the correct port. This reduces unnecessary traffic and improves network speed and efficiency. Switches are ideal for almost all LANs, such as school labs and offices.
A router connects different networks (for example, a LAN to the Internet). It directs data packets between networks using IP addresses and decides the best path for data. Routers often provide NAT, DHCP and firewall features. Use a router when you need to connect several networks, access the Internet, or control traffic between subnets.
Summary: use switches for efficient local device connections, routers to link networks and manage traffic, and hubs only for very simple or legacy setups.
Q4. Describe a Personal Area Network (PAN). Provide examples of how a PAN is set up and list its advantages and limitations.
Answer:
A Personal Area Network (PAN) is a small network used by one person to connect their personal devices within a short range (typically less than 10 meters). Common PAN technologies include Bluetooth and Wi‑Fi Direct.
Example setup: a person pairs Bluetooth headphones with a smartphone, connects a smartwatch to the phone for notifications, and uses Wi‑Fi Direct to share photos between a phone and a laptop. These devices form a PAN that supports file transfer, audio streaming and device control.
Advantages: PANs are convenient, easy to set up, and allow fast, short-range sharing without cables. They save time and support mobility — for example, listening to music wirelessly.
Limitations: PANs have limited range, lower scalability (not meant for many devices), and security risks if devices are not paired securely (e.g., unauthorized connections). They depend on device compatibility and battery power.
In short, a PAN is perfect for personal device connectivity but not suitable for wide-area or multi-user networking.
Q5. Define a server and explain different types of servers common in a school network. How do clients access server resources?
Answer:
A server is a powerful computer or program that provides services to other computers (clients) on a network. Servers store files, host websites, manage printers, or provide applications.
In a school network common servers include:
File server: stores students’ and teachers’ documents and backups so clients can save and retrieve files centrally.
Print server: manages print jobs and allows many users to share one or more printers.
Web server: hosts the school’s website or internal portals for announcements and resources.
Authentication server (or domain controller): checks usernames and passwords and controls access to network resources.
Clients access server resources by sending requests over the network. For example, a student’s computer (client) requests a document; the server checks permissions and sends the file back. Communication happens using standard protocols like HTTP for web, SMB for file sharing, or IP for routing.
Servers are usually always on and centrally managed so that resources are available to many clients reliably and securely.
High Complexity (Analytical & Scenario-Based)
Q6. Scenario: Your school expands from one building to a multi‑building campus. Design a network plan using LAN and MAN concepts. Which components (switches, routers, repeaters, NICs) would you use and why? Describe how data flows.
Answer:
Plan summary: Each building will have its own LAN to connect classrooms, labs and local resources. These building LANs will be connected together using a MAN (Metropolitan Area Network) or campus backbone to allow sharing across the campus.
Components and roles:
NICs: installed in every device so computers and printers can connect to LANs.
Switches: placed in each classroom or computer lab to create efficient local networks and reduce collisions.
Routers: connect each building’s LAN to the campus backbone (MAN) and to the Internet; they direct traffic between buildings and external networks.
Repeaters or fiber extenders: used where signal strength weakens over long cable distances, especially between distant buildings.
Core switch or campus router: at the central server room to manage traffic and connect to the school server and Internet gateway.
Data flow: A student in Building A requests a file from the central server. The request travels from the student’s NIC → classroom switch → building router → campus backbone → core switch/server. The server sends the file back along the same path but optimized by routers and switches, ensuring only necessary segments are used. Repeaters ensure signal integrity across long distances.
Security and management: use VLANs on switches to separate student and administrative traffic, and strong firewalls on routers to protect sensitive data. This design balances performance, reliability and manageability for a growing campus.
Q7. Analyze the advantages and disadvantages of using a hub instead of a switch in a small office network. Consider performance, security and future growth.
Answer:
Advantages of a hub:
Low cost: hubs are cheaper to buy, which may be tempting for very small budgets.
Simplicity: they are easy to set up and require no configuration.
Disadvantages and problems:
Poor performance: a hub broadcasts all data to every port, causing more network traffic and collisions. This reduces effective bandwidth and slows down the network, especially as more devices are added.
No intelligence: hubs cannot learn device addresses or isolate traffic, so they are inefficient compared to switches.
Security risks: because data is sent to all devices, sensitive information could be exposed to unintended recipients. Tools like packet sniffers can easily capture traffic on hubs.
Limited scalability: as the office grows, hubs become major bottlenecks that require replacement.
In contrast, a switch provides better performance, security (traffic isolation) and is more future-proof. For a small office that plans to grow, a switch is a better long-term investment despite higher initial cost. Use a hub only for non-critical, temporary setups where cost is the priority and traffic is extremely light.
Q8. Scenario: A remote branch office connects to the head office over the public Internet. Explain the roles of modem, router, gateway and name security measures (like VPN and firewall) you would apply.
Answer:
Roles of devices:
Modem: at the remote branch, the modem converts digital signals from the local network into analog signals (or into the proper carrier signals) required by the Internet service provider. It provides the physical connection to the ISP.
Router: sits behind the modem and routes traffic between the branch local network (LAN) and the Internet. It assigns local IPs (often via DHCP), performs NAT, and directs packets to the correct destinations.