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.
Node.js is a JavaScript based framework/platform built on Google Chrome's JavaScript V8 Engine.
1. $ npm --version
2. $ node --version
3. $ npm getVersion
4. $ node getVersion
$ npm --version
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.
on property is used to bind a function with the event.
1. fs.close(fd, callback)
2. fs.closeFile(fd, callback)
3. fs.closePath(fd, callback)
4. None of the above.
fs.close(fd, callback)
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
The __dirname represents the name of the directory that the currently executing script resides in
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
All of the above
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
path.join('/test', 'test1', '2slashes/1slash', 'tab', '..')
1. process module
2. child_process module
3. child module
4. web module
child_process module
1. Client
2. Server
3. Both, server and client
4. None of the above
Server
1. Synchronous
2. Multi-threaded
3. Asynchronous
4. None of the above
Synchronous