ternary

/'tə:nəri/
Học thuật
Thân thiện
ternary

A computer programmer writes a ternary operation in their code.

Definition
  1. Adjective:

    • Consisting of three parts, elements, or components: "ternary" describes something that is composed of three distinct units or members.
    • Arranged in threes: It can also refer to something organized or grouped in sets of three.
    • (Mathematics) Using three as a base: In mathematics, it pertains to a system or operation involving the number three.
  2. Noun:

    • A group or set of three: "ternary" can refer to a trio or a triad.
    • (Archaic) The number three: An older, less common usage for the cardinal number three.
Usage Examples
  • Adjective:

    • The compound has a ternary structure, composed of three different elements.
    • The composer used a ternary form (ABA) for the musical movement.
    • A ternary numeral system uses only the digits 0, 1, and 2.
  • Noun:

    • The data was organized into a ternary for easier analysis. (This usage is rare in modern English).
Advanced Usage
  • "Ternary form" (Music): A three-part musical structure where the first section (A) returns after a contrasting middle section (B), resulting in an ABA pattern.

    • The minuet is typically in ternary form.
  • "Ternary operation" (Computing/Mathematics): An operation that takes three arguments. In many programming languages, the conditional operator (? :) is a ternary operator.

    • The programmer used a ternary operator to write a concise conditional assignment.
  • "Ternary compound" (Chemistry): A chemical compound containing three different elements.

    • Sodium carbonate (Na₂CO₃) is a ternary compound.
Variants and Related Words
  • Ternion (n): A group or set of three; a triad. (A more literary synonym for the noun form).
  • Triple (adj): Consisting of three parts or things. (A more common synonym).
  • Treble (adj): Triple; threefold. (Often used in musical contexts, e.g., treble clef).
  • Triplex (adj): Having three parts; triple. (Often used in technical contexts, e.g., triplex glass).
Synonyms
  • Tripartite: Composed of three parts.
  • Threefold: Triple; consisting of three parts.
  • Trinal: Of or relating to three; threefold. (Rare).
Antonyms
  • Binary: Consisting of two parts or components.
  • Unary: Consisting of or involving a single component.
  • Singular: Single; individual.
ternary

A computer programmer writes a ternary operation in their code.

Adjective
  1. having three units or components or elements
    • a ternary operation
    • a treble row of red beads
    • overcrowding made triple sessions necessary
    • triple time has three beats per measure
    • triplex windows
Noun
  1. the cardinal number that is the sum of one and one and one