Basic Principles of Computer Architecture — Easy Answer
Introduction
Computer architecture means how the different parts of a computer are arranged and how they work
together to process data and execute instructions.
1. Von Neumann Architecture
• Instructions and data are stored in the same memory.
• CPU gets both instructions and data from memory.
2. Stored Program Concept
• Program instructions are stored in memory like data.
• CPU reads and executes them one by one.
3. Fetch–Decode–Execute Cycle
• Fetch: Get instruction from memory.
• Decode: Understand the instruction.
• Execute: Perform the required operation.
4. Memory Hierarchy
Memory is arranged according to speed and cost: Registers → Cache → Main Memory (RAM) → Secondary
Memory.
5. Instruction Set Architecture (ISA)
• ISA is the set of instructions understood by the CPU.
• It acts as a connection between software and hardware.
• Examples: RISC and CISC.
6. Register-Based Processing
• Registers are small and very fast storage units inside the CPU.
• They temporarily store data and instructions during processing.
7. Bus System
• A bus transfers information between CPU, memory, and I/O devices.
• Data Bus – carries data; Address Bus – carries addresses; Control Bus – carries control signals.
8. Control Unit
• The Control Unit controls and coordinates all computer operations.
• It ensures that instructions are executed in the correct order.
9. Parallelism and Pipelining
• Pipelining allows multiple instructions to be processed at the same time at different stages.
• Multiple CPU cores can also perform tasks simultaneously.
10. Input/Output Interfacing
• I/O allows the CPU to communicate with devices such as keyboard, printer, and disk.
• Techniques include Interrupts and DMA.
Easy Diagram
Instructions + Data
↓
Fetch → Decode → Execute
↓
■■■■■■■■■■■■■■■■■■■■
■ CPU ■
■ ALU + CU + ■
■ Registers ■
■■■■■■■■■■■■■■■■■■■■
■
Bus System
↓
Memory: Registers → Cache → RAM
↓
Secondary Memory
Conclusion: The basic principles of computer architecture explain how CPU, memory, buses, and I/O
devices work together to execute programs efficiently.