Aptitude Reasoning English GK Computer Knowledge Programming Skill Banking Software Testing



Question - 1

In which language is Node.js written?

  • Javascript
  • C
  • C++
  • All the above
Solutions
Question - 2

Which of the following extension is used to save the Node.js files?

  • .js
  • .njs
  • .nj
  • .node
Solutions
Question - 3

Which of following command starts a REPL session?

  • $ node
  • $ node start
  • $ node repl
  • $ node console
Solutions
Question - 4

REPL stands for ___

  • Read Eval Print Loop
  • Research Eval Program Learn
  • Read Earn Point Learn
  • Read Eval Point Loop
Solutions
Question - 5

Which of the following module is not a built-in node module?

  • https
  • dgram
  • fnread
  • zlib
Solutions
Question - 6

Which of the following module is required for path specific operations ?

  • Os module
  • Path module
  • Fs module
  • All the above
Solutions
Question - 7

The Node.js modules can be exposed using:

  • expose
  • exports
  • Imports
  • None of these
Solutions
Question - 8

The syntax kill the process in node js

  • process.delete()
  • process.kill()
  • process.exit()
  • None of the above
Solutions
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
Question - 10

Command to start Node REPL

  • $ node start
  • $ node
  • $ node repl
  • $ node console
Solutions
Question - 11

Which of the following template engines can be used with Node.js?

  • Jade
  • Vash
  • Handlebars
  • None of the above
Solutions
Question - 12

Which of the following is a GUI-based debugging tool for Node.js?

  • Core node debugger
  • Node Inspector
  • Console
  • REPL
Solutions
Question - 13

Which function is used to include modules in Node Js?

  • include();
  • attach();
  • require();
  • include_once();
Solutions
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
Question - 15

Which of the following platforms does Node.js support?

  • Windows
  • Unix/Linux
  • Macintosh
  • All the above
Solutions
Question - 16

How many Node object methods are available?

  • 8
  • 18
  • 12
  • 28
Solutions
Question - 17

Which of the following are not Node.js web application frameworks for?

  • Geddy
  • Aurelia
  • Express.js
  • Locomotive
Solutions
Question - 18

Which of the following is not a valid stream in node?

  • process. stdin
  • process. stderr
  • process. stdout
  • process. stdinfo
Solutions
Question - 19

Which of the following Node object property returns the node immediately before a node?

  • localName
  • Index
  • previousSibling
  • textContent
Solutions
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
Tags:
Node Js MCQ (Multiple Choice Questions), Advanced Node Js MCQ, Node Js MCQ Online test,Node Js MCQ Questions and answers PDF, Node Js Interview Questions With Answers, Node Js Technical Questions with full explanation