- Logic gate
- An electronic component that takes one or two inputs and gives one output by a fixed rule.
- Truth table
- A table that lists every possible input combination and the output for each one.
- Logic circuit
- Two or more logic gates joined together to give one output.
- Logic expression
- A written description of a circuit using gate names, such as X = A AND NOT B.
- NOT
- A one-input gate whose output is the opposite of its input; also called an inverter.
- AND
- A gate whose output is 1 only when both inputs are 1.
- OR
- A gate whose output is 1 when at least one input is 1.
- NAND
- NOT AND: the output is 0 only when both inputs are 1.
- NOR
- NOT OR: the output is 1 only when both inputs are 0.
- XOR (EOR)
- Exclusive OR: the output is 1 when the two inputs are different.
- Input
- A signal going into a gate or circuit, such as a sensor reading of 1 or 0.
- Output
- The single result signal that comes out of a gate or circuit.
- Sum of products
- An expression made by AND-ing the inputs of each row with output 1, then OR-ing those groups together.
- Database
- An organised, structured store of data that a computer can search and sort.
- Table
- A grid of data made of rows (records) and columns (fields).
- Field
- One column of a table; it holds one item of data about every record, such as Minutes.
- Record
- One row of a table; it holds all the data about one thing, such as one bike hire.
- Field name
- The heading at the top of a column, such as HireID; it is not a record.
- Data type
- The kind of data a field can hold, such as integer, real or Boolean.
- Text / alphanumeric
- A data type for letters, digits and symbols, such as a name or a phone number.
- Integer
- A data type for whole numbers, such as 55.
- Real
- A data type for numbers with a decimal part, such as 5.50.
- Date/time
- A data type for a date, a time, or both, such as 05/03/2026.
- SQL
- Structured Query Language: the language used to ask a database for data.
- Query
- A question to the database, written in SQL, that returns matching data.
- ORDER BY
- The SQL clause that sorts the output, ascending (ASC) or descending (DESC).
- SUM
- An SQL function that adds up the values in a numeric field.
- COUNT
- An SQL function that counts how many records meet a condition.