Binary Code And ASCII

we gonna look at binary code and we gonna learn computer science basics.

What Is Binary Code?

Binary code is a language for computers, so it’s like English or another language. Binary code is consists of 0 and 1. Can be thought of as 0 is closed 1 is open. Binary code is like a simple switch system, for example, let’s think of light, if we are open this light, is 1, but if we closed this light is 0. I hope you understood binary code logic.

What Is ASCII?

ASCII code is English but just numbers are used instead of letters and it’s so good because we converting binary code to ASCII. But first, we must understand Binary Code Logic. Let’s do the math. The following letters have ASCII equivalents

Binary Code Logic

Here, we’re going to do some math but don’t worry about it because it’s going to be very simple.

above we created 65 with binary code now let’s create a letter in ASCII.

Note: 2 ^0 + 2 ^ 1 + 2 ^ 2 + 2 ^ 3 + 2 ^ 4 actually this way is correct.

Converting Binary Code to ASCII

Remember, I gave the ASCII table to you now look at it. Did you see 65 is A for ASCII, then let’s create a new letters.

No longer, We know binary code and ASCII also we know converting I hope helpful, see you next write.

--

--

My Master Designer
0 Followers

My Master Designer is a website to develop your design and programming knowledge