# Learn How Computer Works and What is Binary in 2 minutes

Computer hardware circuits only have two electrical states, on or off. Everything you see, hear and read on the screen reaches you as the result of “on” or “off” billions of times. That’s exactly what your device does whenever you use the internet to watch movies, listen to music using binary code, using only the numbers 1 and 0. Binary is representing numbers, letters, commands, images and sounds.

Binary is a number system, just like decimal numeral system. Binary “1”s and “0”s is just a virtual representation of the underlying voltages.The voltages are just a way of representing the binary. In a transistor, an “0” represents no flow of electricity, and “1” represents electricity being allowed to flow. In this way, numbers are represented physically inside the computing device, permitting calculation.

# How to convert binary to decimal

In binary, the first furthest to the right is the digit is worth 1 in decimal. The second digit is worth 2, the third worth 4, the fourth worth 8, and so on doubling each time. Start from the right and take your current total so you can find the decimal equivalent of a binary. For example, the binary 101010 is equivalent to the decimal 2+ 8+ 32= 42:

Here are some equivalent values:

# Convert a Letter to a Binary Number

ASCII — Binary Character Table

The ASCII chart maps a unique number between 1 and 255 to all letters of the alphabet capitalized (A-Z) and lower case (a-z), numbers (0–9), spaces, and other special characters.

THANK YOU

01010100 01001000 01000001 01001110 01001011 00100000 01011001 01001111 01010101

I hope it helps you.

## More from Yusuf Biberoğlu

💻 PHP/Symfony Developer. E-mail: mail@yusufbiberoglu.com, https://yusufbiberoglu.com, Github: https://github.com/yusufbiberoglu