Total Questions : 20
Expected Time : 20 Minutes

1. What is the event loop in Node.js, and how does it work?

2. How can you include external modules in Node.js?

3. Which command is used to start a Node.js application?

4. Which Node.js method is used to read environment variables?

5. In Node.js, how can you handle query parameters in a URL?

6. Discuss the role of the 'Cluster' module in Node.js and its benefits.

7. Examine the purpose of the 'module.exports' object in Node.js.

8. Which HTTP method is used for updating a resource in a Node.js RESTful API?

9. What is the significance of the 'Buffer' class in Node.js?

10. What is the purpose of the 'express' module in Node.js?

11. What is the purpose of the 'stream' module in Node.js?

12. What is the purpose of the 'os' module in Node.js?

13. What is Node.js commonly used for?

14. How does error handling differ in synchronous and asynchronous code in Node.js?

15. Which module is commonly used for logging in Node.js applications?

16. Which command is used to install dependencies specified in 'package.json' in Node.js?

17. What is the main purpose of the 'require' function in Node.js?

18. Explain the concept of 'streaming' in Node.js and its applications.

19. Which event is emitted when an unhandled exception occurs in Node.js?

20. Examine the role of the 'WebSocket' protocol in Node.js and its applications.