Preview

04 - Truth tables and predicting output

 1. Enter the missing value
truthtables_question1.png

  1

  0

  2

  3

 2. Enter the missing value
truthtables_question2.png

  3

  0

  1

  2

 3. Enter the missing value
truthtables_question3.png

  0

  3

  2

  1

 4. 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 and C

  A not C not B

  A and B and C

  A or B or C

 5. Enter the missing value
truthtables_question5.png

  1 –0 2 - 1 3 - 1,1

  #1 –1 #2 - 0 #3 - 1,1

  #1 –0 #2 - 1 #3 - 0,0

  #1 –0 #2 - 0 #3 - 0,0

 6. Enter the missing value
truthtables_question6.png

  #4 0 #5 – 0 #6 -1

  #4 1 #5 – 1 #6 -1

  #4 1 #5 – 0 #6 -1

  #4 1 #5 – 1 #6 -0

 7. Enter the missing value
truthtables_question7.png

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

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

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

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

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

  p NOT q

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

  p OR q

  p AND q

 9. 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 p should be T

  NOT q should be False

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

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