ASAP Java&Mean 8-Quiz 4 Nudging Sample April14 - 001 - Upskill ASAP Java&Mean 8-Quiz 4 The number of attempts remaining is 1 1 / 15 1. Which of the followings are valid languages for Node.js? a. JavaScript b. Java c. C++ d. C# 2 / 15 2. What is the advantage of using node.js? a. It provides an easy way to build scalable network programs b. Generally fast c. Great concurrency d. All of these 3 / 15 3. The Node.js modules can be exposed using a. module.expose b. module c. module.exports d. All of the above 4 / 15 4. Which module is used to serve static resources in Node.js? a. node-static b. http c. node-resource d. static 5 / 15 5. Which of the following tool automates various tasks of Node.js application? a. Express.js b. GruntJS c. NPM d. None of the above 6 / 15 6. What are the key features of Node.js? a. Real time Data intensive b. Highly scalable servers for Web Applications c. Builds fast and scalable network Applications d. All of the above 7 / 15 7. What is REPL in Node.js? a. Eval b. Print c. Loop d. All of these 8 / 15 8. Which of the following is true about RESTful web services? a. Webservices based on REST Architecture are known as RESTful web services b. Webservices uses HTTP methods to implement the concept of REST architecture c. Both of the above d. None of the above 9 / 15 9. Why a Node.JS code is pretty fast although being written in JavaScript? a. Node.JS internally converts JavaScript code to Java based code and then execute the same b. Node.JS internally converts JavaScript code to C based code and then execute the same c. Being built on Google Chrome's V8 JavaScript Engine d. None of the above 10 / 15 10. Is console a global object? a. null b. 1 c. None 11 / 15 11. To install Node.js express module a. $ npm install express b. $ node install express c. $ install express d. None of above 12 / 15 12. What should you do in your code to improve your application's performance? a. Use gzip compression b. Don't use synchronous functions c. Do logging correctly d. Handle exceptions properly 13 / 15 13. Which statement executes the code of sample.js file a. nodejs sample.js b. node sample.js c. sample.js d. None of the above 14 / 15 14. How can we check the current version of NPM? a. npm --version b. npm --ver c. npm help d. None of the above 15 / 15 15. In Nodejs how node based web servers differ from traditional web servers? a. Node based server uses a single threaded model and can serve much larger number of requests compared to any traditional server like Apache HTTP Server. b. Node based server process request much faster than traditional server. c. There is no much difference between the two. d. All of the above Your score is