In a conditional statement or expression the value of a condition determines which alternative pieces of code to execute.

Related concepts:  StatementExpressionControl Flow

Closest Wikipedia entry:  Conditional (computer programming) — In computer science, conditionals (that is, conditional statements, conditional expressions and conditional constructs,) are programming language commands for handling decisions. Specifically, conditionals perform different computations or actions depending on whether a programmer-defined boolean condition evaluates to true or false. In terms of control flow, the decision is always achieved by selectively altering the control flow based on some condition (apart from the case of branch predication).

Misconceptions about Conditional
19 documented Misconceptions

Check Yourself

Stay up-to-date

Follow us on  twitter to hear about new misconceptions.