Boolean logic does not just work with numbers. Boolean expressions can also compare text, for example to check if a password is correct.
This can also be represented as 1 or 0 or True and False. Logic gates take an input of True or False and give an output of True or False. Each operator has a standard symbol that can be used when ...