
- Node.js Tutorial
- Node.js - Home
- Node.js - Introduction
- Node.js - Environment Setup
- Node.js - First Application
- Node.js - REPL Terminal
- Node.js - Package Manager (NPM)
- Node.js - Callbacks Concept
- Node.js - Event Loop
- Node.js - Event Emitter
- Node.js - Buffers
- Node.js - Streams
- Node.js - File System
- Node.js - Global Objects
- Node.js - Utility Modules
- Node.js - Web Module
- Node.js - Express Framework
- Node.js - RESTFul API
- Node.js - Scaling Application
- Node.js - Packaging
- Node.js - Built-in Modules
- Node.js Useful Resources
- Node.js - Quick Guide
- Node.js - Useful Resources
- Node.js - Dicussion
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Node.js Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to Node.js Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Q 1 - In which of the following areas, Node.js is perfect to use?
B - Data Streaming Applications
Answer : D
Explanation
Node.js is proving itself a perfect technology partner for all of the above mentioned areas.
Answer : B
Explanation
By default, npm installs any dependency in the local mode.
Answer : A
Explanation
True! Node js is a single threaded application but it support concurrency via concept of event and callbacks.
Q 4 - Which method of fs module is used to get information about file?
A - fs.open(path, flags[, mode], callback)
Answer : B
Explanation
fs.stat(path, callback) is the method which is used to get information about a file.
Q 5 - Which of the following is true about clearTimeout(t) global function?
Answer : A
Explanation
The clearTimeout( t ) global function is used to stop a timer that was previously created with setTimeout(). Here t is the timer returned by setTimeout() function.
Answer : A
Explanation
The process object is a global object and can be accessed from anywhere.
Q 7 - Which of the following module is required for path specific operations?
Answer : C
Explanation
Node.js path module is used for handling and transforming file paths.
Q 8 - Which of the following method resolves an ip address to an array of hostnames?
B - dns.resolve(hostname[, rrtype], callback)
Answer : A
Explanation
dns.reverse(ip, callback) resolves an ip address to an array of hostnames.
Q 9 - What is Express?
Answer : B
Explanation
Express is a minimal and flexible Node.js web application framework that provides a robust set of features to develop web and mobile applications.
Answer : B
Explanation
A stream fires data event when there is data available to read.