Coding theory
Codes
composed of sender (or message source), communication channel, and the receiver.
The communication system
Codes are used for
Codes are studied by various scientific disciplines, such as
It alters the message in the channel that will cause disruption and error in the messages.
Noises
In transmitting messages, coding is defined as source coding and channel coding.
Source Coding and Channel Coding
Two Processes in Coding
is transforming messaged into bits of message that is cuitable in communication.
Encoding
is the opposite process of encoding
Decoding
is defined as converting the message from the sender into bits suitable to the communication channel.
DATA COMPRESSION OR SOURCE ENCODING
bit
short for “binary digit”
is the smallest unit of measurement used to quantify computer data. It contains a single binary value of 0 or 1.
bit
Example of bit
ASCII (AMERICAN STANDARD CODE) that converts each character int the message to a byte of 8 bits.
Is defined as adding some form of redundancy to the source encoded message so that the errors can be detected or even corrected
Channel Coding
two types of parity bits in error detection
If the data has even number of 1’s, the parity bit is 0.
Odd number of 1’s, the parity bit is 1.
Ex: data is 10010001 -> parity bit 1
Odd Parity
If the data has odd number of 1’s, the parity bit is 0.
Even number of 1’s, the parity bit is 1.
Ex: data is 10010101 -> parity bit 1
Even Parity
is one of the most basic error-correctingcodes
repetition code
Never back down never what?!
NEVER GIVE UPPPP!
MODULAR ARITHMETIC