Boolean Logic

This task tests your understanding of Boolean Logic, and its uses. If you missed the lesson, or would like to remind yourself, here is a link to the presentation and web-site used:

Related Links

If you are interested in Boolean logic, then you might be interested to read how bitwise logic applies the Boolean operators to binary numbers:

NB. All links on this page open in a separate tab or window so that you can have the two pages open at the same time.

Questions

Answer the following questions. You could use the Boolean Logic page to help you.

1. Are the following statements true or false? (5 marks)
 
  1. this is a Computing task
  2. this is an English task

  For the following questions, assume that x = 10:
 
  1. x is equal to 10
  2. x is greater than 0
  3. x is greater than 10


2. Assuming that x is equal to 5, are the following statements true or false? (5 marks)
 
  1. x is not equal to 5
  2. x is greater than 0 AND x is less than 10
  3. x is greater than 10 OR x is odd
  4. x is less than 10 AND x is greater than 6
  5. x is greater than 0 AND x is not equal to 2




3. What is the value of NOT on? (1 mark)
 
4. What is the value of on OR off? (1 mark)
 
5. What is the value of true AND false? (1 mark)
 
6. What is the value of 1 AND 1? (1 mark)
 
7. Select the correct Boolean operator to make the following operations work. (5 marks)
 
  1. true false = false
  2. true false = true
  3. false = true
  4. false false = true
8. Use the logic circuits page to answer this question. What logical operator is required to make the security light work? (1 mark)
  It is dark motion is detected
9. Which of the following expressions will always give the same result, regardless of the values of A and B? Tick all of the answers - there may be more than one. (2 marks)
 

A AND B
A AND NOT A
A AND NOT B
A OR NOT A

Your name:     Your e-mail address: