MongoDB Laboratory BDS456B
Course Code: BDS456B
Credits: 01
CIE Marks: 50
SEE Marks: 50
Total Marks: 100
Exam Hours: 02
Teaching Hours/Weeks: [L:T:P:S] 0:0:2:0
1a. Illustration of Where Clause, AND,OR operations in MongoDB.
1b. Execute the Commands of MongoDB and operations in MongoDB : Insert, Query, Update, Delete
and Projection. (Note: use any collection)
2a. Develop a MongoDB query to select certain fields and ignore some fields of the documents from
any collection.
2b. Develop a MongoDB query to display the first 5 documents from the results obtained in a.
[use of limit and find].
3a. Execute query selectors (comparison selectors, logical selectors ) and list out the results on any collection.
3b. Execute query selectors (Geospatial selectors, Bitwise selectors ) and list out the results on any collection.
4. Create and demonstrate how projection operators ($, $elematch and $slice) would be used in the MongoDB.
5. Execute Aggregation operations ($avg, $min,$max, $push, $addToSet etc.). students encourage to execute several queries to demonstrate various aggregation operators)
6. Execute Aggregation Pipeline and its operations (pipeline must contain $match, $group, $sort, $project, $skip etc. students encourage to execute several queries to demonstrate various aggregation operators)
7a. Find all listings with listing_url, name, address, host_picture_url in the listings And Reviews collection that have a host with a picture url.
7b. Using E-commerce collection write a query to display reviews summary.
Coming Soon
Coming Soon
Coming Soon