1.

Point out the wrong statement.(a) Boolean expressions evaluate their argument expressions as booleans and return a boolean as the result(b) In addition to the false boolean value, Boolean expression evaluates as false the following: null, 0, and undefined values(c) Set expressions performs set operation on arrays, treating arrays as sets(d) None of the mentionedThe question was posed to me in an online quiz.The above asked question is from Pipeline Optimization in division Aggregation Concepts and Aggregation Mechanics of MongoDB

Answer»

The correct choice is (d) None of the mentioned

The best I can EXPLAIN: The BOOLEAN EXPRESSION evaluates all other VALUES as true, including non-zero numeric values and arrays.



Discussion

No Comment Found

Related InterviewSolutions