Question #23181

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

Expert's answer

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).

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

Assignment Expert17.05.14, 22:39Dear 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!

Sujata Roy12.05.14, 23:29Thanks.

Assignment Expert12.05.14, 16:34Dear anup gupta

You are right. The correct answer is 6.

Thank you.

anup gupta11.05.14, 02:49answer is 6

## Leave a comment