truth-value function
nounUK /ˈtruːθ ˈvæljuː ˈfʌŋkʃən/
US /ˈtruːθ ˈvæljuː ˈfʌŋkʃən/
A truth-value function is a rule that gives a true or false answer based on the true or false parts you put in.
In logic class, we learned that negation is a simple truth-value function that flips true to false.
OTHER MEANINGS
2. In computer science, a function that takes Boolean inputs and returns a Boolean output.
The AND gate is a truth-value function that outputs true only when both inputs are true.
3. A mapping from a set of truth values to a single truth value, used to define logical connectives.
Each connective in propositional calculus can be described as a truth-value function.
4. A mathematical function whose domain and range are the set {true, false}.
Students built a truth-value function to model the behavior of a simple circuit.