how to set up a truth table with three variables?

- lgbasallote

how to set up a truth table with three variables?

- Stacey Warren - Expert brainly.com

Hey! We 've verified this expert answer for you, click below to unlock the details :)

- schrodinger

I got my questions answered at brainly.com in under 10 minutes. Go to brainly.com now for free help!

- myininaya

2^3 rows

- myininaya

Let me know if you need more help

- lgbasallote

yes. but how does the T and F look like?

Looking for something else?

Not the answer you are looking for? Search for more explanations.

## More answers

- myininaya

Do all possible combinations

- precal

you have to list all possibilites

- precal

T,T,T
T,T,F
T,F,F,
T,F,T
F,F,F
and so on

- myininaya

TTT
TTF
TFF
TFT
FFF
FFT
FTT
FTF

- lgbasallote

hmm....

- lgbasallote

buffering....

- myininaya

?

- lgbasallote

is there any pattern? or are those randomly arranged?

- lgbasallote

i can see the first column is organized though

- ganeshie8

1. toggle the right most variable in every row

- lgbasallote

toggle?

- ganeshie8

2. toggle the middle variable every 2 rows
toggle : T->F or F->T

- ganeshie8

3. toggle the left most variable every 4 rows

- precal

Just have to make sure all of your cases are represented

- lgbasallote

will you please elaborate what these "toggle" words that keep popping out on every first word of each step?

- ganeshie8

toggle means, if the previous state of a variable is T, change it to F

- lgbasallote

what does it mean in video games then?

- ganeshie8

if the previous state of variable is F, change it to T

- lgbasallote

hmm i see

- ganeshie8

sometime i get to draw a truthtable with 5-6 variables... this trick helps me

- ganeshie8

32 rows, 64 rows... that gets pretty long... but sometimes we have to do it painfully..

- lgbasallote

so in four variables
T F T F
T F T F
T T F F
T T F F
T F T F
T F T F
T T F F
T T F F
F F T T
F F T T
F T F T
F T F T
F F T T
F F T T
F T F T
F T F T
lol

- ganeshie8

looks perfect !

- lgbasallote

i doubt you read that....

- ganeshie8

hey but check the 3rd column is it incomplete or what

- ganeshie8

3rd column from right side

- ganeshie8

you toggling it every 2 rows, u should toggle it every 4 rows

- lgbasallote

wait...i think i may have an idea....

- ganeshie8

start with TTTT

- myininaya

I would start a truth table with 4 variables this way:
(We will need 2^4=16 rows)
TTTT FFFF
TTTF FFFT
TTFF FFTT
TTFT FFTF
TFTT FTFF
TFTF FTFT
TFFF FTTT
TFFT FTTF
I wrote it like this to show for my last 8 rows I just replaced my T's with F's and my F's with T's that I had in the 1st 8 rows.
I said okay also I'm gonna start with 8 T's and 8 F's pattern
Then second column I did 8/2 T's and 8/2 F's pattern
Third colmn I did 4/2 T's and 4/2 F's pattern
And fourth column I did 2/2 T's and 2/2 F's pattern
Does that make sense?

- lgbasallote

i see...

- myininaya

Like look at the "first column" which is the first 8 rows first

- myininaya

And use what I said

- ganeshie8

i do like this usually : 4 variables => 16 rows
1) last column : toggle every row
T
F
T
F
T
F
T
F
T
F
T
F
T
F
T
F

- ganeshie8

2) 2nd column from right : toggle every 2 rows
TT
TF
FT
FF
TT
TF
FT
FF
TT
TF
FT
FF
TT
TF
FT
FF

- ganeshie8

3) 3rd columnn from right : toggle every 4 rows
TTT
TTF
TFT
TFF
FTT
FTF
FFT
FFF
TTT
TTF
TFT
TFF
FTT
FTF
FFT
FFF

- ganeshie8

4) 4th column from right : toggle every 8 rows
TTTT
TTTF
TTFT
TTFF
TFTT
TFTF
TFFT
TFFF
FTTT
FTTF
FTFT
FTFF
FFTT
FFTF
FFFT
FFFF

- lgbasallote

so for 5 variables
T T T T T
T T T T F
T T T F T
T T T F F
T T F T T
T T F T F
T T F F T
T T F F F
T F T T T
T F T T F
T F T F T
T F T F F
T F F T T
T F F T F
T F F F T
T F F F F
F F F F F
F F F F T
F F F T F
F F F T T
F F T F F
F F T F T
F F T T F
F F T T T
F T F F F
F T F F T
F T F T F
F T F T T
F T T F F
F T T F T
F T T T F
F T T T T
looks wrong,,,?

- ganeshie8

looks correct but u shouldnt have flipped the second section

- lgbasallote

@myininaya 's directions....

- ganeshie8

if you're showing first rows as TTTTT, you must show last row as FFFFF

- lgbasallote

same shiz

- ganeshie8

u can work out using any directions, but the general way we represent truth tables is common everywhere

- lgbasallote

order of the first column doesn't matter right?

- ganeshie8

what is order ?

- lgbasallote

@myininaya 's method is very efficient..i must say

- ganeshie8

individual opinion.. i find the method i use is very effecient

- lgbasallote

"toggle" confuses me

- ganeshie8

i get u :) 'toggle' is industry word.. idk if they use in academic... .

Looking for something else?

Not the answer you are looking for? Search for more explanations.