Node.js Quiz MCQ Questions with Answer part 2
Categories: Node JS MCQ
Node.js Quiz MCQ Questions with Answer part 2
Q1. What is the default scope in Node.js application.
Local
Public
Private
Global
Answer: Local
Q2. Which of the following are not Node.js web application frameworks for?
- Express.js
- Geddy
- Aurelia
- Locomotive
Answer: Aurelia
Q3. Which of the following template engines can be used with Node.js?
- Jade
- Vash
- Handlebars
- All of the above
Answer: Handlebars
Q4. Which method returns the current working directory of the process.
- process.cwd();
- cwd();
- pwd();
Answer: process.cwd();
Q5. In which of the following areas, Node.js is perfect to use?
- I/O bound Applications
- Data Streaming Applications
- Data Intensive Realtime Applications DIRT
- All of the above.
Answer: All of the above.
Q6. REPL stands for.
- Read Eval Print Loop
- Research Eval Program Learn
- Read Earn Point Learn
- Read Eval Point Loop
Answer: Read Eval Print Loop
Q7. Command to start Node REPL
- $ node start
- $ node
- $ node repl
- $ node console
Answer: $ node
Q8. For What npm stands?
- Node Project Manager
- Node Package Manager
- New Project Manager
- New Package Manager
Answer: Node Project Manager
Q9. Command to show installed version of Node?
- $ npm --version
- $ node --version
- $ npm getVersion
- $ node getVersion
Answer: $ node --version
Q10. Command to list all modules that are install globally?
- $ npm ls -g
- $ npm ls
- $ node ls -g
- $ node ls
Answer: $ npm ls -g