Encoding is the process of converting the data or a given sequence of characters, symbols, alphabets etc., into a specified format, for the secured transmission of data. Decoding is the reverse process of encoding which is to extract the information from the converted format.
Data Encoding
Encoding is the process of using various patterns of voltage or current levels to represent 1s and 0s of the digital signals on the transmission link.
The common types of line encoding are Unipolar, Polar, Bipolar, and Manchester.
OR
Computers use encoding schemes to store and retrieve meaningful information as data. This is known as data encoding. Data encoding and decoding occur through electronic signals, or the electric or electromagnetic encoding of data.
In data encoding, all data is serialized, or converted into a string of ones and zeros, which is transmitted over a communication medium like a phone line.
Encoding Techniques
The data encoding technique is divided into the following types, depending upon the type of data conversion.
Analog data to Analog signals − The modulation techniques such as Amplitude Modulation, Frequency Modulation and Phase Modulation of analog signals, fall under this category.
Analog data to Digital signals − This process can be termed as digitization, which is done by Pulse Code Modulation PCM.
Hence, it is nothing but digital modulation. As we have already discussed, sampling and quantization are the important factors in this. Delta Modulation gives a better output than PCM.
Digital data to Analog signals − The modulation techniques such as Amplitude Shift Keying ASK, Frequency Shift Keying FSK, Phase Shift Keying PSK, etc., fall under this category.
Digital data to Digital signals − There are several ways to map digital data to digital signals.