Direction: Choose the correct option
Q1.
How do you sort query results in MongoDB?
Direction: Choose the correct option
Q2.
What does `sort({age: -1})` do?
Direction: Choose the correct option
Q3.
Which method limits the number of documents returned in a query?
Direction: Choose the correct option
Q4.
How do you implement pagination (skip some documents and limit the rest)?
Direction: Choose the correct option
Q5.
Given `db.products.find().sort({price: 1}).limit(5).skip(10)`, what does this do?
