School of Computer Science Engineering and Technology
Course – B.Tech. Type – Core
Course Code- CSET201 Course Name- Information Management System Year- 2024 Semester- Even Date – 20/10/2024 Batch- 2023-26
LAB 11
CO-Mapping
Exp No. Name CO1 CO2 CO3
11 MongoDB √ √ √
Objectives
1. Students will be able to learn the concept of NoSQL.
2. Students will learn the installation of MongoDB on system and connect to the MongoDB shell. 3. Students will be able to learn the basic operations performed in Mongo DB. 4. Student will be able to compare MySql and mongoDB.
Questions
Q.1) Create a new database called studentDB.
Q.2) Create a collection called students in the studentDB database.
Q.3) Insert a single document in the students collection.
Q.4) Retrieve all documents from the students collection.
Q.5) Insert multiple documents into the students collection.
Q.6) Use $gt (greater than) and $lt (less than) to find students within a specific age range.
Q.7) Update a document’s field using updateOne()
Q.8) Delete a single document from the collection using deleteOne().