Search Header Logo

Nodejs: Packages and Package.json

Authored by Daniel Adesoji

Professional Development

Professional Development

Used 15+ times

Nodejs: Packages and Package.json
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you run a JavaScript file in Nodejs

run main.js

js main.js

node main.js

go main.js

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to initialise a NodeJs project

node init

js init

npm init

package init

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What file type is package.json

json

js

ts

pk

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the full meaning of JSON

JavaScript Object Notion

JavaScript Object Notation

JavaScript Open Notation

JavaScript Of Notation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is package.json NOT used for?

dependency management

project information

define scripts

none of the options

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following methods can be used to create a package.json file

manually create a package.json

using npm/yarn commands

all of the above

none of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a package manager?

tool that simplifies the process of installing, managing and sharing packages

tool that simplifies the process of packaging software

tool that simplifies the process of selling software/packages

tool that simplifies the process of running packages/software

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?