How to construct a truth table with 1 and 0

  • Thread starter Thread starter Her-0
  • Start date Start date
  • Tags Tags
    Table Truth table
Click For Summary

Discussion Overview

The discussion revolves around constructing a truth table for a given Boolean function involving four variables (W, X, Y, Z). Participants seek assistance in setting up the table and calculating the output based on the function provided.

Discussion Character

  • Homework-related
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant presents the Boolean function F = (W'.Z)(X.Y')+(Y'+X)+(Z+W) and expresses confusion about setting up the truth table.
  • Another participant suggests creating a truth table with five columns for the four inputs and the output, indicating that the first four columns should count in binary.
  • A participant seeks clarification on how to calculate the output for each combination of inputs after setting up the columns.
  • Discussion includes an example with two variables (X and Y) to illustrate how to determine combinations and their outputs for AND and OR operations.
  • One participant emphasizes the need to apply Boolean algebra to evaluate the logic expression for specific input configurations.
  • A detailed example is provided, showing how to evaluate the function for a specific input configuration (1101) using Boolean operations.

Areas of Agreement / Disagreement

Participants generally agree on the structure of the truth table but express varying levels of understanding regarding the calculation of outputs based on the Boolean function. The discussion remains unresolved regarding the specific steps for calculating outputs for all combinations.

Contextual Notes

Some participants reference the need for Boolean algebra knowledge to evaluate the expressions, indicating that familiarity with logical operations is assumed but not universally held among participants.

Her-0
Messages
8
Reaction score
0
I have written the function for the circuit as --> F= (W'.Z)(X.Y')+(Y'+X)+(Z+W)

I am very confused on how to set up the truth table can someone help me?
 
Physics news on Phys.org
Her-0 said:
I have written the function for the circuit as --> F= (W'.Z)(X.Y')+(Y'+X)+(Z+W)

I am very confused on how to set up the truth table can someone help me?

You appear to have 4 inputs and one output. Make your table with 5 columns, with the 1st 4 columns counting binary, and the 5th column with the result for each combination of inputs

0000 F(0000)
0001 F(0001)
etc...
 
berkeman said:
You appear to have 4 inputs and one output. Make your table with 5 columns, with the 1st 4 columns counting binary, and the 5th column with the result for each combination of inputs

0000 F(0000)
0001 F(0001)
etc...

So what you are saying is set up 5 columns W,X,Y,Z than the last as F but how would I come about calculating the result that's what I am confused at.
 
Assume you had just 2 variables: X and Y, there would be 4 combinations for them:
(0,1), (1,0), (1,1), (0,0)

Let's assume your function was X and Y, so figure out what would T and T = ? T and F = ? , etc.
 
NoMoreExams said:
Assume you had just 2 variables: X and Y, there would be 4 combinations for them:
(0,1), (1,0), (1,1), (0,0)

Let's assume your function was X and Y, so figure out what would T and T = ? T and F = ? , etc.

Okay, but than what about if its an and/or the values would differ
For and:
X Y
T T T
T F F
F T F
F F F

For or:
X Y
T T T
T F T
F T T
F F F
 
Yes so you would have shown that X and Y is not logically equivalent to X or Y which you should've known.
 
I'll work with 1's and 0's. It's easier to read the symbols. As for evaluating the logic expression, you have to work with certain results from Boolean algebra.

Take this as an example:
Suppose the configuration from a particular line in your truth table is 1101 which is an ordered input for WXYZ. Then after substituting the Boolean values for W,X,Y,Z the Boolean expression becomes (0*1)(1*1)+(1+1)+(1+1) where * denotes AND and + denotes OR.

Evaluate this in order of parantheses:
(0*1) = 0, (1*1)=1, 1+1=1, 1+1=1

so it now becomes: 0*1+1+1 = 0+1+1 = 1.

So for that particular input configuration F=1. Now apply this method to all the other possible inputs for WXYZ and you have the truth table.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
5K
Replies
15
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K