WordGarden.io
Back to search

operand

C2
noun

Pronunciation

UK

  • /ˈɒpərænd/

US

  • /ˈɑpəˌrænd/noun
  • /ˌɑpəˈrænd/noun

Description

Imagine you're building with LEGO bricks. The bricks themselves are the things you work with, and the way you connect them is the action. In math and computer science, an operand is the value that an operator uses to make a result.

So, in the equation 2 + 3 = 5, both "2" and "3" are operands, while the "+" sign is the operator. In programming, if you tell a computer to multiply "x" by "y", then "x" and "y" are the operands. In simple terms, they are the inputs an operation works on. Some operators use one value, like `-x`, and some use two, like addition or multiplication.

Examples

  1. 1

    Basic arithmetic

    In `4 + 7`, the numbers `4` and `7` are the operands.

  2. 2

    Unary operator

    Most arithmetic operators take two operands, but a minus sign can also be used with one operand, as in `-x`.

  3. 3

    Programming error

    The compiler reported an invalid operand because the code tried to multiply a string by a date.

    • Meaning

      invalid operand

      a value that cannot be used with that operation

Forms and spellings

2 forms open this card.

Main spelling

  • operandnoun

Forms

  • operandspluralnoun