Fill out the Truth Table for the following specification.

  • Context:
  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Table Truth table
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 3K views
shamieh
Messages
538
Reaction score
0
Fill out the truthe table for the following specification. Given a system with 3 inputs(y2,y1,y0) and a single output (f), where Y = y2,y1,y0 represents a 3 bit unsigned integer (Y is the decimal equivalent), determine the truth table for f such that f = 1 if and only if 1 < Y <= 6 (Y is greater than 1 and less than or equal to 6).

  • y2 y1 y0 | f
  • 0 0 0 |
  • 0 0 1 |
  • 0 1 0 |
  • 0 1 1 |
  • 1 0 0 |
  • 1 0 1 |
  • 1 1 0 |
  • 1 1 1 |

How in the world am I supposed to evaluate this? I am so confused.
 
Physics news on Phys.org
Do you know how to convert binary numbers to decimals? The truth table lists 8 3-bit binary numbers (the decimal equivalents are from 0 to 7), and you need to write 1 next to those numbers that are greater than 1 and less than or equal to 6.
 
would my answer be..$f$
0
0
1
1
1
1
0
0
 
The required inequality 1 < Y ≤ 6 is strict only on one side. The number of different Y's satisfying it is 6 - 1 = 5.
 
Evgeny.Makarov said:
The required inequality 1 < Y ≤ 6 is strict only on one side. The number of different Y's satisfying it is 6 - 1 = 5.

So I'm missing a 1 then - correct?

so my 7th row or [6th row ] whatever you'd like to call it; should be a 1 as well because I didn't account for <= 6. and 2^1 + 2^2 = 6; 6 <= 6 = 1
 
shamieh said:
so my 7th row or [6th row ] whatever you'd like to call it; should be a 1 as well because I didn't account for <= 6. and 2^1 + 2^2 = 6; 6 <= 6 = 1
Yes.