Selection


Also called a decision, one of the three basic logic structures in computer programming. The other two logic structures are sequence and loop.

In a selection structure, a question is asked, and depending on the answer, the program takes one of two courses of action, after which the program moves on to the next event.

This structure is sometimes referred to as an if-then-else because it directs the program to perform in this way: If Condition A is True then perform Action X elseperform Action Y.

All logic problems in programming can be solved by forming algorithms using only the three logic structures, and they can be combined in an infinite number of ways. The more complex the computing need, the more complex the combination of structures.

Read Also:

  • selective backup

    A type of backup where only the user specified files and directories are backed up. A selective backup is commonly used for backing up files which change frequently or in situations where the space available to store backups is limited. Also called a partial backup.

  • self-extracting file

    A type of file that contains other files that have been compressed (typically through a ZIP program) for more efficient transfer of the data. The self-extracting file contains within it the program software needed to “unzip” the file and execute the intended application. The end user, therefore, does not need any special software to execute […]

  • self-garbling virus

    A type of computer virus that will attempt to hide from an antivirus program by garbling its own code. When a self-garbling virus propagates it will change the encoding of its own code to trick antivirus programs and stay hidden on the computer system.

  • semantics

    In linguistics, the study of meanings. In computer science, the term is frequently used to differentiate the meaning of an instruction from its format. The format, which covers the spelling of language components and the rules controlling how components are combined, is called the language’s syntax. For example, if you misspell a command, it is […]

  • Split Multi-Link Trunking

    Split Multi-Link Trunking (SMLT) is an improvement over Multi-Link Trunking (MLT), a method of link aggregation that allows multiple Ethernet links to be aggregated together, and handled as a single logical trunk. SMLT is the splitting of member links in a normal MLT trunk from an end device across two devices. These devices synchronize state […]


Disclaimer: Selection definition / meaning should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. All content on this website is for informational purposes only.