Preview

04 - Truth Tables and predicting output

 1. Enter the missing value
truthtables_question1.png

  3

  1

  2

  0

 2. Enter the missing value
truthtables_question31.png

  1

  2

  3

  0

 3. Read the guidance on the below image. Given the below what would A+B.C mean?
note: think about how you would process this equation. Would you do the + or the . first? Refer to what you learned in Maths: BODMAS or BIDMAS
truthtables_question4.png

  A or B or C

  A not C not B

  A and B and C

  A or B and C

 4. Enter the missing value
truthtables_question6.png

  #4 1 #5 – 1 #6 -1

  #4 1 #5 – 0 #6 -1

  #4 1 #5 – 1 #6 -0

  #4 0 #5 – 0 #6 -1

 5. Enter the missing value
truthtables_question7.png

  # 7 – 0 #8 - 1 #9 – 0

  # 7 – 0 #8 - 0 #9 – 0

  # 7 – 1 #8 - 1 #9 –1

  # 7 –1 #8 - 0 #9 – 1

 6. This is a truth table for:
truthtables_question8.png

  You can only have A and B so the letters p and q are not valid

  p NOT q

  p OR q

  p AND q

 7. Spot the error
p    q    NOT p   NOT q     p AND q     NOT(p AND q)  
==================================================
T    T     F         T        T             F

  p AND q should be F

  Not p should be T

  NOT q should be False

  Not q should be removed altogether as it cannot be done

 8. Why is NOT(p AND q) False?
p    q    NOT p   NOT q     p AND q     NOT(p AND q)  
==================================================
T    T     F         T        T             F

  Because when you are dealing with a p and q input, the output will always be False if the input is either True or False

  It shouldn't be False - It should be true

  Because it is the inversion (opposite) of (p AND q) which is True.

  Because anything AND anything is always False

 9. Enter the missing value
truthtables_question2.png

  3

  1

  2

  0

 10. Enter the missing value
truthtables_question5.png

  #1 1 #2 0 #3 1,1

  #1 0 #2 1 #3 0,0

  #1 0 #2 1 #3 1,1

  #1 0 #2 0 #3 0,0