Overview & Definition (परिचय तथा परिभाषा)

A computer system is an integrated set of hardware and software components that work together to receive data, process it, store results, and produce output. The architecture of a computer defines how these components are organized, how they communicate, and how the overall system performs tasks.

Core Concepts (मुख्य अवधारणाहरू)

1. Central Processing Unit (CPU)

The CPU is the brain of the computer. It executes instructions stored in memory, performs arithmetic‑logic operations, and controls data flow between other components.

2. Memory

Memory provides temporary and permanent storage for data and instructions.

3. Input/Output (I/O) Subsystem

Devices that allow interaction with the computer.

4. System Bus & Interconnection

The bus is a set of electrical pathways that transfer data, addresses, and control signals among components.

5. Control Unit & Instruction Cycle

The control unit fetches, decodes, and executes instructions in a repetitive cycle known as the fetch‑decode‑execute cycle.

Block Diagram of a Typical Computer System

+-------------------+      +-------------------+      +-------------------+
|   Input Devices   | ---> |   System Bus      | ---> |   Output Devices  |
+-------------------+      +-------------------+      +-------------------+
          |                         ^                         |
          v                         |                         v
   +----------------+        +-----------+            +----------------+
   |   CPU (ALU &   |<------>|   Memory   |<----------|   Storage      |
   |   CU)          |        +-----------+            +----------------+
   +----------------+

This diagram illustrates the flow of information: input devices send data to the CPU via the system bus, the CPU processes data using memory, and results are stored or sent to output devices.

Key Points / Functions

Comparison Table of Major Components

Component Primary Function Typical Examples
CPU (ALU & CU) Execute instructions, perform calculations, control data flow Intel Core i7, AMD Ryzen 5
Primary Memory (RAM) Temporary storage for active programs and data DDR4 8 GB, DDR5 16 GB
Secondary Storage Permanent data retention SSD, HDD, USB flash drive
I/O Devices Facilitate input to and output from the system Keyboard, Monitor, Printer
System Bus Transfer data, addresses, and control signals PCIe, SATA, USB

Practical Application / Real‑World Relevance

Understanding computer architecture is essential for:

Quick Review Questions & Answers (अभ्यासका लागि प्रश्नोत्तर)

  1. Q: What are the three main types of buses in a computer system?
    A: Data bus, address bus, and control bus.
  2. Q: Which component stores data permanently?
    A: Secondary storage devices such as hard disks or SSDs.
  3. Q: Name two functions of the Control Unit.
    A: Generates control signals and coordinates the fetch‑decode‑execute cycle.
  4. Q: Why is RAM considered volatile?
    A: Because it loses its stored data when power is removed.
  5. Q: In the block diagram, which component directly connects to both input and output devices?
    A: The System Bus.

Use these questions to test your recall before the exam or practical assessment.