Sail E0 Webinar

MCQs

Total Questions : 50 | Page 4 of 5 pages
Question 31. Npm stands for
  1.    Node Project Manager
  2.    Node Package Manager
  3.    New Project Manager
  4.    Nodes Packages Manager
 Discuss Question
Answer: Option B. -> Node Package Manager
Question 32. How Node
  1.    module.exports
  2.    module.spread
  3.    module.expose
  4.    none of the above
 Discuss Question
Answer: Option A. -> module.exports
Question 33. Which function is used to include modules in Node Js
  1.    include();
  2.    require();
  3.    attach();
  4.    none of the above
 Discuss Question
Answer: Option B. -> require();
Question 34. How can we create instance of http module ?
  1.    var http = new require("http");
  2.    var http = new http();
  3.    var http = require("http");
  4.    None of the above
 Discuss Question
Answer: Option C. -> var http = require("http");
Question 35. Node
  1.    False
  2.    True
 Discuss Question
Answer: Option B. -> True
Question 36. Command to show installed version of Node
  1.    npm --version
  2.    node --version
  3.    npm get version
  4.    node get version
 Discuss Question
Answer: Option B. -> node --version
Question 37. Node
  1.    modular platform, meaning that much of the functionality is being built in to the platform
  2.    modular platform, meaning that much of the functionality is provided by external modules
  3.    modular platform, meaning that much of the functionality does not work without angular 2
  4.    modular what? I'm sorry, I wasn't paying attention
 Discuss Question
Answer: Option B. -> modular platform, meaning that much of the functionality is provided by external modules
Question 38. NodeJs is ___________ Language
  1.    Server Side
  2.    Client Side
  3.    Both
  4.    None of the above
 Discuss Question
Answer: Option A. -> Server Side
Question 39. The $ npm ls statement is used to list down all the locally installed module?
  1.    True
  2.    False
 Discuss Question
Answer: Option A. -> True
Question 40. How can we check the current version of NPM?
  1.    npm --ver
  2.    npm --version
  3.    npm help
  4.    None of the above
 Discuss Question
Answer: Option B. -> npm --version

Latest Videos

Latest Test Papers