NEW
Font size
WorksheetsGeneral ExpressJS Quiz
Total questions: 10
Worksheet time: 8mins
What is Node.js?
A programming language
A JavaScript runtime environment
A web browser
A database system
What is the primary use of Express.js?
To manage databases
To build web applications and APIs
To create desktop applications
To design user interfaces
Which command installs Node.js packages?
node install
npm install
express install
js install
What does npm stand for?
Node Program Manager
Node Package Manager
New Project Module
Node Process Manager
How do you start a Node.js application?
node start
node filename.js
npm run
express start
What is a module in Node.js?
A type of database
A reusable piece of JavaScript code
A web server
A user interface component
How do you import a module in Node.js?
import module
require('module')
include module
load('module')
What is the role of the package.json file?
Stores HTML templates
Manages project dependencies and metadata
Runs JavaScript code
Configures the server
What does the http module do in Node.js?
Creates a database connection
Handles file operations
Creates an HTTP server
Manages user authentication
What is middleware in Express.js?
A database connector
A function that processes requests and responses
A styling framework
A JavaScript library
