# Binary This is a basic concept in computer science

In mathematics and digital electronics, a binary number is a number expressed in the binary numeral system or base-2 numeral system which represents numeric values using two different symbols: typically 0 (zero) and 1 (one). The base-2 system is a positional notation with a radix of 2. Because of its straightforward implementation in digital electronic circuitry using logic gates, the binary system is used internally by almost all modern computers and computer-based devices. Each digit is referred to as a bit.

## Binary

This is one of the better videos I've seen on binary. Content gratefully used with permission : 

## Basic Definitions

• bit: The bit represents a logical state with one of two possible values
• byte: A group of 8 adjacent binary digits (8 bits), on which a computer operates as a unit
• binary: The binary numeral system is a base 2 number system.
• denary/decimal: The decimal numeral system (also called base 10 or occasionally denary) has ten as its base.

## Binary translation table

I find it helpful to draw this table when I must convert binary to base 10. It also helps when looking at the video above.

128 64 32 16 8 4 2 1

## How to add two binary numbers

Adding binary is straight forward. Line up the numbers as you would if you were adding base-10 numbers.

Remember this:

``` 0 + 0 = 0 ```

```0 + 1 = 1 ```

```1 + 0 = 1 ```

```1 + 1 = 10, so write a 0 and carry the 1 to the next column. ```

## What you must know

You must be able to correctly answer the following questions:

• Define the term: bit
• Define the term: byte
• Define the term: binary
• Define the term: denary/decimal (they refer to the same thing)