### 029 - What is Binary Codes

 WHAT IS BINARY CODES All data in a computer system consists of binary information. Binary means there are only two possible values: zero and one. Computer program translates between binary information and the information you actually work with on a computer, such as decimal numbers, text, photos, audio and video.

Each component used in the binary representation of data is called a binary component. The codes formed by these components are called the binary codes.

1 • Represents the ON state of a component.
0 • Represents the OFF state of a component.

Bits - abbreviation for binary digit, the smallest unit of information in a computer. A bit is represented by the numbers 1 and 0, which correspond to the states on and off, true and false, or yes and no.

Three Types Of Coding Scheme

Binary Coded Decimal (BCD) • a coding scheme that uses four bits at each storage positions for representing data.
Extended Binary Coded Decimal Interchange Code (EBCDIC) • a coding scheme developed by IBM for use with its computers numeric, punctuation, and transmission-control characters. Uses 8 bits for coding, allowing 256 possible characters.
American Standard Code for Information Interchange (ASCII) • a coding scheme that assigns numeric values to letters, numbers, punctuation marks, and certain other characters. Uses 256 codes divided into two sets - standard and extended - of 128 each. These sets represent the total possible combinations of either 7 or 8 bits.
Parity Bits - an additional bit in each storage position used to detect errors in a circuitry.

Different Numeral System

Binary • Base 2 - Absolute Value 0, 1
Octal • Base 8 - Absolute Value 0, 1, 2, 3, 4, 5, 6, 7
Hexadecimal • Base 16 - Absolute Value 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F