What is meant by the rate of a code? Consider the code with the following codewords:
{ 0000000000, 0011101010, 1100010101, 1111111111}
i) What are the rate and minimum distance for this code?
ii) Write down the number of errors which this code can correct.
iii) In general, does a good code have a high or low rate? Justify your answer.