Node Js(Computer Science ) Questions and Answers

Question 1. When was the first non-Beta version of node was released?
  1.    2014
  2.    2013
  3.    2015
  4.    2016
Explanation:-
Answer: Option C. -> 2015

Question 2. Package
  1.    True
  2.    False
Explanation:-
Answer: Option A. -> True

Question 3. Which statement execute the code of sample
  1.    nodejs sample.js
  2.    node sample.js
  3.    sample.js
  4.    None of the above
Explanation:-
Answer: Option B. -> node sample.js

Question 4. To install Node
  1.    $ npm install express
  2.    $ node install express
  3.    $ install express
  4.    None of above
Explanation:-
Answer: Option A. -> $ npm install express

Question 5. From the request object we can obtain:
  1.    params, data, method
  2.    params, query, variables
  3.    params, query, body
  4.    params, actions, body
Explanation:-
Answer: Option C. -> params, query, body

Question 6. What is the advantage of using node
  1.    Great concurrency
  2.    Generally fast
  3.    It provides an easy way to build scalable network programs
  4.    All of these
Explanation:-
Answer: Option D. -> All of these

Question 7. What is the correct syntax for referring to an external script called “external
Explanation:-
Answer: Option D. -> All of these

Question 8. What is REPL in Node
  1.    Loop
  2.    Print
  3.    Eval
  4.    All of these
Explanation:-
Answer: Option D. -> All of these

Question 9. The parameters in order that a middleware function receives are:
  1.    next, res, req
  2.    req, res, next
  3.    es, req, next
  4.    none of the above
Explanation:-
Answer: Option B. -> req, res, next

Question 10. What was the version released By Joint?
  1.    v 0.1.0
  2.    v 0.6.0
  3.    v 0.1.2
  4.    v 0.6.1
Explanation:-
Answer: Option B. -> v 0.6.0