Node js MCQ Questions with Answer
Categories: MCQS
Node js MCQ Questions with Answer
1) Which of the accompanying assertion is right?
- js is Server Side Language.
- js is the client side Language.
- js is both Server side and patron side Language.
- Nothing unless there are other options.
Reply: A
2) What does the REPL depend on?
- REPL means "Read Eval Print Circle."
- REPL means "Exploration Eval Program Learn."
- REPL approach "study Procure factor analyze.
- REPL means "Read Eval Point Circle."
Reply: A
3) Which of the accompanying order is utilized to begin a REPL meeting?
- $ hub
- $ hub start
- $ hub repl
- $ hub console
Reply: A
4) In which language is Node.js composed?
- JavaScript
- C
- C++
- CoffeeScript
- The entirety of the abovementioned
Reply: E
5) Which of the accompanying order is utilized to introduce the Node.js express module?
- $ npm introduce express
- $ hub introduce express
- $ introduce express
- Nothing from what was just mentioned
Reply: A
6) What is Callback?
- The callback is a strategy wherein a technique gets back to the guest technique.
- The callback is a nonconcurrent identical for a capability.
- Both of the abovementioned.
- Nothing from what was just mentioned.
Reply: B
7) Which of the accompanying expansion is utilized to save the Node.js records?
- .js
- .hub
- .java
- .txt
Reply: A
8) The Node.js modules can uncovered use:
- uncover
- module
- sends out
- The entirety of the abovementioned
Reply: C
9) Which of the accompanying module is definitely not an inherent hub module?
- zlib
- https
- dgram
- fsread
Reply: D
10) Which of the accompanying technique for fs module is utilized to get record data?
- fs.open(course, flags[, mode], callback)
- fs.stat(route, callback)
- fs.readFile(course, flags[, mode], callback)
- Nothing from what was just mentioned.
Reply: B