Backend (Node, Express, Mongodb) - Honors IV Sem Full Stack-I

Backend (Node, Express, Mongodb) - Honors IV Sem Full Stack-I

1 / 31

How do you define a route in Express.js?

2 / 31

How do you export a function in Node.js?

3 / 31

How do you check the version of Node.js installed?

4 / 31

How does Node.js handle multiple requests simultaneously?

5 / 31

How do you define middleware in Express.js?

6 / 31

Which MongoDB function counts documents?

7 / 31

What is the default port for MongoDB?

8 / 31

What format does MongoDB store data in?

9 / 31

Which of the following is a core module in Node.js?

10 / 31

What is a functional component in React?

11 / 31

How do you read environment variables in Node.js?

12 / 31

MongoDB is a...

13 / 31

What is Node.js built on?

14 / 31

What is Express.js used for?

15 / 31

What is express.Router() used for?

16 / 31

What is the purpose of package.json in a Node.js project?

17 / 31

How do you install Express.js?

18 / 31

What is the default HTTP method in Express.js routes?

19 / 31

Which command is used to create a new Node.js project with default settings?

20 / 31

What is the default port for an HTTP server in Node.js?

21 / 31

Which statement about Node.js event-driven architecture is true?

22 / 31

What method updates documents in MongoDB?

23 / 31

What does db.collection.findOne() return?

24 / 31

What is the difference between require() and import in Node.js?

25 / 31

Which of these is NOT a valid Node.js stream type?

26 / 31

How do you enable CORS in an Express.js app?

27 / 31

How do you remove a document in MongoDB?

28 / 31

What does npm start do in a Node.js project?

29 / 31

How do you handle exceptions in Node.js?

30 / 31

How do you install a package using npm?

31 / 31

What is the method to insert multiple documents in MongoDB?

Your score is

The average score is 93%

0%