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.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Back
Top