TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

Raptor Flowchart

Boolean operators and Expressions in Raptor Flowcharts

Overview

In this tutorial, we will learn to use Boolean expressions and operators in Raptor Flowcharts. Boolean operators combine the Boolean expressions to form more complex decisions.

Boolean Expressions

Expressions that evaluate to either True or False are called Boolean Expressions. In the Raptor flowchart, we will use these expressions to make decisions and to control the flow of flowchart control. Boolean expressions are entered in the diamond symbol of selection and loop structures.

Boolean operators

Boolean operators are used to combining Boolean expressions to make more complex expressions.

The True is represented as 1 and the False is represented as 0.

Boolean Operators
ANDexpression1 AND expression2
ORexpression1 OR expression2
XORexpression1 XOR expression2
NOTNOT expression

The expression combined with AND operator evaluates to True when both the expressions are True.

The expression combined with OR operator evaluates to True when either of the expression is True or both.

XOR is exclusive OR is evaluated to True if the expressions differ in the truth values. i.e. if the expression1 is True and expression2 is False or vice versa.

NOT operator evaluates to True if the  expression is False and to False if the expression is True.

Control Flowchart

The selection or the loop diamond symbol has two paths Yes/No. We can control the flowchart control flow using these expression. If the expression evaluates to True the control takes the Yes control path.  If the expression evaluates to False the control takes the No control branch.

 

Boolean Expression Raptor Flowchart

 

Raptor Tutorials on this website can be found at:

https://www.testingdocs.com/raptor-a-flowchart-tool/

RAPTOR official website: https://raptor.martincarlisle.com/

Related Posts

Install RAPTOR Avalonia CentOS

Raptor Flowchart /

Install RAPTOR Avalonia on CentOS

RAPTOR Avalonia Edition Windows

Raptor Flowchart /

Download RAPTOR Avalonia Edition on Windows

RAPTOR Editions

Raptor Flowchart /

RAPTOR Editions

RAPTOR flowcart to write to a file output

Raptor Flowchart /

Write to a file with RAPTOR flowchart

Raptor Flowchart /

Simulation of probabilities die roll using Raptor Flowchart

‹ Disadvantages of Raptor Flowchart tool› Relational Operators in Raptor Flowchart

Recent Posts

  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • RAPTOR Editions
  • Flowgorithm Conditional Breakpoint Statement
  • Flowgorithm Read Numbers from File Example
  • Search Text File Flowchart Example
  • Flowgorithm Turtle Graphics Symbols
  • Draw Circle using Flowgorithm Turtle
  • Draw Parallel Lines using Flowgorithm Graphics

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version