Definition, Meaning & Synonyms

program statement

Noun
/ˈprōɡrəˌm ˈsteɪtmənt/
Definition
A program statement is a line of code in a computer program that expresses an action to be performed or defines a data structure.
Examples
  • The variable assignment is a simple program statement.
  • In Python, a program statement can be as simple as ‘print(“Hello, World!”)’.
Meaning
In programming, a statement is a single instruction that causes the computer to perform a specific operation, such as creating a variable, executing a function, or controlling the flow of execution.
Synonyms
  • code statement
  • instruction
  • command