Node JS Quiz : Practice Multiple Choice Questions on Node JS

Node.js is one of the most popular server technology today. It helps developers to create Robust and scalable web applications as well as mobile web services

Node.js is ___________ Language.

  • Server Side
  • Client Side
  • Both
View Answer

Node.js is written in _____________ .

  • Javascript
  • C
  • C++
  • All of the Above
View Answer

Is node js multithreaded?

  • Yes
  • No

Which extension is used to save NodeJs files?

  • .js
  • .node
  • .java
  • .txt

In Node process is ______

  • Global Object
  • Local Object
View Answer

Node Js is _________

  • Asynchronous
  • Synchronous
View Answer

Which function is used to include modules in Node Js.

  • include();
  • require();
  • attach();
View Answer

Which of following is not builtin node module.

  • zlib
  • https
  • dgram
  • fsread

How Node.js modules are availble externally

  • module.exports
  • module.spread
  • module.expose
  • None of Above
View Answer

What does the fs module stand for?

  • File Service
  • File System
  • File Store
View Answer

What is the default scope in Node.js application.

  • Local
  • Public
  • Private
  • Global

Which of the following are not Node.js web application frameworks for?

  • Express.js
  • Geddy
  • Aurelia
  • Locomotive
View Answer

Which of the following template engines can be used with Node.js?

  • Jade
  • Vash
  • Handlebars
  • All of the above
View Answer

Which method returns the current working directory of the process.

  • process.cwd();
  • cwd();
  • pwd();
View Answer

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.
View Answer

REPL stands for.

  • Read Eval Print Loop
  • Research Eval Program Learn
  • Read Earn Point Learn
  • Read Eval Point Loop
View Answer

Command to start Node REPL

  • $ node start
  • $ node
  • $ node repl
  • $ node console

For What npm stands?

  • Node Project Manager
  • Node Package Manager
  • New Project Manager
  • New Package Manager
View Answer

Command to show installed version of Node?

  • $ npm --version
  • $ node --version
  • $ npm getVersion
  • $ node getVersion
View Answer

Command to list all modules that are install globally?

  • $ npm ls -g
  • $ npm ls
  • $ node ls -g
  • $ node ls
View Answer

What is Callback?

  • Callback is an asynchronous equivalent for a function.
  • Callback is a technique in which a method call back the caller method.
  • Both of the above.
  • None of the above.
View Answer

A stream fires finish event when all data has been flushed to underlying system.?

  • True
  • False

Node.js uses an event-driven, non-blocking I/O model ?

  • True
  • False

Which of the following module is required for path specific operations ?

  • Os module
  • Path module
  • Fs module
  • All of the above.
View Answer

Which of the following are Node.js streams types?

  • Writable
  • Duplex
  • Readable
  • All of the above
View Answer

How do you install Nodemon using Node.js?

  • npm install -g nodemon
  • node install -g nodemon
View Answer

How do you kill a process in Node.js?

  • Ctrl + C
  • Ctrl + B
  • Ctrl + K
View Answer

Node uses _________ engine in core.*

  • Chorme V8
  • Microsoft Chakra
  • SpiderMonkey
  • Node En
View Answer

Something that happened in our application that we can respond too.

  • events
  • actions
  • procedures
  • callback

Write For Us.

Contribute the Community.