Skip to main content
statement

statement

10 4.6
A single line of code that tells the computer to do something
  • noun
  • /ˈsteɪtmənt/
  • Specialized
translation icon : sentencia
  • So there we're using an if statement to do something quite powerful, right?
  • control statement

And if they are great, then put a print statement further down.

Autoplay Next

Examples

  • This is an if then statement, so it only goes one way.

  • I read code like a narrative, running statement by statement in my head and updating state accordingly.

    Blog text (27)
  • Now, in your notes, the next statement says if X = a.

  • And if they are great, then put a print statement further down.

  • So step away from the if statement, OK?

  • After that we have an if statement if switch state equal equal high.

  • So that print statement will then print true.

  • In the assertion graph, each node represents exactly one statement, and each edge represents exactly one relation.

    Academic text (2017)
  • C interpreters let students execute a single line of statements or a script file composed of several statements without compilation.

    Academic text (2009)
  • In the program, the first statement initializes the variable to zero.

Synonyms

command
vsstatement
  • Specialized
392 3.7

An order given by someone in authority or a computer instruction

focuses on being a coded operation written as a single executable line
instruction
vsstatement
  • Specialized
39 4.6

A single command in a computer program that the computer follows

is written as a single line commanding a specific action
program line
vsstatement
  • Specialized
4.1

A single line of code in a computer program

describes the same coded action rather than just the physical line

Compounds

A short written text that explains what a company or group wants to do and why

financial statement
  • Specialized
18 3.6

An official paper that shows how much money a company or person has and how they use it

A report from your bank that lists all payments and deposits and shows your account balance

A noticeable outfit or accessory that shows your personality

A message that clearly shows someone's opinion or decision and is easy to understand

income statement
  • Specialized
3 3.6

A report showing a company's money received, costs, and profit or loss over time

account statement
  • Specialized
2 2.6

An official summary of recent bank transactions and the balance

A report that shows how much money a company made and spent during a period

A piece of clothing or jewelry that gets attention

A sentence that says what a person or group thinks is important

1 5.6

A clear sentence that shows a math relation or idea

A vague remark that gives no useful information

A careful comment that avoids strong claims or promises

operating statement
  • Specialized
5.2

A report that shows a company's income and expenses for a month or year

truthy statement
  • Literature
8.3

A statement that sounds believable but may not be real

How Complex

program
  • Specialized
3.1
block
340 1.0
statement
  • Specialized
10 4.6
expression
  • Specialized
14 6.3

Surface Forms

statement singular
statements plural

Morphology

statement = state (semi-transparent) = state + ment

The programming sense ('a line that states an instruction') is a technical extension of 'state' and is conventional within computer science.

Etymology

Statement comes from state, meaning to 'set' or 'place' something. In programming, a statement is one instruction that 'sets' an action or value for the computer.