0% found this document useful (0 votes)
6 views1 page

Memory Size

The document explains memory size and storage units, detailing how file sizes are measured in bytes, kilobytes, megabytes, gigabytes, and terabytes. It includes conversion formulas and exercises to practice converting between different units of measurement. Additionally, it provides examples of file size calculations for various data types.

Uploaded by

s2025071
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views1 page

Memory Size

The document explains memory size and storage units, detailing how file sizes are measured in bytes, kilobytes, megabytes, gigabytes, and terabytes. It includes conversion formulas and exercises to practice converting between different units of measurement. Additionally, it provides examples of file size calculations for various data types.

Uploaded by

s2025071
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Memory size

The memory size of a file refers to the amount of storage space occupied by that particular file. It
represents the size of the file in bytes (B), kilobytes (KB), megabytes (MB), gigabytes (GB), or other
larger units, depending on the file's size.
Bit: A bit is the smallest piece of computer information. It can be a 0 or a 1, like a light switch being
"off" or "on." Bits come together to form bytes, which measure storage capacity.
Byte: A byte is a unit used to measure computer storage.

1 Byte(B) = 8 Bit(b)
⚫ 1 KiloByte(KB)=1024 B
⚫ 1 MegaByte(MB)= 1024 KB= 1024×1024 B
⚫ 1 GigaByte(GB)= __1024____MB =_1024×1024 _KB =_1024×1024 ×1024 _B
⚫ 1 TeraByte(TB)=____ 1024______ GB= __1024×1024 ___MB =_1024×1024 ×1024 __KB

The memory capacity of your USB flash drive= _________

Exercise:
1) If the file size of a photo is 5000KB, how many megabytes (MB) is that for 3 photos?
(5000×3)/1024 = 14.65 MB

2) (a) 4 TB = 4×1024 GB = 4096 GB


(b) 2 TB = 2×1024×1024×1024 KB = 2147483648 KB
(c) 5 MB = 5×1024×1024 B = 5242880 B
(d) 12 KB = 12×1024×8 b = 98304 b

3) (a) 2046 B = 2046/1024 KB = 1.998 KB


(b) 6 000 000 KB = 6000000/1024/1024 GB =5.722 GB
(c) 400 000 b = 400000/8/1024 KB = 48.828 KB
(d) 5 000 000 000 B = 5000000000/1024/1024/1024 GB = 4.657 GB

3 File Management 5

You might also like