Express JS MCQ Questions

11. When did Express js Initial release?

A. 2009
B. 2010
C. 2011
D. 2012

View Answer


12. Express was developed by ?

A. Microsoft
B. Facebook
C. TJ Holowaychuk
D. Rasmus Lerdorf

View Answer


13. Which function tells what to do when a get request at the given route is called?

A. app.get(route, callback)
B. get(route, callback)
C. js.get(route, callback)
D. fun.get(route, callback)

View Answer


14. Which method requests that the server accept the data enclosed in the request as a new object/entity of the resource identified by the URI?

A. GET
B. PUT
C. SET
D. POST

View Answer


15. Which of the following is a templating engine for Express?

A. SUG
B. PUG
C. DUG
D. NUG

View Answer


16. ____________ can also be used to include plaintext, css and JavaScript.

A. filters
B. interpolation
C. inheritance
D. includes

View Answer


17. How to store local variables that can be access within the application?

A. Using app.locals
B. Using app.storage
C. Using database
D. Config file

View Answer


18. Where is captured values are populated regarding route parameters?

A. app.locals object
B. req.data object
C. req.params object
D. None of the above

View Answer


19. Cookies are complex, large files/data that are sent to server with a client request and stored on the server side. 

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


20. HTTP is stateless

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer





Discussion


* You must be logged in to add comment.