MHB Fill out the Truth Table for the following specification.

  • Thread starter Thread starter shamieh
  • Start date Start date
  • Tags Tags
    Table Truth table
AI Thread Summary
The discussion focuses on filling out a truth table for a system with three inputs (y2, y1, y0) and a single output (f), where f is defined to be 1 if the decimal equivalent of the binary inputs (Y) is greater than 1 and less than or equal to 6. Participants clarify that the truth table should indicate a 1 for the binary values corresponding to the decimal numbers 2, 3, 4, 5, and 6, while 0 should be indicated for 0 and 1, as well as for 7. Confusion arises regarding the correct representation of the output for the binary inputs, particularly for the value of 6, which should also yield a 1. The final consensus confirms that the truth table should accurately reflect these conditions, ensuring that the output is correct for all specified input values. The completion of the truth table is essential for understanding the logic behind the specified conditions.
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.
 
Technology 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.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...

Similar threads

Back
Top