0% found this document useful (0 votes)
3 views2 pages

monga db ASSIGNMENT

The document outlines a series of questions related to MongoDB, covering its definition, differences from traditional RDBMS, data storage, and key features. It includes queries about creating databases and collections, CRUD operations, and various MongoDB commands and operators. The content serves as a comprehensive guide for understanding and working with MongoDB.

Uploaded by

vasam.sravsri99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

monga db ASSIGNMENT

The document outlines a series of questions related to MongoDB, covering its definition, differences from traditional RDBMS, data storage, and key features. It includes queries about creating databases and collections, CRUD operations, and various MongoDB commands and operators. The content serves as a comprehensive guide for understanding and working with MongoDB.

Uploaded by

vasam.sravsri99
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

MongoDB Assignment

1. What is MongoDB?
2. How is MongoDB different from a traditional relational database
(RDBMS)?
3. What is a document in MongoDB? What is a collection in MongoDB?
4. What is a database in MongoDB?
5. How does MongoDB store data?
6. What is the difference between MongoDB and SQL?
7. Can you explain what BSON is?
8. What are the main features of MongoDB?
9. What kind of data types does MongoDB support
10.How do you create a database in MongoDB?
11.How do you create a collection in MongoDB?
12.What is the syntax to insert a document into a collection?
13.How do you view all the databases in MongoDB?
14.How do you switch between databases in MongoDB?
15.How do you delete a collection in MongoDB?
16.What is the purpose of the show collections command?
17.How do you remove a database in MongoDB?
18.What does CRUD stand for in MongoDB?
19.How do you insert a single document in MongoDB?
20.How do you insert multiple documents at once in MongoDB?
21.How do you update a document in MongoDB?
22.What is the difference between updateOne() and updateMany()?
23.How do you delete a document from a collection?
24.What is the difference between deleteOne() and deleteMany()?
25.How do you retrieve data from a collection using the find() method?
26.What is the difference between find() and findOne() in MongoDB?
27.What are query operators in MongoDB?
28.Can you explain the $gt and $lt operators?
29.What is the $in operator used for?
30.How would you use the $and operator in a query?
31.What is the purpose of the $or operator in MongoDB queries?
32.What is the difference between insertOne() and insertMany() in
MongoDB?
33.Can you explain how MongoDB handles duplicate _id values during
insertion?
34.What happens if you insert a document without specifying the _id field?
35.How do you insert a document with a specific _id value in MongoDB?

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy