WHAT IS BIT ?
WHAT IS BYTE ?
The byte turned into initially advanced to save a single individual, in view that 256 values is sufficient to symbolize all fashionable lowercase and uppercase letters, numbers, and logos. However, considering the fact that a few languages have more than 256 characters, modern-day individual encoding standards, including utf-16, use two bytes, or 16 bits for every character.
Even as the byte was originally designed to degree man or woman statistics, it's far now the fundamental unit of dimension for all information storage. For instance, a kilobyte incorporates 2^10 or 1,024 bytes. A megabyte includes 1,024 x 1,024, or 1,048,576 bytes. For the reason that bytes are so small, they are most often used to measure specific records within a record, inclusive of pixels or characters. Even the smallest documents are generally measured in kilobytes, while information garage limits are frequently measured in gigabytes or terabytes.
WHAT IS WORD ?
The byte is the smallest addressable unit for a cpu. In case you need to set/clear single bits, you first want to fetch the corresponding byte from reminiscence, mess with the bits after which write the byte returned to reminiscence.
WHAT IS WORD SIZE ?
The word length refers to the variety of bits processed by means of a laptop's cpu in a single go (nowadays, usually 32 bits or 64 bits). Records bus length, preparation length, deal with size are usually multiples of the word length. The word length is what the general public of operations work with.
SHORT DEFINITIONS OF BIT BYTE & WORD
- Bit: a chunk corresponds to a function or a binary person. This is the smallest unit of information and it best admits one in every of two states: "0" or "1". Numerous bits may be grouped collectively as large gadgets.
- Byte (or byte): a byte is an 8-bit unit. It is used for example to group the logic states of eight inputs or 8 outputs.
- The phrase (or word): a word includes 2 bytes or sixteen bits. One word makes it viable to group sixteen inputs or 16 outputs.
- The double phrase (or double phrase): a double phrase consists of 2 words, or 4 bytes, or 32 bits. A double word is the biggest unit an automaton can cope with.
Sixteen bits = 2 bytes = 1 phrase.
32 bits = 4 bytes = 2 word = 1 double phrase.
I hope it will be helpful to learn these concepts.