Question 7.9

A block code is designed with a Hamming distance of 5. How many errors can the code detect, and how many errors could it correct?