Data Storage: Dr. M. Tanvir Afzal
Data Storage: Dr. M. Tanvir Afzal
Data Storage: Dr. M. Tanvir Afzal
Bits
Basics:
Different Units
Bytes 1 Bits 8
Kilo Byte 1 Bytes 1024
Mega Byte 1 Kilo Bytes 1024
Giga Byte 1 Mega Byte 1024
Tera Byte 1 Giga Byte 1024
4 Dr. M. Tanvir Afzal
Patterns using Bits
1 bit - 2 patterns
2 bits - 4
3 bits - 8
4 bits - 16
5 bits - 32
6 bits - 64
7 bits - 128
8 bits - 256 - one byte
5 Dr. M. Tanvir Afzal
Bytes and Characters
A = 65
B = 66
a = 97
Space = 32
128 64 32 16 8 4 2 1
0 0 0 1 1 0 0 1