Thank you for the opportunity to help you with your question!
The answer to this really depends on what database they are going to use to store the data. However generally speaking to store a single character, such as the R B Y or G, as a single letter or ASCII code takes a single byte which is 8 bits. If you only had to store that they had made one of four choices the smallest amount of space would be two bits. Because with two bits you can represent 0, 1, 2, and 3 (or 00, 01, 10, 11 in binary) which you can translate to being:
R = 0 = 00
B = 1 = 01
Y = 2 = 10
G = 3 = 11
Q) If they were going to store the colors in a database using a single letter or extended ASCII code, ‘R’,’B’,’Y’, or ‘G’, then how many bytes of storage would it take to store that character?
Q) How many bits would be needed to store each character?
Q) If they were going to create a color code using the minimum number of bits of storage, how many bits would be required?
Please let me know if you need any clarification. I'm always happy to answer your questions.
Content will be erased after question is completed.