Operand

In mathematics, an operand is an object to which an operator (+, -, ×, ÷) is applied. For example, in the equation 7 + 5 = 12, the numbers 7 and 5 are operands. The plus symbol (+) is the operator and the value after the equal sign (12) is the result.

In computer science, an operand is a value within a function. It may be a specific number or a variable. Operands can be defined within a function or passed into a function via one or more parameters. The function below includes three operands, including two variables and one constant.

sumPlusTen(x, y)
{
	const Z = 10;
	$sum = $x + $y + Z;
	return $sum;
}

In the example above, $x, $y, and Z are operands in the equation used to calculate $sum. The variables $x and $y are passed to the function sumPlusTen() as parameters, while the constant Z is defined within the function as 10. If sumPlusTen(5,6) is called with a program, it would calculate $sum using the operands 5, 6, and 10 and return a value of 21.

Updated February 16, 2021 by Per C.

quizTest Your Knowledge

One Gbps is the same as how many bps?

A
100
0%
B
1,000
0%
C
1,000,000
0%
D
1,000,000,000
0%
Correct! Incorrect!     View the Bps definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Operand on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation bar directly below the definition.

Our goal to explain computer terminology in a way that is easy to understand. We strive for accuracy and simplicity with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

TechTerms Newsletter

Improve your technical knowledge with our daily or weekly newsletter! Subscribe today and get new terms and quizzes delivered to your inbox.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.