.

HARDWARE - DATA REPRESENTATION - BITS/BYTES/PARITY BITS

HARDWARE

Data Representation

The storage and processing of data are explained in terms of characters in the computer. The characters are represented electronically with a two-state binary system of numbers. A binary means two. The binary system is a fundamental principle of digital computers. Everything that goes into a computer is converted into binary digits, 0 and 1

Bit

A bit stands for BInary digT, and is a single digit in a binary number (1 or 0). That is each 0 or 1 in the binary system is bit. Physically, a bit is a cell in memory, a magnetic spot on disk or tape, and a pulse of high or low voltage through a circuit in the computer.

Bytes

A storage unit in the computer is groups of bits called characters, bytes, or words. The most common storage unit is the byte, which is made up of eight bits and typically represents a single alphanumeric character - number, letter, and special character.

Binary Code

What are the methods to code characters with 0s and 1s in the computer? There are many coding schemes. Among them, ASCII and EBCDIC are two of the most popular binary coding schemes. Both use eight bits to form each byte.

Units of Capacity

The capacity of memory (primary storage) and a storage device is expressed in numbers of bytes, which start with 1 and double: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, etc. For example, when a microcomputer system is listed with an "8 MB main memory," the computer has primary storage capacity of around 8 million bytes. The capacity of disk, tape and memory is measured in bytes, whereas that of the CPU and memory chips is measured in bits.


Parity Bit

A parity bit is an extra bit added to a byte for error detection purposes in data transmission. Parity checking is accomplished by using a parity bit that is an extra bit automatically added to a byte for purposes of testing accuracy.
There are even-parity systems and odd- parity systems. In an even-parity system, the parity bit is set to either 0 or 1 to ensure that the number of 1s is even. Odd-parity systems perform the opposite.

Units of Space/Time

Space
Kilo (KB)Thousand1000
Mega (MB)Million1,000,000
GIga (GB)Billion1,000,000,000
Tera (TB)Trillion1,000,000,000,000

Time
Milliscond (ms)Thousandth1/1,000
Microscond (µs)Millionth1/1,000,000
Nanoscond (ns)Billionth1/1,000,000,000
Picoseond (ps)Trillionth1/1,000,000,000,000
Femtoscond (fs)Quadrillionth1/1,000,000,000,000,000


Parity Checking: This is an error detection technique that checks for data transmission errors within the computer and in the communication system.




.