Nodejs

Nodejs

Professional Development

6 Qs

quiz-placeholder

Similar activities

Materi Internalisasi

Materi Internalisasi

Professional Development

10 Qs

Intro AM

Intro AM

1st Grade - Professional Development

10 Qs

Optimalisasi Akun Belajar.id

Optimalisasi Akun Belajar.id

Professional Development

10 Qs

TDX21 Quiz

TDX21 Quiz

Professional Development

10 Qs

Uji Pemahaman Juli 2022

Uji Pemahaman Juli 2022

Professional Development

10 Qs

Computer1

Computer1

1st Grade - Professional Development

10 Qs

Fraud/Lost/Stolen/Not Received

Fraud/Lost/Stolen/Not Received

Professional Development

10 Qs

PKKMB & E-DAY 2021 DAY 1 (2)

PKKMB & E-DAY 2021 DAY 1 (2)

University - Professional Development

10 Qs

Nodejs

Nodejs

Assessment

Quiz

Other

Professional Development

Practice Problem

Medium

Created by

yasmeen othman

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to initialize a new Node.js project?

npm install

npm start

npm init

node init

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module is used to create a web server in Node.js?

querystring

http

url

fs

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you export a function from a module in Node.js?

exports.myFunction = function() {}

module.exports = myFunction;

export default myFunction;

Both a & b

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a built-in Node.js module?

fs.readFileSync('file.txt', 'utf8');

fs.readFile('file.txt', 'utf8', (err, data) => { ... });

fs.getFile('file.txt', 'utf8');

fs.open('file.txt', 'utf8');

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a built-in Node.js module?

path

express

os

fs

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'npm install' command in Node.js?

To start the Node.js application

To install dependencies listed in package.json

To create a new Node.js project

To update Node.js to the latest version

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?