Free tutorials & notes in Hindi & English · Clean code examples 🧰 Free PDF & Image Tools →
🖥️ Unit 1 – Computer System & Emerging Trends  ·  Lesson 02

Computer Memory & Software

Why memory?

A computer must remember the program it is running, the data it is working on and the results it produces. Memory is the part that stores all of these. Like a student who keeps today's books on the desk (fast to reach) and the rest in a cupboard (more space, slower to reach), a computer uses different kinds of memory.

Units of memory

The smallest unit is a bit (0 or 1). 4 bits = 1 nibble, 8 bits = 1 byte. Bigger units go up in steps of 1024 (2¹⁰).

1 Byte = 8 bitsone character1 KB = 1024 Bytesa short note1 MB = 1024 KBa song ≈ 4 MB1 GB = 1024 MBa movie ≈ 2 GB1 TB = 1024 GBa big hard disk1 PB = 1024 TBa data centre
Memory units – each is 1024 times the one above
Python
photo_mb = 4
phone_gb = 128
photos = phone_gb * 1024 // photo_mb
print('Photos that fit:', photos)
print('In bytes:', phone_gb * 1024 ** 3)
Photos that fit: 32768 In bytes: 137438953472

Types of memory

Registersinside CPU – fastest, few bytesCacheon CPU chip – very fast, KB–MBPrimary memory (RAM, ROM)directly used by CPU – GBsSecondary memoryHDD, SSD, pen drive, memory card – permanent, large
Faster and costlier at the top; bigger and cheaper at the bottom

Primary memory: RAM and ROM

RAM

  • Random Access Memory
  • Read + write
  • Volatile – erased when power is off
  • Holds running apps and open files
  • More RAM → smoother multitasking

ROM

  • Read Only Memory
  • Mostly read only
  • Non-volatile – keeps data without power
  • Holds BIOS / firmware to start the computer
  • Small size
RAM vs ROM

Cache memory

Cache is a small, very fast memory between the CPU and RAM. It keeps copies of the data and instructions used most often, so the CPU does not have to wait for slower RAM. Think of keeping your pen and calculator on the desk instead of in the bag.

Secondary memory

DeviceTechnologyNote
Hard Disk Drive (HDD)MagneticCheap, large, has moving parts
Solid State Drive (SSD)Flash memoryFast, silent, no moving parts
Pen drive, SD cardFlash memoryPortable
CD / DVD / Blu-rayOpticalRead with a laser
Cloud storageRemote serversGoogle Drive, OneDrive; needs internet

What is software?

Software is a set of instructions (programs) that make the hardware do useful work. Without software, a computer is just a box of metal and plastic.

📁 Software/
├── System 📁 software/
│   ├── Operating system     Windows, Linux, Android
│   ├── Device drivers       printer, Wi-Fi drivers
│   └── Utilities            antivirus, backup, disk cleanup
├── Programming 📁 tools/
│   ├── Translators          compiler, interpreter, assembler
│   └── IDEs / editors       IDLE, VS Code, Jupyter
└── Application 📁 software/
    ├── General purpose      MS Word, Excel, browser
    └── Customised           school ERP, hospital billing
Classification of software

System software

The operating system (OS) is the most important system software. It manages the CPU (which program runs when), memory (who gets how much RAM), files and folders, devices and security, and gives a user interface (GUI, touch, voice). Popular OS: Windows, macOS, Linux (Ubuntu), Android, iOS.

Utility software keeps the computer healthy: antivirus, file compression (ZIP), disk cleanup, backup and restore. Device drivers let the OS talk to hardware.

Programming tools and translators

Computers understand only machine language (0s and 1s). Translators convert programs written by people into machine language.

TranslatorConvertsHow
AssemblerAssembly language → machine codeInstruction by instruction
CompilerHigh-level (C, C++) → machine codeWhole program at once
InterpreterHigh-level (Python) → machine codeOne line at a time

An IDE (Integrated Development Environment) like IDLE or VS Code combines an editor, a translator and a debugger in one window.

Application software

📝
Word processorMS Word, Google Docs, LibreOffice Writer
📊
SpreadsheetExcel, Google Sheets, LibreOffice Calc
🖼️
Presentation & graphicsPowerPoint, Canva, GIMP
🧾
AccountingTally, Busy, GST billing apps
🌐
BrowserChrome, Firefox, Edge
🏫
CustomisedSchool fee ERP, hospital management
Application software examples

By licence, software is proprietary (paid, closed source – MS Office), freeware (free, closed source – Zoom basic) or free and open source (free, code available – Linux, Python, LibreOffice).

Summary & practice

  • bit → byte (8 bits) → KB → MB → GB → TB → PB, ×1024 each.
  • Registers → cache → RAM/ROM → secondary: speed falls, size grows.
  • Software: system (OS, drivers, utilities), programming tools, application.
  • Compiler: whole program; interpreter: line by line.
✅ Practice

1) A 64 GB pen drive holds how many 512 MB videos? 2) Classify: Tally, antivirus, Python interpreter, Android, a printer driver. 3) Which memory loses its data when the phone switches off?

Answers: 1) 64 × 1024 ÷ 512 = 128 videos. 2) Application, utility, translator, OS, driver. 3) RAM.

Frequently Asked Questions

Why do we need both RAM and a hard disk?
RAM is fast so the CPU can work quickly, but it is small and loses data when power goes off. A hard disk or SSD is slower but large and permanent, so files stay saved.
What is the difference between system software and application software?
System software (OS, drivers, utilities) runs and manages the computer. Application software (Word, Tally, browsers, games) does a specific job for the user and runs on top of the system software.
What is a device driver?
A small program that lets the operating system communicate with a hardware device such as a printer, scanner or graphics card.
← Class 11 Informatics Practices
🔗

Share this topic with a friend

यह topic किसी दोस्त को भेजें

Found it useful? Send it to a classmate learning the same thing.

अच्छा लगा? जो दोस्त यही सीख रहा है, उसे भेज दीजिए।

Next topicEmerging Trends (AI, IoT, Cloud …) Your progress: 2 / 20 (10%) · Lesson 3 / 20 Continue →

How was this lesson?

Your feedback helps us make the content better.

Write a review or suggestion (optional)

After approval, your name and city may appear publicly with your review. Please do not write your email or phone number.

▶ CodingEasily on YouTube

Learn with video lessons in easy Hindi

Featured video: RDBMS Part 3 – Class XI Commerce IT

▶ Subscribe – it’s free