What is the truth table for the Boolean operator AND?

The Boolean operator AND is a very common one encountered in Computer Science, along with NOT and OR (and its variant XOR). The operator takes in two inputs and gives one output. The truth table shows all these possible combinations. Let us call the two inputs "a" and "b" and the output "o". The table would look like:
a b o
0 0 0
0 1 0
1 0 0
1 1 1
We have 2 inputs, each input having 2 possible values (1 = true, 0 = false) therefore there are 4 possible combinations. For the AND operator to return true, both inputs have to be true. If the inputs are not both true, it will return false.

AN
Answered by Alexandru N. Computing tutor

1766 Views

See similar Computing GCSE tutors

Related Computing GCSE answers

All answers ▸

What is Control Flow in a Computer Program?


In terms of programming software, what is a translator? Describe the differences between the following three translators: assembler, compiler, interpreter.


Which of the following are usually found on the Central Processing Unit(CPU) of a personal computer?


What does a compiler do in the context of programming?


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences