Search

Wednesday, 16 October 2013

Memory Representation

The computer memory stores different kinds of data like input data, output data, intermediate results, etc., and the instructions. Binary digit or bit is the basic unit of memory. A bit is a single binary digit, i.e., 0 or 1. A bit is the smallest unit of representation of data in a computer. However, the data is handled by the computer as a combination of bits. A group of 8 bits form a byte. One byte is the smallest unit of data that is handled by the computer. One byte can store 28, i.e., 256 different combinations of bits, and thus can be used to represent 256 different symbols. In a byte, the different combinations of bits fall in the range 00000000 to 11111111. A group of bytes can be further combined to form aword. A word can be a group of 2, 4 or 8 bytes.
1 bit = 0 or 1
1 Byte (B) = 8 bits
Kilobyte (KB) = 210 = 1024 bytes
Megabyte (MB) = 220 = 1024KB
Gigabyte (GB) = 230 = 1024 MB = 1024 *1024 KB
Terabyte (TB) = 240= 1024 GB = 1024 * 1024 *1024 KB

No comments:

Post a Comment