Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

MongoDB

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

Point out the correct statement

a)

MongoDB is classified as a NoSQL database

b)

MongoDB favors XML format more than JSON

c)

MongoDB is column oriented database store

d)

All of the mentioned

2.

Which of the following format is supported by MongoDB?

a)

SQL

b)

XML

c)

BSON

d)

All of the mentioned

3.

MongoDB has been adopted as ________ software by a number of major websites and services.

a)

Frontend

b)

Proprietary

c)

Backend

d)

All of the mentioned

4.

MongoDB is a _________ database that provides high performance, high availability, and easy scalability.

a)

Graph

b)

Key value

c)

Document

d)

All of the mentioned

5.

NoSQL databases is used mainly for handling large volumes of ______________ data.

a)

Unstructured

b)

Structured

c)

Semi-structured

d)

All of the mentioned

6.

Collection is a group of MongoDB ___________?

a)

Database

b)

Document

c)

Row

d)

Table

7.

Port number for Mongodb

a)

3000

b)

8080

c)

27017

d)

127

8.

How to get the list of databases in your system?

a)

display dbs

b)

db

c)

show db

d)

show dbs

9.

How to create a database in mongodb?

a)

create databaseName

b)

new databaseName

c)

use databaseName

d)

None of the above

10.

Which of the following method is used to query documents in collections?

a)

move

b)

shell

c)

find

d)

replace

11.

What is the correct order to create a routing module ?


1.Create express Router Instance.

2.Require express

3.module.exports

4.Create Route Handler function

a)

1324

b)

2134

c)

2143

d)

1234

12.

What is the correct order to create a routing module ?


1.Create express Router Instance.

2.Require express

3.module.exports

4.Create Route Handler function

a)

1324

b)

2134

c)

2143

d)

1234

13.

What is mongoose ?

a)

A middleware used to work with MongoDB

b)

code name of MongoDb in Express.

14.

Which of the following statements need not be a part of the mongoose database integration module ?

a)

require express

b)

require mongoose

c)

creating a schema

d)

creating a model

15.

Which method is used to access (get) a query parameter's value in the latest versions of Express ?

a)

req.params

b)

req.param()

c)

req.query

d)

req.query()

16.

What is mongoose ?

a)

A middleware used to work with MongoDB

b)

code name of MongoDb in Express.

17.

Which of the following statements need not be a part of the mongoose database integration module ?

a)

require express

b)

require mongoose

c)

creating a schema

d)

creating a model

18.

Which method is used to access (get) a query parameter's value in the latest versions of Express ?

a)

req.params

b)

req.param()

c)

req.query

d)

req.query()

19.

Which HTTP method is advised to send sensitive information like password and OTP while sending it to the application server ?

a)

GET

b)

POST

c)

DELETE