NodeJs Quiz

0

NodeJs Quiz

An MCQ Quiz for NodeJs Interviewers

1 / 30

How to select data from a collection in MongoDB?

2 / 30

A document in MongoDB is the same as a _______ in MySQL.

3 / 30

The domain module is used for

4 / 30

The ______ module is to create a server and client.

5 / 30

To create a database in MongoDB, we should create a ________.

6 / 30

_________ is used to list all the locally installed NodeJS modules?

7 / 30

What is meant by OFFSET 2 in Mysql node.js?

8 / 30

How does Node.js send an email?

9 / 30

______ is used to fire an event?

10 / 30

What is a package in Node.js?

11 / 30

_________ module is used for zip and unzip functionalities in node?

12 / 30

How to delete with the file system module?

13 / 30

Which module is used to handle binary data?

14 / 30

________ is the visual development environment for node.js?

15 / 30

What are the methods through which files can be created?

16 / 30

When does a stream fire a data event?

17 / 30

Which of these are Node.js stream types?

18 / 30

How to include the file system module in Node.js?

19 / 30

Which is the debugging tool in Node.js?

20 / 30

You can see the results of the node.js application on _________ port.

21 / 30

How to kill a process in node.js?

22 / 30

To create an HTTP server, use the _________ method.

23 / 30

How many are node object methods available?

24 / 30

Which of the following is the correct module to create the date & time?

25 / 30

The formidable module is used for

26 / 30

To include the module in node.js, we should use

27 / 30

Which of these specifies the list of current commands?

28 / 30

Which are the console methods in Node.js?

29 / 30

Node.js uses ________ programming.

30 / 30

What is the purpose of res.write in the code below. var http = require('http');

http.createServer(function (req, res) {
res.write('Hello World!');
res.end();
}).listen(8080);

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.