QUESTION 2: You are asked to design a scheme to digitally represent the 12 Month
ID: 3605354 • Letter: Q
Question
QUESTION 2: You are asked to design a scheme to digitally represent the 12 Months of the Year. Design a scheme to do this. (a) Determine the smallest number of bits you will need to be able to represent your patterns, (b) Draw your complete combination table to account for ALL the bits and possible combinations, (c) Then assign your month values to their corresponding combinations as needed. Remember you may end up with un-used combinations (just mark these as "not used" if applicable), but you need enough combinations to create the correct number of unique patterns. Also, draw your combination table the EASY way! Show all work.
Explanation / Answer
a. To represent 12 months of data, we require bits that could handle 12 pieces of information. This is possible if we chose 4 bits since 2^4 is 32. 2^3 is 8. Hence, to represent any dataset with data points between 8 and 32, we require 4 bits.
Therefore, the smallest number of bits needed to represent the pattern is 4.
b. The complete table is as follows:
c. The table with month values is as follows:
0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.