A quantity on which a mathematical or logical operation is performed.
[From Latin operandum, neuter gerundive of operārī, to operate. See operate.]
Dictionary:
op·er·and (ŏp'ər-ənd) ![]() |
[From Latin operandum, neuter gerundive of operārī, to operate. See operate.]
| 5min Related Video: operand |
| Computer Desktop Encyclopedia: operand |
The part of a machine instruction that references data or a peripheral device. In the instruction, ADD A to B, A and B are the operands (nouns), and ADD is the operation code (verb). In the instruction READ TRACK 9, SECTOR 32, track and sector are the operands.
Download Computer Desktop Encyclopedia to your iPhone/iTouch
| Wikipedia: Operand |
| This article needs additional citations for verification. Please help improve this article by adding reliable references. Unsourced material may be challenged and removed. (November 2008) |
| This article may require cleanup to meet Wikipedia's quality standards. Please improve this article if you can. (November 2008) |
An operand is a quantity on which an operation is performed.[1] The following arithmetic expression shows an example of operators and operands:
3 + 6 = 9
In the above example, '+' is the symbol for the operation called addition. The operand '3' is one of the inputs (quantities) followed by the addition operator, and the operand '6' is the other input necessary for the operation. The result of the operation is 9. (The number '9' is also called the sum of the addend, 3 and 6.)
An operand, then, is also referred to as "one of the inputs (quantities) for an operation".
Contents |
Operands may be complex, and may consist of expressions also made up of operators with operands.
(3 + 5) * 2
In the above expression '(3 + 5)' is the first operand for the multiplication operator and '2' the second. The operand '(3 + 5)' is an expression in itself, which contains an addition operator, with the operands '3' and '5'.
A more common synonym is a variable.
Rules of precedence affect which values form operands for which operators:
3 + 5 * 2
In the above expression, the multiplication operator has the higher precedence than the addition operator, so the multiplication operator has operands of '5' and '2'. The addition operator has operands of '3' and '5 x 2'.
Depending on the mathematical notation being used the position of an operator in relation to its operand(s) may vary. In everyday usage infix notation is the most common, however other notations also exist, such as the prefix and postfix notations. These alternate notations are most common within computer science.
Below is a comparison of three different notations — all represent an addition of the numbers '1' and '2'
1 + 2 (infix notation)
(prefix notation)
(postfix notation)
With infix notation, one easy mnemonic for remembering the order of operation is:
Please excuse my dear Aunt Sally.
The first letter (in boldtype) of each word in the above mnemonic stands for the following:
In a mathematical expression, the order of operation is carried out from left to right. Start with the left most value and seek the first operation to be carried out in accordance with the order specified above (i.e., start with parentheses and end with subtraction). For example, in the expression
4 * 22 − (2 + 22),
the first operation to be acted upon is any and all expressions found inside a parenthesis. So beginning at the left and moving to the right, find the first (and in this case, the only) parenthesis, that is, (2 + 22). Within the parenthesis itself is found the expression 22. The reader is required to find the value of 22 before going any further. The value of 22 is 4. Having found this value, the remaining expression looks like this:
4 * 22 − (2 + 4)
The next step is to calculate the value of expression inside the parenthesis itself, that is, (2 + 4) = 6. Our expression now looks like this:
4 * 22 − 6
Having calculated the parenthetical part of the expression, we start over again beginning with the left most value and move right. The next order of operation (according to the rules) is exponents. Start at the left most value, that is, 4, and scan your eyes to the right and search for the first exponent you come across. The first (and only) expression we come across that is expressed with an exponent is 22. We find the value of 22, which is 4. What we have left is the expression
4 * 4 − 6.
The next order of operation is multiplication. 4 x 4 is 16. Now our expression looks like this:
16 − 6
The next order of operation according to the rules is division. However, there is no division operator sign (/) in the expression, 16 -6. So we move on to the next order of operation, i.e., addition. But there is no addition operator sign (+) in the expression 16 - 6. So we move on to the next and final order of operation, which is subtraction.
16 − 6 = 10.
So the correct value for our original expression, 4 x 22 - (2 + 22), is 10.
It is important to carry out the order of operation in accordance with rules set by convention. If the reader evaluates an expression but does not follow the correct order of operation, the reader will come forth with a different value. The different value will be the incorrect value because the order of operation was not followed. The reader will arrive at the correct value for the expression if and only if each operation is carried out in the proper order.
The number of operands of an operator is called its arity. Based on arity, operators are classified as nullary (no operands), unary (1 operand), binary (2 operands), ternary (3 operands) etc.
In computer programming languages, the definitions of operator and operand are almost the same as in mathematics.
Additionally, in assembly language, an operand is a value (an argument) on which the instruction, named by mnemonic, operates. The operand may be a processor register, a memory address, a literal constant, or a label. A simple example (in the x86 architecture) is
where the value in register operand 'AX' is to be moved into register 'DS'. Depending on the instruction, there may be zero, one, two, or more operands.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Translations: Operand |
Français (French)
n. - (Math) opérande
Deutsch (German)
n. - (Math.) Operand
Ελληνική (Greek)
n. - (μαθ.) συντελεστής
Español (Spanish)
n. - (matemática) operando
Svenska (Swedish)
n. - beräkningsmängd (mat.)
中文(简体)(Chinese (Simplified))
运算域
中文(繁體)(Chinese (Traditional))
n. - 運算域
العربيه (Arabic)
(الاسم) معامل, عامل
עברית (Hebrew)
n. - המספר עליו מתבצעת פעולה מתמטית
If you are unable to view some languages clearly, click here.
To select your translation preferences click here.
| Best of the Web: operand |
Some good "operand" pages on the web:
Math mathworld.wolfram.com |
| zero-level address (computer science) | |
| first-level address (computer science) | |
| direct address (computer science) |
| What are the rules for casting operands? | |
| Which operand should be passed in the binary overloaded operator function as a second operand? | |
| What is the meaning of operand data type? |
Copyrights:
![]() | Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2009 Computer Language Company Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Operand". Read more | |
![]() | Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved. Read more |
Mentioned in