How to store any text to the computer ?
Computer understand any text to the Binary language, which we all are know. In the binary language has only 0 and 1 digit. In this language the Numbers are represented which way that I have already discussed.
Today I'll say that the text are represented on the computer and how computer will understand it. So all types of text are arranged by the 26 alphabet. Each alphabet and symbol has a unique ASCII number, which also stands a different decimal number. Now the ASCII number simplified by the binary number like, some 0 and 1.
So now we say that, what is ASCII ? In this blog I just say little description on the ASCII, because it has a huge chapter. ASCII stands for ... American Standard Code for Information Interchange. Actually ASCII denotes all alphabets and symbol unique codes. Follow my next blogs to know details about ASCII.
So previously I say that each alphabet and symbol has a unique number, that is
A=65, B=66, ........ , Z=90 as like as a=97, b=98, ........., z=122, ?=63, @=64, &=38 etc.
But if you want to remember the alphabet code then you just remember "A" and "a" code, the next alphabet code comes next digit. But this type of code can't understand the computer, they always convert it to binary code. So if we put A to the computer , the computer understand some 0 and 1.
How, A=65 equivalent binary code is 1000001.
Here the equivalent binary code is {1000001} 7 bit, but the computer store the data to the byte unit, that are equal 8 bit. If this alphabet store to the computer then it will rearrange by 8 bit or 1 byte. So, we can rearrange it by adding 0 before the binary code 01000001 .
Moreover when we put ant text to the computer, like "Sid", then computer understood it different alphabet. Here "S" is capital letter, "i" and "d" is small letter. so, "Sid" text will block 28 bit or 3 byte to the memory.
So, "Sid" store to the computer 010100110110100101100100 = 24 bit or 3 byte.How, S=83, binary code 1010011, equivalent 1 byte is 01010011as like as i=105, binary code 1101001, equivalent 1 byte is 01101001d=100, binary code 1100100, equivalent 1 byte is 01100100
Visit my previous blog
Visit my YouTube channel.
0 Comments