帮助中心

ternary

[ˈtəːn(ə)ri]

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

Synonyms for ternary

Phrases with ternary

  • a musical form consisting of three sections, usually labeled ABA

    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.

  • a chemical compound containing three different elements

    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.'