# ASCII Code and Binary

binary vs ascii stl This is a topic that many people are looking for. museumoftechno is a channel providing useful information about learning, life, digital marketing and online courses …. it will help you have an overview and solid multi-faceted knowledge . Today, museumoftechno would like to introduce to you ASCII Code and Binary. Following along are instructions in the video below:

“This video. We re gonna focus on the ascii code. The ascii code stands for for the american standard code for information interchange. So in this problem.

We are given partial ascii table. This is not the whole thing and were asked to convert the word blue to binary. So let s go ahead. And do that let s make a table that will make this a lot easier for us.

So we have the letter. The decimal value and then the binary value that s going to correspond to that so the first letter is going to be b. And then l. And then you and then e now we need to pay attention to the capitalisation capital b.

Has a decimal value of 66. And then lowercase l. Has an ascii decimal value of 1 or. 8.

And then you has a value of 117. And then e has a value of 101. So these are the letters that you ll find in a keyboard. Now our next thing.

The next thing that we need to do is convert the decimal values into binary values. Now the ascii code is a seven bit binary system. So two to the n minus 1 or. 2.

READ More:  Soft Block Part 1

To the 7 minus. 1. That s 2 to the 6. Which is 64 64.

Is going to be the highest placement for the binary numbers. So it s gonna be 64 32. 16. 8.

4. 2. And then 1 so to get 66. We need to add up 64 2.

So we re gonna put a 1 for those values it s 1 0 0. 0. 0 1 0. So that is the binary equivalent of 66.

So the letter b corresponds to the the 7 bit binary code that we see here now let s move on to the next..

One. So. The letter l. Has a decimal value of 108 to get 108.

We need 64. We need 32. So that s a 96 now if we add 16 to 96. That s gonna be 112.

Which is too much since we don t need a 16. We re gonna put a 0. Now we do need an 8. So we have 96 plus.

8. That s 104. We only need 4 more to get to 108. So we ll put them one on the four and a zero for the two and one.

So. That is the seven bit binary code for the letter l. Now for you. Which is 117.

We need the 64. The 32 that s 996 if we add 16 to 96 that ll give us 112. So we need five more to get the five. We need to use a 4 and a 1 so that is the binary equivalent of 117.

If you add up 64 32. Ok. I m not sure what just happened there sometimes this computer acts up. But if he adds 64 32.

READ More:  How to: convert Images to PDF in Macbook/iMac

16. 4. 1. That ll give you 117.

Now for the letter. E. And we need to get 101. So we need to add up 64 32.

That s 96 so we only need 5 more to get to 101. So we re gonna use the 4 and the 1 so that s the binary code for the letter e in the ascii table so thus we have this the word blue has the binary codes 1 0. 0. 0.

0..

1 0. And then for al it s 1 1 0. 1 1 0. 0.

And for you. It s 1 1. 1. 0.

1. 0. 1. And finally for e 1 1.

0. 0. 1. 0.

1. So that s how you could use the ascii table. That was given to you to convert a word into binary now let s work backwards. So using the ascii table shown below convert the following binary coded message into a word so feel free to pause.

The video and try this example problem. So first let s get the decimal equivalent of each binary code. So. This is gonna be 64.

32. 16. 8. 4.

2. 1. You know what let me write this better. I m gonna have to space out these values.

So you won t get confused. So we have a 64. We have a 8 and we have a 4. So if we add those numbers 64 plus.

8. Plus. 4. This is 76 and 76 looking at the ascii table corresponds to the letter l.

So that s the first one so now let s move on to the second code..

It s 1 1 0 0. 1 0. 1. So we have a 64.

We have a 32 a 4 and a 1 so 64 plus 32 plus. 4 plus. 1. And that is 101.

And one. On one corresponds to the letter e. So we have a lowercase e. Now let s move on to the next.

One. So. It s 1 1. 0.

1. 1 0. 1. So we have a 64.

A 32. And 8. A 4 and a 1 64. Plus.

32. Plus. 8. Plus.

4. Plus. 1. So.

That s gonna add up to 109 and 109 corresponds to the letter m. So you can probably figure out what word. This is going to now let s move on to the next. One.

So. We got 1 1 0. 1. 1.

1..

1. So we have everything except. 16. So it s 64 plus.

32. Plus. 8. Plus.

4. Plus. 2. Plus.

1. And so that is 111. So. 111.

That s o. And now for the last one 1 1. 0. 1.

1 1 0. So we have everything except. 16. 1.

So it s 64 plus. 32. Plus. 8.

Plus. 4. Plus. 2.

And that is 110 and 110 is n. So the binary code corresponds to the word lemon. So now you know how to use the ascii table. You know how to in the convert between the ascii code and a ” .

.

Thank you for watching all the articles on the topic ASCII Code and Binary. All shares of s-star.org are very good. We hope you are satisfied with the article. For any questions, please leave a comment below. Hopefully you guys support our website even more.
description:

tags: