Table of Contents

Conditional Statements

Return to Major programming topics, Programming topics, Programming languages, Software engineering topics, Software architecture, Software architecture topics, Awesome lists

In computer science, conditional statements, conditional expressions and conditional constructs are features of a programming language, which perform different computations or actions depending on whether a programmer-specified boolean datatype | boolean condition evaluates to true or false. Apart from the case of branch predication, this is always achieved by selectively altering the control flow based on some condition.

In imperative programming languages, the term “conditional statement (programming) | statement” is usually used, whereas in functional programming, the terms “conditional expression (programming) | expression” or “conditional construct” are preferred, because these terms all have distinct meanings.

Snippet from Wikipedia: Conditional statement

A conditional statement may refer to:

  • A conditional formula in logic and mathematics, which can be interpreted as:
    • Material conditional
    • Strict conditional
    • Variably strict conditional
    • Relevance conditional
  • A conditional sentence in natural language, including:
    • Indicative conditional
    • Counterfactual conditional
    • Biscuit conditional
  • Conditional (computer programming), a conditional statement in a computer programming language
Conditional (computer programming)

External Sites


Cloud Monk is Retired (for now). Buddha with you. Copyright | © 2024 Losang Jinpa or Fair Use. Disclaimers. REPLACE with: navbar_footer