EXPRESSJS QUIZ DESCRIPTION Total Questions −30 00 Max Time − 15:00 Cookies are complex, large files/data that are sent to server with a client request and stored on the server side. TRUE FALSE Can be true or false Can not say In Node.js APIs of Node.JS are which of the following? Asynchronous Synchronous Both of the above None of the above How can we create chainable route handlers for a route path in ExpressJs ? Using app.route() Using app.routes() Using app.router() Using app.routing() To use Mongo with Express.js, we need a client API for node. True False Can be true or false Cannot say What are the key features of Node.js? Real time Data intensive Highly scalable servers for Web Applications Builds fast and scalable network Applications All of the above Which of the following is true about RESTful web services? Webservices based on REST Architecture are known as RESTful web services Webservices uses HTTP methods to implement the concept of REST architecture Both of the above None of the above Pug earlier known as ? Terse DRY Express Jade Cookies are the complex, large files/data sent to the server with a client request and stored on the server-side. This statement is true. This statement is false. Can be true or false Cannot say. What function are arguments available to Express JS? Req Res Next All the above mentioned Which of the following method requests that the server accept the data enclosed in the request to modify an existing object identified by the URI? GET DELETE PUT POST How to store local variables that can be access within the application? Using the app. locals Using app. storage Using database Config file This method of using values is called ? filters interpolation inheritance includes Which statement executes the code of sample.js file? NodeJS sample.js node sample.js sample.js None of the above What will be the output of the following code in the console File: my_module.js exports.name = 'Zeus'; Code: var my_module = require('./mymodule'); console.log((function(settings){ return settings.split('').reverse().join('') })(my_module.name)); Error Zeus undefined sueZ Which of the following is true about RESTful web services? Webservices based on REST Architecture are known as RESTful web services Webservices uses HTTP methods to implement the concept of REST architecture Both of the above None of the above What are the core features of the Express framework? Allows to set up middlewares to respond to HTTP Requests Defines a routing table which can work as per HTTP Method and URL. Dynamically render HTML Pages All of the above To install Node.js express module $ npm install express $ node install express $ install express None of above In Nodejs what is use of underscore variable in REPL session to store the result. to get the last command used. to get the last result. None of the above Which of the following was the earlier name of the Pug? Terse DRY Express Jade When did Express js Initial release? 2009 2010 2011 2012 Which of the followings are valid languages for Node.js? JavaScript Java C++ C# Where is captured values are populated regarding route parameters? app. locals object req. data object req. params object None of the above The Node.js modules can be exposed using module. Expose module module. exports None of the above The method of using values is called? filters interpolation inheritance includes In Express.js, the method app.all(path, callback [, callback ...]) is: True False Cannot say In Nodejs what is use of underscore variable in REPL session? to store the result to get the last command used None of the above to get the last result What is the advantage of using node.js? It provides an easy way to build scalable network programs Generally fast Great concurrency All of these In which of the following year was Express.js initially released? November 2010 November 2011 December 2010 December 2011 In ExpressJS, the method app.all(path, callback [, callback ...]) True False Node.js supports which of the following platform? Windows Macintosh Unix/Linux All of the above Previous Next Total Question16 Wrong Answer13 Right Answer13