selection statement

noun
UK /sɪˈlɛkʃən ˈsteɪtmənt/
US /sɪˈlɛkʃən ˈsteɪtmənt/

A selection statement is a line of code that lets a computer choose between different actions.

The program uses a selection statement to decide whether to print 'yes' or 'no'.


OTHER MEANINGS

2. A formal announcement of the people or things that have been chosen.

The committee issued a selection statement naming the winning design.

3. A written description of the items picked for a collection or list.

Her selection statement explained why each book was included in the reading list.

4. In programming, a statement that picks one path among several based on a test.

The switch selection statement chose the correct menu option.