Free Study Material
The Memory Unit from the last chapter isn't one single thing — a computer actually uses several different kinds of memory, each suited to a different job.
"Volatile vs. non-volatile" is the single most exam-relevant distinction in this topic: RAM's speed comes at the direct cost of losing everything on power-off, which is exactly why a document you haven't saved disappears in a power cut — it was still sitting only in RAM, never yet written to secondary storage.
Note: Cache, RAM, and secondary storage form a speed-vs-capacity trade-off in that exact order — cache is fastest and smallest, secondary storage is slowest and largest, with RAM in between on both counts.
Primary memory (RAM, volatile; ROM, non-volatile) is directly CPU-accessible; secondary memory (HDD, SSD, pen drives) is non-volatile and much larger but slower; cache memory is small and very fast, sitting between the CPU and RAM. Memory capacity is measured in bytes, scaling from KB through MB, GB, and TB.
Memory is the storage space in the computer where data is to be processed and instructions required for processing are stored. Computer memory is measured in Bits and Bytes.
The smallest unit of data is a Bit (Binary Digit). Every piece of data you see is just a collection of 0s and 1s.
Directly accessible by the CPU. It is fast but usually has limited capacity.
Used for permanent storage of data. It is non-volatile and much larger than primary memory.
When you "Delete" a file, the computer doesn't immediately erase the data. It simply marks that space as "Available." Until new data overwrites it, the old data can often be recovered using special tools. This is why Data Security is vital when disposing of old hard drives!
"Deleting" a file feels final, but it's worth understanding exactly what actually happens on the storage device — because it's rarely what it looks like.
This is why a genuinely sensitive file needs secure deletion software (which deliberately overwrites the freed space, usually more than once) rather than ordinary deletion — ordinary deletion only removes the pointer, leaving the actual data recoverable for as long as nothing happens to write over that same physical location.
Note: The longer a device keeps being used after a "permanent" deletion, the less likely recovery becomes — every new file written increases the chance of overwriting the old, still-present data.
Everyday deletion just moves a file to the Recycle Bin, fully recoverable. Even "permanent" deletion typically only removes the pointer to the data, not the data itself — which is exactly why recovery software can often retrieve it, and why genuinely sensitive data needs secure deletion (deliberate overwriting) instead.
When you delete a file from your computer, it doesn't actually disappear immediately. Understanding this is crucial for Data Privacy and Digital Forensics.
Think of your Hard Disk as a Book and the file system as the Index (Table of Contents):
Data Recovery is the process of retrieving deleted or inaccessible data from storage media when it cannot be accessed normally. Special software can scan the "available" space on a disk to find data that hasn't been overwritten yet.
Because data persists after deletion, simply "emptying the trash" is not enough when disposing of a device. To truly protect your privacy, you must use:
Now that you know deleted data often isn't really gone, this topic covers the practical side of that fact: keeping stored data safe, both from being lost and from falling into the wrong hands.
Backup and encryption solve two genuinely different risks, not the same one: a backup protects against losing data (a device fails or is stolen), while encryption protects against that data being read by someone unauthorised, even if they do get hold of it — a stolen unencrypted laptop's data is instantly readable, while a stolen encrypted one is not, which is exactly why sensitive data benefits from both together, not either alone.
Note: A backup that lives right next to the original device (like on the same desk) is a weak backup — it fails the exact scenario, theft or physical damage to that location, a backup exists to protect against.
Storage security rests on four practices: Backup (protects against data loss), Password Protection (restricts access), Encryption (makes data unreadable without the right key even if accessed), and Physical Security (protects the device itself) — backup and encryption specifically address two different risks: losing data, and someone unauthorised reading it.
Storing data isn't just about saving it; it's about making sure it stays Private, Available, and Unchanged. There are several ways our stored data can be compromised.
In Informatics Practices, we categorize storage threats into three main areas:
Hard drives can fail due to drops, heat, moisture, or age (Hardware crashes).
Hackers or unauthorized users viewing sensitive files stored on your local or cloud drive.
Malware (Viruses/Ransomware) or software glitches that make files unreadable.
To ensure data remains secure, professionals use a "layered" defense strategy. Here are the most common methods:
| Strategy | Real-World Example |
|---|---|
| Encryption | Converting data into an unreadable code (Ciphertext). Even if stolen, the data is useless without the Key. |
| Access Control | Using Passwords, PINs, or Biometrics (Fingerprints) to restrict who can open the storage. |
| Backups | Keeping a second copy of data on a separate drive or Cloud. (Essential for fighting Ransomware). |
| Firewalls & Antivirus | Software that prevents malware from entering the system and corrupting stored files. |