Search Header Logo

Node-lvl1

Authored by Tomas Martinez

Specialty

Professional Development

node covered

Used 7+ times

Node-lvl1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Node.js?

a) A front-end JavaScript framework

b) A JavaScript runtime environment built on Chrome's V8 JavaScript engine

c) A database

  1. d) A type of server

Tags

node

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the default package manager for Node.js?

Bower

Yarn

npm

Gradle

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you initiate a new Node.js project in order to use a package.json file?

a) node init

b) npm start

c) npm run

  1. d) npm init

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the package.json file?

functional metadata, and dependency tracker

a file to export and ship projects

a file to deploy your application

a file to build a container using packages

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method reads the entire contents of a file in Node.js?

fs.readFile()

fs.readSync()

fs.write()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module in Node.js allows you to create a new server?

http

server

net

url

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which global object is used to handle exceptions globally?

process

global

exceptions

console

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?