Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

​​How different types of Data get stored in form of 0 and 1?

1 and 0 are nothing but just two different voltage levels. You can make computer to understand 1 for higher voltage and 0 for lower voltage. There are many different ways to Store two voltage levels.


One most basic is as follow:-

If you have seen floppy, then you will find a magnetic tape which has coating of ferromagnetic material, this is a type of paramagnetic material which has domains aligned in particular direction to give remnant Magnetic Field even after removal of currents through materials or magnetic field.

During loading of data in the magnetic tape, magnetic field is passed in one direction to call the saved orientation of domain as 1 & for magnetic field is passed in another direction then saved orientation of doamin as 0.

First of all we will talk about Text Data:

Text is generally stored when typed, then there are certain softwares which are called text compilers, which convert text data into a normal code where each character has some ASCII code or better to use Unicode equivalent like character 'A' has its ASCII equivalent as 65 and so on for all characters that are known so that now each of these ASCII codes have an unique binary equivalent i.e, something in form of 1's and 0's 7 bits long and in case of unicode it is about 16-32 bits long, also defined in ASCII and unicode.

Then a binary level (machine level) compiler processes the data and returns back the result to our normal compiler to convert the data back to text from binary and then we see the output on our screens. And coming to storage part it is stored in a data file which reserves certain memory for storage of that particular file and again the file is also stored in form of 1's and 0's.

Now after covering text data we will talk about Audio Data:

Audio is an important thing like text to be stored but the problem is how can we store audio, right? The answer is simple we store it according to frequency where each frequency has certain code in compiler which converts into machine language to store it as explained for text. But how do we know the differences between frequencies? It is also simple as we use microphone to speak we use same principle as audio is converted to an electric analog signal which has different voltages which change with audio frequency and these voltages are what are stored in our computer memory using which we can get back the audio.

OK after dealing with audio here comes Video Data:

Now we understood audio data and text data storage methods but what about video or pictures right? Well these data are stored according to pixel colours which we generally read about, like 1024×768 pixels like that, but you might ask what are pixels? These are simply boxes having a particular colour for each box, whole of our computer screen output is composed of these pixels, now I think you might have understood how to store these right? If not then it is simple, like above two case here also we will use a hexadecimal code for each pixel colour and store this as explained in above examples. OK we know how to store pictures but what about video? Still simpler, a video is stored in form of a sequence of pictures and now you know what to do i.e, store these pictures in continuous memory blocks until the video is over.



This post first appeared on Top 5 Free Music Player, please read the originial post: here

Share the post

​​How different types of Data get stored in form of 0 and 1?

×

Subscribe to Top 5 Free Music Player

Get updates delivered right to your inbox!

Thank you for your subscription

×