← Back to quizzesFree quiz

Kiến trúc và ứng dụng mạng máy tính

Computer networks are the backbone of modern information systems. Understanding the different types of networks, their topologies, and the protocols that enable communication is essential…

10 questions~5 min
Kiến trúc và ứng dụng mạng máy tính — Qwi
0 / 10
Score: 0%
1

Mạng nào thường dùng cáp xoắn đôi, cáp đồng trục và cáp quang để kết nối trong một công ty hay trường học?

2

Trong mô hình mạng bus topology, khi có sự cố trên cáp chính, hậu quả nào xảy ra?

3

Ưu điểm nào của mạng star topology giúp giảm thời gian khắc phục lỗi?

4

Giao thức nào được sử dụng để truyền siêu văn bản trên Internet?

5

Khi muốn tự động cấp địa chỉ IP cho các thiết bị trong mạng, bạn sẽ cấu hình dịch vụ nào?

6

Trong mạng ring topology, dữ liệu được truyền dựa trên cơ chế nào?

7

Những thiết bị nào thường được dùng làm trung tâm trong mạng star topology?

8

So sánh giữa mạng P2P và mô hình client‑server, điểm nào sau đây đúng?

9

Nếu một đường cáp quang trong mạng WAN bị đứt, hậu quả nào thường gặp nhất?

10

Trong mô hình TCP/IP, tầng nào chịu trách nhiệm chuyển dữ liệu qua các thiết bị mạng vật lý?

Introduction to Computer Network Architecture

Computer networks are the backbone of modern information systems. Understanding the different types of networks, their topologies, and the protocols that enable communication is essential for anyone studying Computer Science or working in the field of network engineering. This course will explore the key concepts tested in the quiz, providing detailed explanations, practical examples, and SEO‑friendly terminology.

Local Area Networks (LAN)

A Local Area Network (LAN) connects devices within a limited geographic area such as a company office, school campus, or home. LANs typically use the following media:

  • Twisted‑pair copper cables (Cat5e, Cat6, etc.)
  • Coaxial cable for legacy installations
  • Fiber‑optic cable for high‑speed backbone links

These media provide reliable, high‑bandwidth connections that support applications ranging from file sharing to video conferencing. Because the physical distance is short, LANs can achieve low latency and high throughput.

Mnemonic: LAN = "Local Area Network", the network inside a room or building.

Network Topologies

Bus Topology

In a bus topology, all nodes share a single communication line (the "bus"). This design is simple and cost‑effective but has a critical weakness: if the main cable fails, the entire network stops working. The failure propagates because every device relies on the same physical medium.

Analogy: A single road connecting all houses; a blockage stops traffic for everyone.

Star Topology

In a star topology, each node connects directly to a central device—usually a switch or hub. The advantages include:

  • Easy addition or removal of devices without disrupting the whole network.
  • If one peripheral node fails, the remaining nodes continue to operate normally.
  • Centralized management of traffic, which simplifies troubleshooting.

The central device acts as a traffic controller, forwarding frames only to the intended destination. This reduces collisions and improves overall performance compared to a bus layout.

Ring Topology

A ring topology connects each node to exactly two other nodes, forming a closed loop. Data travels around the ring using the token‑passing protocol. Only the node that holds the token may transmit, which prevents collisions and ensures orderly access to the medium.

Remember: token = "pass‑the‑baton" that grants the right to speak.

Key Network Protocols

HTTP – Hypertext Transfer Protocol

HTTP is the foundation of data communication on the World Wide Web. It defines how web browsers request HTML documents, images, and other resources from web servers. The protocol operates over TCP/IP, typically on port 80 (or 443 for HTTPS).

Key characteristics of HTTP:

  • Stateless: each request is independent.
  • Request/Response model: client sends a request, server returns a response.
  • Supports methods such as GET, POST, PUT, DELETE.

Understanding HTTP is crucial for web development, API design, and network security.

DHCP – Dynamic Host Configuration Protocol

DHCP automates the assignment of IP addresses, subnet masks, default gateways, and DNS servers to devices on a network. When a device connects, it sends a DHCPDISCOVER broadcast; the DHCP server replies with an OFFER, and the device finalizes the lease with a DHCPREQUEST.

Benefits of DHCP include:

  • Reduced manual configuration errors.
  • Efficient reuse of IP address space.
  • Scalability for large networks such as corporate LANs.

Mnemonic: DHCP = "Dynamic IP Assignment".

Network Devices in Different Topologies

Central Devices for Star Networks

The hub or switch is the heart of a star network. While both connect multiple devices, they differ in functionality:

  • Hub: operates at the physical layer, broadcasting incoming frames to all ports. It is simple but can cause collisions.
  • Switch: works at the data link layer, forwarding frames only to the destination port based on MAC addresses. This reduces collisions and improves bandwidth utilization.

Modern star networks almost always use switches because of their efficiency and support for VLANs, QoS, and other advanced features.

Peer‑to‑Peer (P2P) vs. Client‑Server Models

Two fundamental architectural models define how resources are shared and managed:

  • Client‑Server: A dedicated server hosts resources and services; clients request and consume them. This model offers centralized control, robust security, and scalability, but requires investment in server hardware and maintenance.
  • Peer‑to‑Peer (P2P): Every node can act as both client and server, sharing resources directly with other peers. The lack of a central server reduces costs and simplifies deployment, making P2P attractive for small‑scale or distributed applications such as file‑sharing networks.

The correct statement from the quiz is that P2P does not have a central server and therefore costs less. However, P2P may face challenges in security, data consistency, and performance under heavy load.

Summary of Core Concepts

  • LANs use twisted‑pair, coaxial, and fiber to connect devices within a limited area.
  • Bus topology suffers a single point of failure; star topology isolates faults; ring topology relies on token passing.
  • HTTP transports hypertext; DHCP automates IP address allocation.
  • Switches or hubs serve as the central hub in star networks, with switches offering superior performance.
  • P2P networks are decentralized and cost‑effective, whereas client‑server architectures provide centralized management and security.

By mastering these concepts, students and professionals can design, troubleshoot, and optimize a wide range of network environments—from small office LANs to large‑scale enterprise infrastructures.