Combined Python and NoSQL (MongoDB) Lab Experiments
Experiment Python Program NoSQL (MongoDB) Exercise
1 Write a program to print Install MongoDB and create
'Hello, World!'. a database.
2 Demonstrate variables, data Create a collection and
types, operators, and insert a document.
input/output.
3 Implement conditional Insert multiple documents
statements (if, elif, else). into a collection.
4 Demonstrate loops (for and Retrieve all documents
while). using find().
5 Implement lists, tuples, Query documents using
dictionaries, and sets. filters.
6 Write functions and Update documents using
demonstrate recursion. updateOne() and
updateMany().
7 Implement file handling. Delete documents using
deleteOne() and
deleteMany().
8 Demonstrate exception Sort and limit query results.
handling.
9 Implement OOP. Create indexes on
collections.
10 Demonstrate inheritance Perform aggregation.
and polymorphism.
11 Implement modules and Create embedded
packages. documents and arrays.
12 Demonstrate NumPy and Design a document schema.
Pandas.
13 Develop a menu-driven Perform CRUD operations.
Python application.
14 Develop a Python Connect Python with
application using PyMongo. MongoDB and execute
CRUD.
15 Build a mini project using Design database and
Python and MongoDB. implement CRUD.