Computer Science, asked by bhumii, 11 months ago

what is the difference between compound criteria and comparison operator​

Answers

Answered by babes0543
19

Answer:

The equality operator (==) is used to compare two values or expressions. ... Numbers, strings, and Boolean values are compared byvalue, and are considered equal if they have the same value. For instance, two strings are equal if they have the same number of characters.

Answered by smartbrainz
19

Difference between compound criteria and comparison operators:

Compound criteria:

  • In compound criteria, we can specify more than one condition criteria query.
  • This enables us to create query that are specific. Mainly two types of compound criteria are used in queries i.e. AND and OR, which are called logical operators.

Comparison operators:

  • Comparison operators are used to comparing the value of a variable to a certain other given value and, depending on the result of the comparison; we execute a block of code. To compare values, we use comparison operators. For example:
  • == (Allows to test equality on values), === (tests equality in terms of values and types), != (used to test the difference in values). These are some of the examples to make you understand about comparison operator.

To know more

What is the another name of Comparison Operators?

https://brainly.in/question/8171301

Explain the comparison operator​

https://brainly.in/question/8707171

Similar questions