One approach to handling fuzzy logic data might be to design a computer using ternary (base-3) logic so that data could be stored as “true,” “false,” and “unknown.” If each ternary logic element is called a flit, how many flits are required to represent at least 256 different values?
(A) 4 (B) 5 (C) 6 (D) 7 (E) 8
1
Expert's answer
2014-05-12T08:30:36-0400
In binary representation, to represent 256 different values, you need log_2 (256) = 8 bits.
Similarly in ternary representation, you would require log_3 (256) which is 5.something. Now rounding off to the upper integer (since number of bits is an integer) and we get 6 Answer: (C).
Comments
Dear Sujata Roy. You're welcome. We are glad to be helpful. If you really liked our service please press like-button beside answer field. Thank you!
Thanks.
Dear anup gupta You are right. The correct answer is 6. Thank you.
answer is 6
Leave a comment