![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A bit About Bits and Bytes | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A
bit is an acronym for "binary digit" and is the smallest
unit of data that can be processed or represented to a computer.
A bit has a single binary value of either a one or zero. A bit
is represented by a lower case "b." A bit having a
value of one typically means that the state of the value is
on. A bit having a value of zero typically means that the state
of the value is off.
A Byte is made up of a series of 8 bits (also referred to by some as an octet). An example of 8 bits is: 0110 1100. Half of a byte is called a nibble. So in the previous example, a nibble would be either 0110 or 1100. Bytes are used by computers to represent elements such as alphabetic characters, and numerals. Bytes are also the common unit of measurement for bandwidth, RAM, and hard disk space. A byte is represented by an upper case "B." Frequently, bits and bytes are used interchangeably by authors,
but as can be seen by the above definition, the two terms
have different meanings. Therefore, 100 b = 100 bits and 100
B = 100 bytes. Method 1
Therefore decimal 33 in binary is: 0010 0001. Method 2 The following example converts decimal 250 to binary:
Decimal 250 = 1111 1010
Binary 1111 1010 = decimal 250. While converting numbers between binary and decimal is handled
by the computer for us, there are times when it is necessary
to manually calculate between one format and the other. This
article should help in the converting of numbers up to 255.
(0 - 255).
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||