Welcome to Kaizenlog.com If you're new here, you may want to subscribe to my RSS feed , Twitter You can contact us by using the contact form or submitting a comment. Thanks for visiting!

DEVI - Logical and Relational Expressions - Logical and Relational Operators and Expressions

The result is always a Boolean value.
These expressions use logical or relational operators to determine their value.

Relational Operator

Used in a relational expression to test a relationship between the term preceding it and the term following it, resulting in a Boolean value.

The relational operators:

  • =(equal to)
  • <(less than)
  • >(greater than)
  • <=(less than or equal to)
  • >=(greater than or equal to)
  • <>(not equal to)
  • IN(included in set).

Relational Expression

An expression, that by using a relational operator, compares values and results in a Boolean.
Terms of this expression are usually not Boolean themselves, but they must be compatible with each other.

Logical Operator

Uses one or two Boolean terms in a logical expression.

The logical binary operators are:

  • AND
  • OR
  • XOR (exclusive OR).

The logical operator is:

  • NOT.

Logical Expression

Uses one logical operator, which results in a Boolean value.
It can have terms of any type.
It can have multiple terms, but the terms must all be of type Boolean.

Popularity: 3% [?]

Listen to this podcast Listen to this podcast

Print This Post Print This Post





  • Related Posts



  • Leave a Reply

    Comment moderation is enabled. Your comment may take some time to appear.