# Boolean Algebra

## Logic Operations

### AND [^, ∧]

A | B | Result |
---|---|---|

0 | 0 | 0 |

0 | 1 | 0 |

1 | 0 | 0 |

1 | 1 | 1 |

### OR [|, ∨]

A | B | Result |
---|---|---|

0 | 0 | 0 |

0 | 1 | 1 |

1 | 0 | 1 |

1 | 1 | 1 |

### NOT [~, ¬]

A | Result |
---|---|

0 | 1 |

1 | 0 |

### XOR (Exclusive OR) [^, ⊕]

A | B | Result |
---|---|---|

0 | 0 | 0 |

0 | 1 | 1 |

1 | 0 | 1 |

1 | 1 | 0 |