Let be two alphabets.
A code is a function
Elements of its image are called Codewords

Code Extension
Decipherable code
Prefix-Free Code
Optimal Code