In some country, an 8-character license plate is composed of capital letters (20 different letters are used) and ten digits in any order. Each such number in a computer program is recorded with the minimum possible and the same whole number of bytes (in this case, character-by-character coding is used and all characters are encoded with the same and minimum possible number of bits). Determine the amount of memory allocated by this program for recording 40 numbers
According to the condition, 10 numbers (0 … 9) and 20 letters can be used in the number, 10 + 20 = 30 characters in total.
According to Hartley’s formula, to record a number of length 8, you need log2M * N = log2 (30) • 8 “5 • 8 = 40 bits = 5 bytes.
Then 40 numbers take 5 • 40 = 200 bytes.
Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.