Node Multiple Choice Questions

  • 1) Which foundation was created with the joint effort of node and JS?
  • 2) Where is captured values are populated regarding route parameters?
  • 3) Node.js is available for the following operating systems
  • 4) When was MongoDB created?
  • 5) Node.js is...
  • 6) What is the HTML tag under which one can write the JavaScript code?
  • 7) What is a node?
  • 8) Which of the following are not Node.js web application frameworks for?
  • 9) Which function is used to include modules in Node Js.
  • 10) Which of the following module is required to create a child process?
  • 11) Which of the following module is required for DNS specific operations?
  • 12) Which of the following module is required for network specific operations?
  • 13) Which of the following code print the endianness of operating system?
  • 14) What is Node.JS?
  • 15) Is console a global object?
  • 16) Why a Node.JS code is pretty fast although being written in JavaScript?
  • 17) In Nodejs how node based web servers differ from traditional web servers?
  • 18) Which module is used to serve static resources in Node.js?
  • 19) What should you do in your code to improve your application's performance?
  • 20) Which of the following statements holds good with respect to Node?
  • 21) Which statement is valid in using a Node module fs in a Node based application?
  • 22) APIs of nodejs are
  • 23) Below component represent “target/host” DOM element inside Directive’s constructor.
  • 24) Which of the following classis used to create and consume custom events in nodejs ?
  • 25) emit() method takes ____ number of arguments.
  • 26) on() method of nodejs take how many parameters ?
  • 27) What is module in nodejs ?
  • 28) Nodejs uses an architecture called
  • 29) Correct syntax to fetch the querystring from url is
  • 30) Select correct syntax to fetch particular variable from the query string.
  • 31) on() method's second argument specifies _______.
  • 32) URL module of nodejs is used to
  • 33) Nodejs server can be executed on which port ?
  • 34) Command to install angular is :
  • 35) Nodejs is more preferable for
  • 36) When writing a web page how to get data flowing both ways between properties and events ?
  • 37) Select the correct statement to listen to particular port in nodejs ?
  • 38) Syntax for importing modules is ?
  • 39) Full Form of npm is:
  • 40) Is nodejs a programming language?
  • 41) How can we check the current version of NPM ?
  • 42) on() method’s first argument specifies ____.
  • 43) ____ event is invoked once ‘data’ event is completed to process the data retrieved using ‘data’ event?
  • 44) Which event is used to read the post request parameters ?
  • 45) Nodejs makes use of
  • 46) Which method is used to set content type and headers for the web page in nodejs ?
  • 47) Which IDE can be used for Nodejs ?
  • 48) Which method is used to subscribe to the node’s custom event ?
  • 49) Which of the following method is used to compare the placement of two nodes in the DOM hierarchy (document)?
  • 50) Which of the following Node.js object property is used to return the node immediately before a node?
  • 51) Which of the following is a GUI-based debugging tool for Node.js?
  • 52) What is the use of underscore variable in REPL session in Node.js?
  • 53) How can we create instance of http module ?
  • 54) A package in Node.js contains all the files you need for a module.
  • 55) The Node.js modules can be exposed using
  • 56) Which of the following command will show version of Node?
  • 57) Which method to create an HTTP server?
  • 58) Which method appends specified content to a file.
  • 59) Node.js has a built-in module called?
  • 60) To include a module, use the ___________ function with the name of the module.
  • 61) Syntax to Initiate the Node.js File is?
  • 62) Which of the following is false?
  • 63) What is the use of .break in repl terminal?
  • 64) What is the command for quitting the repl terminal?
  • 65) What is the command for terminating the current common in repl?
  • 66) To break out of the repl loop what key has to be pressed?
  • 67) Http module falls under which type of module?
  • 68) Which is not a valid npm command?
  • 69) How to install a package as a dev dependency?
  • 70) What is the syntax of uninstalling a package?
  • 71) What is the syntax of installing a package globally?
  • 72) Why is npm init used?
  • 73) What is the syntax of updating the npm version?
  • 74) Which version of nodejs is recommended for installation?
  • 75) Which of the following module is required to create a web server?
  • 76) Which of the following areas, Node.js, is not advised to be used?
  • 77) Which of the following tool is used to automate the various tasks of the Node.js application?
  • 78) Which of the following is used to test if two nodes are equal?
  • 79) What is the main usage of Node.js terminal (REPL)?
  • 80) How many Node object methods are available?
  • 81) Which of the following shortcut command is used to kill a process in Node.js?
  • 82) Which of the following is not a valid language for Node.js?
  • 83) Which of the following statement is used to execute the code of the sample.js file?
  • 84) Which of the following engine Node in core?
  • 85) What is the default scope in the Node.js application?
  • 86) What is the best practice to do in your code to improve the performance of your application?
  • 87) Which of the following is not a benefit of using modules in Express?
  • 88) Which of the following code print the platform of operating system?
  • 89) Which of the following template engines can be used with Node.js?
  • 90) Which of the following method of fs module is used to truncate a file?
  • 91) What does the fs module stand for?
  • 92) Which of the following method of fs module is used to get file information?
  • 93) Which of the following module is not a built-in node module?
  • 94) The Node.js modules can be exposed using:
  • 95) Which of the following extension is used to save the Node.js files?
  • 96) Which of the following command is used to install the Node.js express module?
  • 97) Which of the following command is used to start a REPL session?
  • 98) What does the REPL stand for?
  • 99) Which of the following statement is correct?