ternary Definition
- 1consisting of three parts
- 2related to the number three
Using ternary: Examples
Take a moment to familiarize yourself with how "ternary" can be used in various situations through the following examples!
Example
The ternary system is a base-3 number system.
Example
The music piece has a ternary structure with three distinct sections.
Example
The company's success is based on a ternary strategy of quality, innovation, and customer service.
ternary Synonyms and Antonyms
Phrases with ternary
Example
The sonata follows a ternary form, with the second section contrasting the first and third.
a programming language operator that takes three arguments and evaluates to one of two values depending on whether the condition is true or false
Example
In Python, the ternary operator x if c else y can be used as a shorthand for if c: x else: y.
Example
Water is a ternary compound consisting of hydrogen, oxygen, and hydrogen.
Origins of ternary
from Latin 'ternarius', from 'terni' meaning 'three each'
Summary: ternary in Brief
The term 'ternary' [ˈtəːn(ə)ri] refers to things that consist of three parts or are related to the number three. It can describe musical forms like 'ternary form,' programming operators like 'ternary operator,' or chemical compounds like 'ternary compound.'