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).
- Comment
- enIn 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).
- Depiction
- Has abstract
- enIn 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). Although dynamic dispatch is not usually classified as a conditional construct, it is another way to select between alternatives at runtime.
- Hypernym
- Features
- Is primary topic of
- Conditional (computer programming)
- Label
- enConditional (computer programming)
- Link from a Wikipage to an external page
- stackoverflow.com/q/6803647
- everythingfla.com/courses/video/8/69/
- Link from a Wikipage to another Wikipage
- %3F:
- Ada (programming language)
- ALGOL
- ALGOL 60
- Anonymous function
- APL (programming language)
- Arithmetic IF
- Associative array
- Bash (Unix shell)
- BASIC
- BCPL (programming language)
- Block (programming)
- Boolean datatype
- Branch (computer science)
- Branch predication
- C (programming language)
- C++
- Case (SQL)
- Category:Articles with example C code
- Category:Articles with example Haskell code
- Category:Articles with example Pascal code
- Category:Articles with example pseudocode
- Category:Articles with example Python (programming language) code
- Category:Conditional constructs
- Closure (computer science)
- COBOL
- Common Lisp
- Computer science
- Conditional compilation
- Conditional move
- Control flow
- C Sharp (programming language)
- C syntax
- Currying
- Dangling else
- Delphi (programming language)
- Dispatch table
- Dynamic dispatch
- ECMAScript
- Eiffel (programming language)
- Expression (programming)
- File:If-Then-Else-diagram.svg
- File:IF-THEN-ELSE-END flowchart.svg
- Fortran 77
- Fortran 90
- F Sharp (programming language)
- Functional programming
- Go (programming language)
- Haskell (programming language)
- Help:Conditional expressions
- Home computer
- IBM 704
- Imperative programming
- Include directive
- Instruction set architecture
- Interpreter (computing)
- Java (programming language)
- JavaScript
- Lambda calculus
- Language construct
- Lazy evaluation
- Lisp (programming language)
- Lookup table
- Mathematica
- McCarthy Formalism
- ML (programming language)
- Modula-2
- Named condition
- Nesting (computing)
- Oberon (programming language)
- Objective-C
- Object Pascal
- OCaml
- Optimizing compiler
- Pascal (programming language)
- Pattern matching
- Perl
- PHP
- Preprocessor
- Programming language
- Pseudocode
- Python (programming language)
- QuickBASIC
- Racket (programming language)
- Regular expression
- Relational operator
- Ruby (programming language)
- Run time (program lifecycle phase)
- Rust (programming language)
- Scala (programming language)
- Scheme (programming language)
- Shell script
- Simula (programming language)
- Small Basic
- Smalltalk
- Spaghetti programming
- SQL
- SQL-92
- Statement (programming)
- Structured programming
- Swift (programming language)
- Switch statement
- Syntactic sugar
- Tcl
- Ternary operator
- Test (Unix)
- Trichotomy (mathematics)
- Visual Basic
- Visual Basic .NET
- Windows PowerShell
- Wolfram Language
- Yoda conditions
- SameAs
- 4ySdZ
- Bedingte Anweisung und Verzweigung
- Betingelse (programmering)
- Condicional (programació)
- Conditional (computer programming)
- Ehtolause
- Estrutura de seleção
- Feltételes utasítás
- IF deyimi (şərt deyimi)
- If-sats
- If文
- Instruction conditionnelle (programmation)
- Instrukcja warunkowa
- Kenyataan bersyarat
- m.02cht1
- Percabangan (pemrograman)
- Podmíněný příkaz
- Q817862
- Selezione (informatica)
- Sentencia condicional
- Seo (programlingva)
- Tingimuslause
- Uvjetna naredba
- Điều kiện (lập trình máy tính)
- Ветвление (программирование)
- Кондиционал (рачунарско програмирање)
- Умовний перехід
- Условна конструкция (програмиране)
- פקודת תנאי
- تعبير شرطي (برمجة الحاسوب)
- شرط (برنامهنویسی)
- 條件運算式
- 조건문
- SeeAlso
- Statement (computer science)
- Subject
- Category:Articles with example C code
- Category:Articles with example Haskell code
- Category:Articles with example Pascal code
- Category:Articles with example pseudocode
- Category:Articles with example Python (programming language) code
- Category:Conditional constructs
- Thumbnail
- WasDerivedFrom
- Conditional (computer programming)?oldid=1107080686&ns=0
- WikiPageLength
- 36661
- Wikipage page ID
- 462839
- Wikipage revision ID
- 1107080686
- WikiPageUsesTemplate
- Template:Citation needed
- Template:Code
- Template:Commons category-inline
- Template:Main
- Template:Nbsp
- Template:No
- Template:No2
- Template:Note label
- Template:Ordered list
- Template:Redirect
- Template:Ref label
- Template:Reflist
- Template:See also
- Template:Self reference
- Template:Short description
- Template:Wiktionary
- Template:Yes
- Template:Yes2
- Template:Yes-no