Language - Control Flow Statement (If, Switch, For) - Conditional Operators - Execution order - Branch Conditionals (aka decisions)

Card Puncher Data Processing

About

conditional are expressions that:

Ultimately, they are predicate that returns a boolean.

They model a flow of statements.

They are translated into conditional CPU instruction.

List

Branch prediction

The performance of an if-statement depends on whether its condition has a predictable pattern. See CPU - Branch





Recommended Pages
Card Puncher Data Processing
Ansible - Flow (Conditional)

conditional operator in Ansible Variable initialization variable value can be made conditional. Example: variables by type of operating system with include_vars Install a package...
Card Puncher Data Processing
CPU - Condition Instruction

conditional statement in Instruction. Jcc (jump on condition code cc), SETcc (byte set on condition code cc), LOOPcc, CMOVcc (conditional move) The condition instructions use one or...
Z80 Registers
CPU Register - Control registers

Control registers: instruction pointer register (32-bit) flags register (32-bit) to perform: comparisons mathematical calculations flow implementation by changing the status of flags (conditional...
Card Puncher Data Processing
Code - Exception (Try, Catch, Finally statement)

Exceptions are a means of breaking out of the normal flow of control of a code block in order to: handle errors or other exceptional conditions. You may want to track and see the exceptions that...
Card Puncher Data Processing
Code - Grammar / Syntax (Lexical)

This section regroups the entity of a computer language from a lexical point of view. It's the same as Parts of the speech for a natural language. Grammars are useful models when designing software...
Card Puncher Data Processing
Grammar - Error (Handling)

An error is an exceptional conditions that breaks the normal flow For Shell language that are based on process command, the error management is done via the Error code / exit status For an block,...
Card Puncher Data Processing
Grammar - Switch Statement

A switch is a multi-way conditional branch that permits to control the flow There is basically two syntax: the where the possibilities are scalar values the where the possibilities are expressions...
Javascript - Flow (Control Structures)

Flow / Conditional expression in Javascript in Javascript See loop JavaScript_basics
Card Puncher Data Processing
Language - Conditional operator (ternary)

The ternary is a: conditional operator. Many people call it the ternary operator, because it's the only ternary (three operand) operator in many language. The first expression must be of type boolean...
Card Puncher Data Processing
Language - Equality

The Equality operators model the Equivalence relation: equality is parallel to (for affine spaces) is in bijection with isomorphy The Equality operators are a subset of the comparison operator....



Share this page:
Follow us:
Task Runner