1) What is Node.js? a) A programming language b) A browser-based JavaScript engine c) A runtime environment for executing JavaScript outside the browser d) A database management system 2) Which module in Node.js is used to create an HTTP server? a) fs b) http c) url d) events 3) What does npm stand for in Node.js? a) A. Node Package Manager b) Node Program Manager c) Network Package Manager d) Network Program Manager 4) How do you import a module in Node.js? a) import moduleName; b) require('moduleName'); c) load('moduleName'); d) include('moduleName'); 5) What is Express.js used for? a) Managing databases b) Building web servers and APIs c) Data visualization d) Writing frontend code 6) Which method is used to define a GET route in Express.js? a) app.post() b) app.get() c) app.route() d) app.use() 7) Which command is used to install Express.js? a) install express b) npm add express c) npm install express d) node install express 8) What type of database is MongoDB? a) Relational Database b) NoSQL Database c) Key-Value Store d) Graph Database 9) Which package is commonly used to work with MongoDB in Node.js? a) mysql b) mongoose c) mongodb-native d) sequelize 10) hich event is fired when a Node.js application has finished executing? a) end b) finish c) exit d) close

Leaderboard

Visual style

Options

Switch template

Continue editing: ?