โ๏ธ Basic Computer Organization
(Von Neumann Architecture)
Based on standard textbook chapter | Competitive Exam Notes | 5 Functions, CPU, ALU, CU, Storage Hierarchy, Interfaces & System Concept
๐ Five Basic Functions (All Computers)
- 1. Inputting โ entering data & instructions.
- 2. Storing โ saving data/instructions for processing.
- 3. Processing โ arithmetic (+, -, ร, รท) & logical operations (comparisons).
- 4. Outputting โ producing results (printed/visual).
- 5. Controlling โ directing sequence & manner of operations.
๐ฅ๏ธ Input Unit & Input Interfaces
Accepts data/instructions from external world โ converts to binary code (computer acceptable form) โ supplies to storage unit. Input interfaces match physical/electrical characteristics of devices to computer requirements.
- Examples: keyboard, scanner โ binary conversion essential.
๐ค Output Unit & Output Interfaces
Reverse of input unit. Takes binary results โ converts to human-readable form โ supplies to outside world. Output interfaces transform coded results into human acceptable (ASCII/display).
๐พ Storage Unit: Primary vs Secondary
- Primary storage (Main memory): fast, volatile (loses data on power off), limited capacity, expensive. Holds current program instructions, data, intermediate results.
- Secondary storage (Auxiliary): non-volatile, larger capacity, cheaper, slower. Holds data/jobs for later processing (magnetic disk, SSD).
๐งฎ Arithmetic Logic Unit (ALU)
Performs all calculations & decision-making operations. Transfers data between primary storage and ALU. Typical operations: ADD, SUBTRACT, MULTIPLY, DIVIDE, logical comparisons (<, >, =). Engineering design of ALU determines supported operations.
๐๏ธ Control Unit (CU)
Central nervous system: manages & coordinates other components. Fetches instructions from main memory โ interprets โ issues signals to execute. Does not perform actual processing but directs data flow.
๐ง Central Processing Unit (CPU) = ALU + CU
Brain of computer. Performs major calculations, comparisons, and activates/controls other units. In human body analogy: CPU = brain, other parts follow commands.
๐ The System Concept
A system has three characteristics: (1) multiple elements, (2) logical relation among elements, (3) controlled to achieve goal. Computer is a system because input, output, storage, CPU work together integratedly to execute programs.