{
  "id": "tech-logic-gates",
  "name": "Logic Gates Truth Tables Dataset",
  "category": "tech",
  "source": null,
  "updated": "2025-12-28",
  "columns": [
    {
      "key": "gate",
      "label": "Gate Type",
      "type": "string"
    },
    {
      "key": "inputs",
      "label": "Number of Inputs",
      "type": "number"
    },
    {
      "key": "input_a",
      "label": "Input A",
      "type": "number"
    },
    {
      "key": "input_b",
      "label": "Input B",
      "type": "number"
    },
    {
      "key": "output",
      "label": "Output",
      "type": "number"
    },
    {
      "key": "expression",
      "label": "Boolean Expression",
      "type": "string"
    },
    {
      "key": "description",
      "label": "Description",
      "type": "string"
    }
  ],
  "rows": [
    {
      "gate": "NOT",
      "inputs": 1,
      "input_a": 0,
      "input_b": "-",
      "output": 1,
      "expression": "¬A",
      "description": "Inverts the input"
    },
    {
      "gate": "NOT",
      "inputs": 1,
      "input_a": 1,
      "input_b": "-",
      "output": 0,
      "expression": "¬A",
      "description": "Inverts the input"
    },
    {
      "gate": "AND",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 0,
      "expression": "A ∧ B",
      "description": "Output 1 only if both inputs are 1"
    },
    {
      "gate": "AND",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 0,
      "expression": "A ∧ B",
      "description": "Output 1 only if both inputs are 1"
    },
    {
      "gate": "AND",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 0,
      "expression": "A ∧ B",
      "description": "Output 1 only if both inputs are 1"
    },
    {
      "gate": "AND",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 1,
      "expression": "A ∧ B",
      "description": "Output 1 only if both inputs are 1"
    },
    {
      "gate": "OR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 0,
      "expression": "A ∨ B",
      "description": "Output 1 if any input is 1"
    },
    {
      "gate": "OR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 1,
      "expression": "A ∨ B",
      "description": "Output 1 if any input is 1"
    },
    {
      "gate": "OR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 1,
      "expression": "A ∨ B",
      "description": "Output 1 if any input is 1"
    },
    {
      "gate": "OR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 1,
      "expression": "A ∨ B",
      "description": "Output 1 if any input is 1"
    },
    {
      "gate": "NAND",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 1,
      "expression": "¬(A ∧ B)",
      "description": "NOT AND - Output 0 only if both inputs are 1"
    },
    {
      "gate": "NAND",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 1,
      "expression": "¬(A ∧ B)",
      "description": "NOT AND - Output 0 only if both inputs are 1"
    },
    {
      "gate": "NAND",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 1,
      "expression": "¬(A ∧ B)",
      "description": "NOT AND - Output 0 only if both inputs are 1"
    },
    {
      "gate": "NAND",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 0,
      "expression": "¬(A ∧ B)",
      "description": "NOT AND - Output 0 only if both inputs are 1"
    },
    {
      "gate": "NOR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 1,
      "expression": "¬(A ∨ B)",
      "description": "NOT OR - Output 1 only if both inputs are 0"
    },
    {
      "gate": "NOR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 0,
      "expression": "¬(A ∨ B)",
      "description": "NOT OR - Output 1 only if both inputs are 0"
    },
    {
      "gate": "NOR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 0,
      "expression": "¬(A ∨ B)",
      "description": "NOT OR - Output 1 only if both inputs are 0"
    },
    {
      "gate": "NOR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 0,
      "expression": "¬(A ∨ B)",
      "description": "NOT OR - Output 1 only if both inputs are 0"
    },
    {
      "gate": "XOR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 0,
      "expression": "A ⊕ B",
      "description": "Output 1 if inputs are different"
    },
    {
      "gate": "XOR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 1,
      "expression": "A ⊕ B",
      "description": "Output 1 if inputs are different"
    },
    {
      "gate": "XOR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 1,
      "expression": "A ⊕ B",
      "description": "Output 1 if inputs are different"
    },
    {
      "gate": "XOR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 0,
      "expression": "A ⊕ B",
      "description": "Output 1 if inputs are different"
    },
    {
      "gate": "XNOR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 1,
      "expression": "¬(A ⊕ B)",
      "description": "Output 1 if inputs are same"
    },
    {
      "gate": "XNOR",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 0,
      "expression": "¬(A ⊕ B)",
      "description": "Output 1 if inputs are same"
    },
    {
      "gate": "XNOR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 0,
      "expression": "¬(A ⊕ B)",
      "description": "Output 1 if inputs are same"
    },
    {
      "gate": "XNOR",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 1,
      "expression": "¬(A ⊕ B)",
      "description": "Output 1 if inputs are same"
    },
    {
      "gate": "BUFFER",
      "inputs": 1,
      "input_a": 0,
      "input_b": "-",
      "output": 0,
      "expression": "A",
      "description": "Output equals input (signal amplifier)"
    },
    {
      "gate": "BUFFER",
      "inputs": 1,
      "input_a": 1,
      "input_b": "-",
      "output": 1,
      "expression": "A",
      "description": "Output equals input (signal amplifier)"
    },
    {
      "gate": "IMPLY",
      "inputs": 2,
      "input_a": 0,
      "input_b": 0,
      "output": 1,
      "expression": "A → B",
      "description": "Logical implication (if A then B)"
    },
    {
      "gate": "IMPLY",
      "inputs": 2,
      "input_a": 0,
      "input_b": 1,
      "output": 1,
      "expression": "A → B",
      "description": "Logical implication (if A then B)"
    },
    {
      "gate": "IMPLY",
      "inputs": 2,
      "input_a": 1,
      "input_b": 0,
      "output": 0,
      "expression": "A → B",
      "description": "Logical implication (if A then B)"
    },
    {
      "gate": "IMPLY",
      "inputs": 2,
      "input_a": 1,
      "input_b": 1,
      "output": 1,
      "expression": "A → B",
      "description": "Logical implication (if A then B)"
    }
  ],
  "meta": {
    "seo_title": "Logic Gates Truth Tables - Free Download (Excel/CSV/PDF)",
    "seo_description": "Free download of 32 logic gates truth tables with boolean expressions. Essential for digital electronics and computer science. Available in Excel, CSV, and PDF formats.",
    "title": "Logic Gates Truth Tables Dataset",
    "description": "This dataset provides comprehensive truth tables for 32 common logic gates, including their input/output states, Boolean expressions, and descriptions. Ideal for learning and reference in digital electronics.",
    "key_takeaways": [
      "Access truth tables for 32 fundamental logic gates.",
      "Explore Boolean expressions and operational descriptions for each gate.",
      "Download ready-to-use data for digital logic design and study.",
      "Use gate types, inputs, and outputs to simulate digital circuits."
    ],
    "keywords": [
      "logic gates truth tables excel",
      "boolean algebra dataset csv",
      "digital logic gates pdf",
      "electronics truth table data",
      "logic gate simulation data",
      "free logic gates download"
    ],
    "use_cases": [
      "Import the **CSV** file into your Python scripts or SQL databases to programmatically analyze gate behavior or build digital circuit simulators.",
      "Use the **Excel** file to filter gates by type, create custom truth table views, or calculate gate logic for educational purposes.",
      "Print the **PDF** version for classroom reference, offline study, or to include in presentations on digital electronics fundamentals.",
      "Leverage this dataset to quickly verify logic gate outputs or as a foundational resource for designing complex digital systems."
    ]
  },
  "record_count": 32,
  "title": "Logic Gates Truth Tables Dataset"
}