Accenture Primer
Accenture DumpmediumAccenture PrimerLooping statements

Which of the following statements are true?

Answer options

A
The operand in an expression must always be a constant.
B
The operand in an expression must always be a variable.
C
An operand is a mandatory element in an expression.
D
The operand in an expression can be a variable or a constant.

Correct answer: The operand in an expression can be a variable or a constant.

Explanation

An operand in an expression can be a variable, a constant, or a function call — it is not restricted to one type. Option 0 ('always a constant') and option 1 ('always a variable') are false. Option 3 ('can be a variable or a constant') is the correct and complete statement.

Related Accenture Accenture Primer questions

Practice more Accenture Accenture Primer questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.