CBSE 2026 results are out, Mukul scored a perfect 100/100 in Computer ScienceSee all toppers →

KwickAcademy Computer Systems · 7 min · free

Units of Memory, Data Deletion and Recovery

7 min4 KwickClipsFull text belowFree
Next lesson →Kajal Ma'am (MCA), teaching since 2004Remembered in this browser

A bit is 0 or 1, a byte is 8 bits, and KB, MB, GB, TB and PB each grow 1024 times; deleting only marks space free.

Follows the syllabus of: CBSE Class 11 Computer Science (083), CBSE Class 11 Computer Science Essentials (083), CBSE Class 11 Informatics Practices (065), GSEB Std 9 Computer Studies

On screen in this lesson

The bit and the byte

Bit: a binary digit, 0 or 1
Nibble: 4 bits
Byte: 8 bits, enough for one character
The letter A is stored as 01000001

Bigger units

UnitEqualsHolds about
1 KB1024 bytesA short message
1 MB1024 KBA song clip
1 GB1024 MBA movie
1 TB1024 GBMany movies
1 PB1024 TBA data centre

Why 1024 and not 1000?

Computers count in powers of 2
2 to the power 10 = 1024
In many syllabuses: 1 KB = 1024 bytes
Some use KiB for 1024 and kB for 1000

Why your 128 GB phone shows less

Maker counts 1 GB = 1000 MB
Phone often counts 1 GB = 1024 MB
Same bytes, smaller number
The OS and apps also take space

Converting between units

Big unit to small unit: multiply by 1024
Small unit to big unit: divide by 1024
Bytes to bits: multiply by 8
Bits to bytes: divide by 8

Worked examples

QuestionWorkingAnswer
2 GB in MB2 x 10242048 MB
3 KB in bits3x1024x824576 bits
5120 MB in GB5120 / 10245 GB
64 bits in bytes64 / 88 bytes

Quick answers

How many MB is 2 GB?

2048 MB, because 2 x 1024.

Is an emptied Recycle Bin file gone?

No. Only its entry is removed; the data stays until overwritten.

KwickClips from this lesson

Short clips, one idea each. Good for revision the night before.

The full lesson, in text

Hello students, welcome to Kwickprep. Your phone says 128 GB, but it shows a little less. And when you delete a photo, is it really gone? Today we will learn the units of memory, how to convert between them, and what truly happens when you delete a file.

A computer stores everything using just two states, on and off, written as one and zero. A bit, short for binary digit, is one such zero or one, and it is the smallest unit. A nibble is four bits. A byte is eight bits, which is enough to store one English character. For example, the capital letter A is stored as the byte zero one zero zero zero zero zero one.

Bytes add up quickly, so we use bigger units, and each is 1024 times the one before. One kilobyte, or KB, is 1024 bytes, about a short text message. One megabyte, or MB, is 1024 KB, about a short song clip. One gigabyte, or GB, is 1024 MB, about a movie. One terabyte, or TB, is 1024 GB, enough for many movies. One petabyte, or PB, is 1024 TB, the scale of a data centre.

Why 1024 and not a round thousand? Computers count in powers of two, because each bit doubles the choices. Two to the power ten is 1024, the power of two closest to a thousand. Most school syllabuses in India take one KB as 1024 bytes, so use that unless told otherwise. Some syllabuses, including Cambridge IGCSE, use kibibyte, or KiB, for 1024 bytes. They use kilobyte for exactly 1000 bytes, so read the question carefully.

This explains a real puzzle about your phone. Storage makers often count one GB as a thousand MB. Many devices count one GB as 1024 MB. So the same number of bytes shows up as a smaller number on screen. The operating system and built in apps also use some of the space before you save anything.

Now, converting between units, which board exams often ask. When you go from a bigger unit to a smaller unit, multiply by 1024 at each step. When you go from a smaller unit to a bigger unit, divide by 1024 at each step. To change bytes into bits, multiply by eight. To change bits into bytes, divide by eight.

Let us work four examples together. Two GB in MB is two times 1024, which is 2048 MB. Three KB in bits is three times 1024, which is 3072 bytes, and times eight gives 24576 bits. 5120 MB in GB is 5120 divided by 1024, which is exactly five GB. Sixty four bits in bytes is sixty four divided by eight, which is eight bytes.

Pause and predict. A song is four MB. Your pen drive has one GB free. How many songs fit? One GB is 1024 MB, and 1024 divided by four is 256 songs.

Now, what really happens when you delete a file. On a computer, the file first goes to the Recycle Bin, so you can restore it. When you empty the bin, the system removes only the file's entry from its index. It is like tearing a line out of a contents page. The space the file used is marked as free for new data. But the actual zeros and ones stay on the disk until new data is written over them.

Here is the journey as a flowchart. First, the file moves to the Recycle Bin. Then the question is, do you restore it? If yes, the file is back exactly as it was. If no, and you empty the bin, the file disappears from view. Its space is only marked as free. Much later, new files overwrite that space. Only then is the data truly gone.

This leads to data recovery, which means getting back deleted or lost data. Special recovery software reads the space that is marked as free. It can rebuild files whose zeros and ones have not yet been overwritten. This is great news when you delete a project by mistake. Investigators also use it to find evidence on seized devices.

But the same trick is a security risk. Imagine you sell your old phone or laptop after just deleting your files. The buyer runs free recovery software on it. Your photos, saved passwords and bank details can come back. A stranger can then misuse your private data, for fraud or blackmail.

So how do we delete data safely? On phones, keep encryption on and use a factory reset, which makes old data unreadable. On computers, use a secure erase or disk wipe tool that overwrites the data. For very sensitive drives, companies physically shred them. And always keep a backup of what you need before you wipe a device.

Let us revise what we learned today. A bit is a zero or one, a nibble is four bits and a byte is eight bits. KB, MB, GB, TB and PB each grow by 1024 times. Going from a big unit to a small one, multiply, and from small to big, divide. Deleting a file only marks its space as free. Recovery can save you, but it is a risk when you sell or give away a device. Try converting your phone's storage into MB and bytes tonight.

Courses that teach this

CourseUnit
CBSE Class 11 Computer Science (083)Computer Systems and Organisation
CBSE Class 11 Computer Science Essentials (083)Computer Systems and Organisation
CBSE Class 11 Informatics Practices (065)Introduction to Computer System
GSEB Std 9 Computer StudiesMemory, Storage Devices and Data Representation
Cambridge IGCSE Grade 9 Computer Science (0478)1. Data Representation
Edexcel GCSE GCSE Computer Science (1CP2)Topic 2: Data
NIOS Senior Secondary Data Entry Operations (336)Lesson 1: Basics of Computer

Voice-over in this lesson is AI-generated. The script is written and checked by Kajal Ma'am. Boards can revise a syllabus mid-year, so confirm anything you plan around against the official board circular. Keep your passwords, OTPs and ID numbers to yourself — we never ask for them. To reach Kajal Ma'am, use the WhatsApp button; sharing your number there is how we call you back.

Free to watch, no sign-up. Live classes with Kajal Ma'am are the paid course; these lessons stay free either way.

Want a plan that actually fits your board dates?

Ask Kajal Ma'am directly, 20+ years teaching computer science. Free demo class first, no payment.

Talk to Kajal Ma'am on WhatsApp

Or see the Class 12 Computer Science course →

Studying outside India?

We coach CBSE, IGCSE & international students across the globe, one-to-one, in your local time zone.

Visit International →