1.  Node.js is a web server.

2.  Node.js is a JavaScript based framework/platform built on Google Chrome's JavaScript V8 Engine.

3.  Node.js is a java based framework.

4.  None of the above.

4
Correct Answer :

Node.js is a JavaScript based framework/platform built on Google Chrome's JavaScript V8 Engine.


Explanation :
No Explanation available for this question

1.  $ npm --version

2.  $ node --version

3.  $ npm getVersion

4.  $ node getVersion

4
Correct Answer :

$ npm --version


Explanation :
No Explanation available for this question

1.  on property is used to fire event.

2.  on property is used to bind a function with the event.

3.  on property is used to locate an event handler.

4.  None of the above.

4
Correct Answer :

on property is used to bind a function with the event.


Explanation :
No Explanation available for this question

1.  fs.close(fd, callback)

2.  fs.closeFile(fd, callback)

3.  fs.closePath(fd, callback)

4.  None of the above.

4
Correct Answer :

fs.close(fd, callback)


Explanation :
No Explanation available for this question

1.  The __dirname represents the name of the directory that the currently executing script resides in

2.  The __dirname represents the resolved absolute path of code file

3.  Both of the above

4.  None of the above

4
Correct Answer :

The __dirname represents the name of the directory that the currently executing script resides in


Explanation :
No Explanation available for this question

1.  The process object is an instance of EventEmitter.

2.  process emits exit event when process is about to exit.

3.  process emits uncaughtException when when an exception bubbles all the way back to the event loop.

4.  All of the above

4
Correct Answer :

All of the above


Explanation :
No Explanation available for this question

1.  path.join('/test', 'test1', '2slashes/1slash', 'tab', '..')

2.  path.combine('/test', 'test1', '2slashes/1slash', 'tab', '..')

3.  buffer.join('/test', 'test1', '2slashes/1slash', 'tab', '..')

4.  None of the above

4
Correct Answer :

path.join('/test', 'test1', '2slashes/1slash', 'tab', '..')


Explanation :
No Explanation available for this question

1.  process module

2.  child_process module

3.  child module

4.  web module

4
Correct Answer :

child_process module


Explanation :
No Explanation available for this question

1.  Client

2.  Server

3.  Both, server and client

4.  None of the above

4
Correct Answer :

Server


Explanation :
No Explanation available for this question

1.  Synchronous

2.  Multi-threaded

3.  Asynchronous

4.  None of the above

4
Correct Answer :

Synchronous


Explanation :
No Explanation available for this question

Interview Questions

MongoDB
Java Script
Node JS
PHP
JQuery
Python