MCQ quiz on Node.JS multiple choice questions and answers on Node.JS MCQ questions quiz on Node.JS objectives questions with answer test pdf. Professionals, Teachers, Students and Kids Trivia Quizzes to test your knowledge on the subject.

Node.JS Question with Answer

1. In Nodejs what is use of underscore variable in REPL session

  1. to store the result.
  2. to get the last command used.
  3. to get the last result.
  4. None of the above

2. Which of the following is true about Chaining streams ?

  1. Chanining is a mechanism to connect output of one stream to another stream and create a chain of multiple stream operations.
  2. Chanining is normally used with piping operations.
  3. Both of the above
  4. None of the above

3. APIs of Node.JS are

  1. Asynchronous
  2. Synchronous
  3. Both of the above.
  4. None of the above.

4. Which of the following is true about RESTful web services?

  1. Webservices based on REST Architecture are known as RESTful web services
  2. Webservices uses HTTP methods to implement the concept of REST architecture
  3. Both of the above
  4. None of the above

5. Which statement execute the code of sample.js file?

  1. nodejs sample.js
  2. node sample.js
  3. sample.js
  4. None of the above

6. The Node.js modules can be exposed using

  1. module.expose
  2. module
  3. module.exports
  4. None of the above

7. How can we check the cujrrent version of NPM?

  1. npm --version
  2. npm --ver
  3. npm help
  4. None of the above

8. To install Node.js express module

  1. $ npm install express
  2. $ node install express
  3. $ install express
  4. None of the above

9. The $ npm ls statement is used to list down all the locally installed module?

  1. True.
  2. False.

10. Which of the following class is used to create and consume custom events in Node.js?

  1. EventEmitter
  2. Events
  3. NodeEvent
  4. None of the above

Tags :

Multiple Choice Questions and Answers on Node.JS

Node.JS Multiple Choice Questions and Answers

Node.JS Trivia Quiz

Node.JS Question and Answer PDF Online

Spreading Knowledge Across the World

USA - United States of America  Canada  United Kingdom  Australia  New Zealand  South America  Brazil  Portugal  England  Scotland  Norway  Ireland  Denmark  France  Spain  Poland  Netherland  Germany  Sweden  South Africa  Ghana  Tanzania  Nigeria  Kenya  Ethiopia  Zambia  Singapore  Malaysia  India  Pakistan  Nepal  Taiwan  Philippines  Libya  Cambodia  Hong Kong  China  UAE - Saudi Arabia  Qatar  Oman  Kuwait  Bahrain  Dubai  Israil  and many more....