ASAP Java&Mean 8-Quiz 4 Nudging Sample April19 CollegeConnect 002 ASAP Java&Mean 8-Quiz 4 The number of attempts remaining is 1 1 / 15 1. To install Node.js express module a. $ npm install express b. $ node install express c. $ install express d. None of above 2 / 15 2. 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 3 / 15 3. 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 4 / 15 4. 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 5 / 15 5. The Node.js modules can be exposed using a. module.expose b. module c. module.exports d. All of the above 6 / 15 6. Which of the followings are valid languages for Node.js? a. JavaScript b. Java c. C++ d. C# 7 / 15 7. How can we check the current version of NPM? a. npm --version b. npm --ver c. npm help d. None of the above 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. Is console a global object? a. null b. 1 c. None 10 / 15 10. 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 11 / 15 11. 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 12 / 15 12. What is REPL in Node.js? a. Eval b. Print c. Loop d. All of these 13 / 15 13. Which of the following tool automates various tasks of Node.js application? a. Express.js b. GruntJS c. NPM d. None of the above 14 / 15 14. 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 15 / 15 15. Which module is used to serve static resources in Node.js? a. node-static b. http c. node-resource d. static Your score is