wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Friday Fun

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which function is used to include the modules in Node.js

a)

include();

b)

require();

c)

attach();

d)

None of the above

2.

How Node.js modules are available externally

a)

module.exports

b)

module.spread

c)

module.expose

d)

none of the above

3.

npm stands for

a)

Node Project Manager

b)

Node Package Manager

c)

New Project Manager

d)

Nodes Packages Manager

4.

Command to show installed version of Node

a)

npm --version

b)

node --version

c)

npm get version

d)

node get version

5.

list all the modules that are installed globally

a)

npm ls -g

b)

npm ls

c)

node ls -g

d)

node ls

6.

What is the HTML tag under which one can write the JavaScript code?

a)

<javascript>

b)

<scripted>

c)

<script>

d)

<js>

7.

What is the correct syntax for referring to an external script called “external.js”?

a)

<script src=”external.js”>

b)

<script href=”external.js”>

c)

<script ref=”external.js”>

d)

<script name=”external.js”>

8.

MongoDB is a _________ database that provides high performance, high availability, and easy scalability.

a)

graph

b)

keyvalue

c)

document

d)

all of the mentioned

9.

Where is captured values are populated regarding route parameters?

a)

req.params object

b)

app.locals object

c)

req.data object

d)

none of the above

10.

Which of the following technology is not used in Ajax

a)

JavaScript

b)

Document Object Model

c)

XMLHttp Request

d)

Flash