bags Posted August 31, 2011 Share Posted August 31, 2011 Solve following Question: 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 © 6 (D) 7 (E) 8 How to solve this problem? Ans: c Quote Link to comment Share on other sites More sharing options...
EFreak Posted September 10, 2011 Share Posted September 10, 2011 In binary representation, to represent 256 different values, you need lg 256 = 8 bits (log to the base 2). Similarly in ternary representation, you would require log 256 / log 3 (log to the base 3) which is 5.something. Now rounding off to the upper integer (since number of bits is an integer) you get 6! which is your answer. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.