wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

General ExpressJS Quiz

Total questions: 10

Worksheet time: 8mins

Name
Class
Date
1.

What is Node.js?

a)

A programming language

b)

A JavaScript runtime environment

c)

A web browser

d)

A database system

2.

What is the primary use of Express.js?

a)

To manage databases

b)

To build web applications and APIs

c)

To create desktop applications

d)

To design user interfaces

3.

Which command installs Node.js packages?

a)

node install

b)

npm install

c)

express install

d)

js install

4.

What does npm stand for?

a)

Node Program Manager

b)

Node Package Manager

c)

New Project Module

d)

Node Process Manager

5.

How do you start a Node.js application?

a)

node start

b)

node filename.js

c)

npm run

d)

express start

6.

What is a module in Node.js?

a)

A type of database

b)

A reusable piece of JavaScript code

c)

A web server

d)

A user interface component

7.

How do you import a module in Node.js?

a)

import module

b)

require('module')

c)

include module

d)

load('module')

8.

What is the role of the package.json file?

a)

Stores HTML templates

b)

Manages project dependencies and metadata

c)

Runs JavaScript code

d)

Configures the server

9.

What does the http module do in Node.js?

a)

Creates a database connection

b)

Handles file operations

c)

Creates an HTTP server

d)

Manages user authentication

10.

What is middleware in Express.js?

a)

A database connector

b)

A function that processes requests and responses

c)

A styling framework

d)

A JavaScript library