Nodejs

Nodejs

Professional Development

6 Qs

quiz-placeholder

Similar activities

FSC KNOWLEDGE CHECK

FSC KNOWLEDGE CHECK

Professional Development

10 Qs

TDX21 Quiz

TDX21 Quiz

Professional Development

10 Qs

Angular 101

Angular 101

Professional Development

3 Qs

MotherSon_FS_Quiz

MotherSon_FS_Quiz

Professional Development

10 Qs

Ransomware Protection Webinar

Ransomware Protection Webinar

Professional Development

8 Qs

New Public Management

New Public Management

Professional Development

9 Qs

MR Quizizz: Sprint 13: Decode the Acronym!

MR Quizizz: Sprint 13: Decode the Acronym!

Professional Development

10 Qs

Hardisk and Filesystem

Hardisk and Filesystem

Professional Development

11 Qs

Nodejs

Nodejs

Assessment

Quiz

Other

Professional Development

Medium

Created by

yasmeen othman

Used 1+ times

FREE Resource

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