Search Header Logo

Friday Fun

Authored by Mongo Javascript

Computers

Professional Development

Used 29+ times

Friday Fun
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

include();

require();

attach();

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How Node.js modules are available externally

module.exports

module.spread

module.expose

none of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

npm stands for

Node Project Manager

Node Package Manager

New Project Manager

Nodes Packages Manager

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Command to show installed version of Node

npm --version

node --version

npm get version

node get version

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

list all the modules that are installed globally

npm ls -g

npm ls

node ls -g

node ls

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

<javascript>

<scripted>

<script>

<js>

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

<script src=”external.js”>

<script href=”external.js”>

<script ref=”external.js”>

<script name=”external.js”>

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?