1.
Which of the following are used for comparison?
A
Equal to
B
Not equal to
C
Less than or greater than
D
All of the mentioned
Answer and explanation
Correct Answer: D — All of the mentioned
All of the mentioned above are used for comparisons.
ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
4 practice sets · Page 1 of 1
Which of the following are used for comparison?
Equal to
Not equal to
Less than or greater than
All of the mentioned
All of the mentioned above are used for comparisons.
Assignment operator is also known as relational operator.
True
False
Assignment operator is used for assigning a value.
The '=' is used for assigning value to variable?
True
False
The '=' is known as assignment operator.
The == 'is equal to' is known as relational operator.
True
False
The == is used to compare two things are equal or not and hence it is known as comparator/relational operator.