Sail E0 Webinar

MCQs

Total Questions : 50 | Page 3 of 5 pages
Question 21. Who createad NPM (Node Package Manager)?
  1.    Isaac Z. Schlueter
  2.    Ryan Dahl
  3.    Brendan Eich
  4.    Google
 Discuss Question
Answer: Option A. -> Isaac Z. Schlueter
Question 22. The reason Node
  1.    not to have to wait for blocking I/O
  2.    its creator didn't know how to use async/await
  3.    not to perform any I/O tasks from Node.js
  4.    to make it possible to work with promises
 Discuss Question
Answer: Option A. -> not to have to wait for blocking I/O
Question 23. This is a software service that allows 2 applications to talk to each other
  1.    SOAP
  2.    REST
  3.    API
  4.    Internet
 Discuss Question
Answer: Option C. -> API
Question 24. Node
  1.    I'm not sure, but I love .Net
  2.    False
  3.    True
  4.    What do you mean by thread??
 Discuss Question
Answer: Option C. -> True
Question 25. In Node
  1.    True
  2.    False
  3.    True, and also because it is a straightforward method
  4.    False, Node.js doesn't support basic authentication
 Discuss Question
Answer: Option B. -> False
Question 26. How can you see all the dependencies for a Node
  1.    All the dependencies are listed down in the package.json file
  2.    By executing "npm i" and capturing the dependencies list
  3.    You can't have dependencies in a Node.js app
  4.    All the dependencies are listed down in the package-dependencies.json file
 Discuss Question
Answer: Option A. -> All the dependencies are listed down in the package.json file
Question 27. Module in Node
  1.    a single JavaScript file
  2.    single or multiple JavaScript files
  3.    the core built in functionality of Node.js
  4.    Node.js doesn't support modules functionality
 Discuss Question
Answer: Option B. -> single or multiple JavaScript files
Question 28. Which of the following core module is used to create a web server in Node
  1.    fs
  2.    url
  3.    connect
  4.    http
 Discuss Question
Answer: Option D. -> http
Question 29. What is the default scope in NodeJs application
  1.    Global
  2.    Private
  3.    Public
  4.    Local
 Discuss Question
Answer: Option D. -> Local
Question 30. What is the HTML tag under which one can write the JavaScript code?
 Discuss Question
Answer: Option D. -> Local

Latest Videos

Latest Test Papers