Expression and Operators in Javascript

@T-Bone

This question paper focuses on the "Expression and Operators" of Javascript. These Multiple Choice Questions (mcq) should be practiced to improve the Javascript skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

This question paper focuses on the "Expression and Operators" of Javascript. These Multiple Choice Questions (mcq) should be practiced to improve the Javascript skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

Questions

1. Which operator is known as the equality operator, which checks whether its two operators are "equal"?

Mark the correct option

2. Which operator is known as the strict equality operator, which checks whether its two operators are identical or not?

Mark the correct option

3. Which operator will return false if two value are equal?

Mark the correct option

4. When using comparative operators,if after object to primitive conversion, at least one operand is not a string, both operands are converted to?

Mark the correct option

5. If the operator value is null, then the unary operator returns the typeof _________.

Mark the correct option

6. which operator evaluates its operands, then discards the value and returns undefined?

Mark the correct option

7. If var A={B:3, C:5}, how to use the delete operator to delete one of the properties of an object.

Mark the correct option

8. What will be the output if we compare "ten" and 10 with less then comparison operator("ten"<10)?

Mark the correct option

9. If an operator is NaN or converts to NaN, what wil comparison operator always returns ?

Mark the correct option

10. State whether the following statements are True or False for strict equality operator(= = =). i) If the two values have different types they are equal. ii) If both values are null or both values are undefined, they are equal.

Mark the correct option

11. which operator outputs the remainder of an integer division?

Mark the correct option

12. Which operator checks if the value of the left operand is greater than the value of the right operand?

Mark the correct option

13. Logical AND : If both the operands are non-zero, then the condition becomes true.

Mark the correct option

14. Which of the following statement is true about BitWise OR?

Mark the correct option

15. A __________ will be visible only within a function where it is defined.

Mark the correct option

Index of Questions