The data given in the question is a discrete series. Therefore, using the inspection method of ascertaining mode, we know that the item which repeats itself the maximum number of times is regarded as the mode of the given series. In this manner, 5 is regarded as the modal value, as it has the highest frequency (of 20 times).
Therefore, mode (Z) is 5.