Preview

04 - Truth Tables and predicting output

 1. Enter the missing value
truthtables_question1.png

  2

  0

  1

  3

 2. Enter the missing value
truthtables_question3.png

  2

  3

  1

  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 and B and C

  A not C not B

  A or B and C

  A or B or C

 4. Enter the missing value
truthtables_question6.png

  #4 1 #5 – 1 #6 -1

  #4 1 #5 – 1 #6 -0

  #4 1 #5 – 0 #6 -1

  #4 0 #5 – 0 #6 -1

 5. Enter the missing value
truthtables_question7.png

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

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

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

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

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

  p AND q

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

  p OR q

  p NOT q

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

  Not q should be removed altogether as it cannot be done

  p AND q should be F

  NOT q should be False

  Not p should be T

 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 anything AND anything is always False

  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

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

  It shouldn't be False - It should be true

 9. Enter the missing value
truthtables_question2.png

  3

  2

  0

  1

 10. Enter the missing value
truthtables_question5.png

  #1 0 #2 1 #3 1,1

  #1 0 #2 1 #3 0,0

  #1 0 #2 0 #3 0,0

  #1 1 #2 0 #3 1,1