FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WHAT IS WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which comparison operator is applicable with this question?(Are the two values equal in both value and data type?)
A
==
B
>
C
===
D
<=
Explanation: 

Detailed explanation-1: -The == operator is an equality operator. It checks whether its two operands are the same or not by changing expression from one data type to others. You can use == operator in order to compare the identity of two operands even though, they are not of a similar type.

Detailed explanation-2: -The strict equality ( === ) operator checks whether its two operands are equal, returning a Boolean result. Unlike the equality operator, the strict equality operator always considers operands of different types to be different.

Detailed explanation-3: -The equality operator (==) is used to compare two values or expressions. It is used to compare numbers, strings, Boolean values, variables, objects, arrays, or functions. The result is TRUE if the expressions are equal and FALSE otherwise.

Detailed explanation-4: -The == operator checks if two values are equal. The != operator checks if two values are not equal. It is also known as the loose equality operator because it checks abstract equality, i.e., it tends to convert the data types of operands in order to carry the comparison when two operands aren’t of the same data type.

Detailed explanation-5: -===-strict equality (triple equals) ==-loose equality (double equals)

There is 1 question to complete.