Complete the code to find documents where neither condition is true using $nor.
db.collection.find({ $nor: [ [1] ] })The $nor operator takes an array of conditions and matches documents that fail all of them. Here, it matches documents where age is not less than 30.
Complete the code to find documents where neither age is less than 25 nor status is 'A'.
db.collection.find({ $nor: [ [1] ] })The $nor operator expects an array of conditions. Each condition is an object. Here, the array has two objects: one for age less than 25, and one for status equal to 'A'.
Fix the error in the query to correctly use $nor with two conditions.
db.collection.find({ $nor: [1] })$nor requires an array of condition objects. Option D correctly provides an array with two separate condition objects.
Fill both blanks to find documents where neither age is greater than 40 nor status is 'C'.
db.collection.find({ $nor: [ [1], [2] ] })The $nor operator takes an array of conditions. Here, the conditions are age greater than 40 and status equal to 'C'. Documents matching neither condition are returned.
Fill all three blanks to find documents where none of these are true: age less than 18, status 'D', or score greater than 90.
db.collection.find({ $nor: [ [1], [2], [3] ] })The $nor operator matches documents where none of the listed conditions are true. Here, it excludes documents with age less than 18, status 'D', or score greater than 90.