Samuel Morse designed the Morse code in such a way, that the letters of the alphabets and the ten numerals were represented by means of short and long pulses. Hence, according to the Morse code, each character of the alphabets, numerals, and punctuation marks were assigned a pattern, unique to the particular character.