Question - 1
In which language is Node.js written?
- Javascript
- C
- C++
- All the above
Solutions
Answer- D
Question - 2
Which of the following extension is used to save the Node.js files?
Answer- A
Question - 3
Which of following command starts a REPL session?
- $ node
- $ node start
- $ node repl
- $ node console
Solutions
Answer- A
Question - 4
- Read Eval Print Loop
- Research Eval Program Learn
- Read Earn Point Learn
- Read Eval Point Loop
Solutions
Answer- A
Question - 5
Which of the following module is not a built-in node module?
Answer- C
Question - 6
Which of the following module is required for path specific operations ?
- Os module
- Path module
- Fs module
- All the above
Solutions
Answer- B
Question - 7
The Node.js modules can be exposed using:
- expose
- exports
- Imports
- None of these
Solutions
Answer- B
Question - 8
The syntax kill the process in node js
- process.delete()
- process.kill()
- process.exit()
- None of the above
Solutions
Answer- B
Question - 9
Which of the following shortcut command is used to kill a process in Node.js?
- Ctrl + B
- Ctrl + C
- Ctrl + X
- Ctrl + D
Solutions
Answer- B
Question - 10
Command to start Node REPL
- $ node start
- $ node
- $ node repl
- $ node console
Solutions
Answer- B
Question - 11
Which of the following template engines can be used with Node.js?
- Jade
- Vash
- Handlebars
- None of the above
Solutions
Answer- C
Question - 12
Which of the following is a GUI-based debugging tool for Node.js?
- Core node debugger
- Node Inspector
- Console
- REPL
Solutions
Answer- B
Question - 13
Which function is used to include modules in Node Js?
- include();
- attach();
- require();
- include_once();
Solutions
Answer- C
Question - 14
Which of the following method can append specified content to a file?
- fs.open()
- fs.appendFile()
- fs.writeFile()
- None of the above.
Solutions
Answer- B
Question - 15
Which of the following platforms does Node.js support?
- Windows
- Unix/Linux
- Macintosh
- All the above
Solutions
Answer- D
Question - 16
How many Node object methods are available?
Answer- B
Question - 17
Which of the following are not Node.js web application frameworks for?
- Geddy
- Aurelia
- Express.js
- Locomotive
Solutions
Answer- B
Question - 18
Which of the following is not a valid stream in node?
- process. stdin
- process. stderr
- process. stdout
- process. stdinfo
Solutions
Answer- D
Question - 19
Which of the following Node object property returns the node immediately before a node?
- localName
- Index
- previousSibling
- textContent
Solutions
Answer- C
Question - 20
Which of the following class is used to create and consume custom events in Node.js?
- EventEmitter
- Events
- NodeEvent
- None of the above
Solutions
Answer- A
Practice more set questions