How to Easily Draw Truth Tables?

  • Thread starter Thread starter DiamondV
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
DiamondV
Messages
103
Reaction score
0

Homework Statement


So, in a lot of the questions in exams, I am asked to draw truth tables which are followed up by K maps, usually these truth tables have like 4 variables, now my issue is, is there any easy to draw them, like I can't seem to get my head around writing out all the possible combinations, i just confused. I usually start with one variable being 1 rest 0, but i don't where to keep going? I have no structure.

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
I normally start with one column at a time.
Since you have 2 options for each one, you will need 2^k rows for k variables.
For the first column (variable) make the first half of the rows 1 and the second half 0. Then move to the next column and do 1/2 and 1/2, and so on...
Ex:
##\begin{matrix} 1&1&1\\1&1&0\\1&0&1\\1&0&0\\0&1&1\\0&1&0\\0&0&1\\0&0&0\end{matrix}##