Basic organisation#
Input unit → CPU (ALU + Control Unit + registers) ↔ memory → output unit. Data moves on buses (address, data, control).
Memory#
- Primary: RAM (volatile, working memory), ROM (non-volatile, boot instructions). Cache - very fast memory between CPU and RAM. Registers inside the CPU.
- Secondary: HDD, SSD, pen drive, CD/DVD - permanent storage.
| Unit | Size |
|---|---|
| 1 nibble | 4 bits |
| 1 byte | 8 bits |
| 1 KB | 1024 bytes |
| 1 MB | 1024 KB |
| 1 GB | 1024 MB |
| 1 TB | 1024 GB |
| then PB, EB, ZB, YB | ×1024 each |
CPU में ALU (अंकगणितीय व तार्किक गणनाएँ) और कंट्रोल यूनिट (निर्देशों का नियंत्रण) होते हैं। RAM अस्थायी (volatile) स्मृति है जबकि ROM स्थायी। 1 बाइट = 8 बिट और 1 KB = 1024 बाइट।
Software#
- System software: operating system (Windows, Linux, Android), device drivers, utilities (antivirus, disk cleanup), language translators.
- Application software: general purpose (word processor, spreadsheet, browser) and customised (school management, billing).
- Programming tools: editors, IDEs.
Operating system functions: process management, memory management, file management, device management, security and user interface (CLI or GUI).
Language translators#
| Translator | Translates |
|---|---|
| Assembler | assembly language → machine code |
| Compiler | whole high-level program at once (C, C++) |
| Interpreter | line by line (Python) |
Exam tips#
- Differentiate RAM/ROM, compiler/interpreter, system/application software.