NodeJS quiz questions

NodeJS interview questions

  • 1.

    Node.js application can access which of the following databases?

    1. NoSQL databases

    2. Relational databases

    3. All of the above

    4. None of the above

    Answer
  • 2.

    Which of the followings are valid languages for Node.js?

    1. JavaScript

    2. Java

    3. C++

    4. C#

    Answer
  • 3.

    Which of the following tool automates various tasks of Node.js application?

    1. Express.js

    2. GruntJS

    3. NPM

    4. None of the above

    Answer
  • 4.

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

    1. Jade

    2. Vash

    3. Handlebars

    4. All of the above

    Answer
  • 5.

    Which module is used to serve static resources in Node.js?

    1. node-static

    2. http

    3. node-resource

    4. static

    Answer
  • 6.

    Which of the following types of application can be built using Node.js?

    1. Web Application

    2. Chat Application

    3. RESTful Service

    4. All of the above

    Answer
  • 7.

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

    1. Express.js

    2. Geddy

    3. Locomotive

    4. All of the above.

    Answer
  • 8.

    Which of the following class is used to create and consume custom events in Node.js?

    1. EventEmitter

    2. Events

    3. NodeEvent

    4. None of the above

    Answer
  • 9.

    Which of the following is a GUI-based debugging tool for Node.js?

    1. Core node debugger

    2. Console

    3. REPL

    4. Node Inspector

    Answer
  • 10.

    How to import module in Node.js?

    1. Using require() function.

    2. Using module.import

    3. Using include() function

    4. Using app.use() function

    Answer
  • 11.

    Which of the following core module is used to create a web server in Node.js?

    1. fs

    2. url

    3. connect

    4. http

    Answer
  • 12.

    Third-party packages can be install/update/delete using ________.

    1. Node Package Manager

    2. Node.exe

    3. Module.exports

    4. REPL

    Answer
  • 13.

    The Node.js modules can be exposed using _________.

    1. module.expose

    2. module

    3. module.exports

    4. all of the above

    Answer
  • 14.

    Simple or complex functionality organized in a single or multiple JavaScript files which can be reused throughout your Node.js application is called ________.

    1. Module

    2. Library

    3. Package

    4. Function

    Answer
  • 15.

    Node.js application runs on __________.

    1. Multiple threads

    2. Single thread

    3. Multiple Processes

    4. Single Process

    Answer
  • 16.

    What is the default scope in Node.js application.

    1. Global

    2. Local

    3. Global Function

    4. Local to object

    Answer
  • 17.

    Node.js terminal (REPL) is used for _________.

    1. testing node.js/JavaScript expressions

    2. executing browser’s JavaScript expressions.

    3. the preview of node.js application.

    4. None of the above

    Answer
  • 18.

    Node.js supports which of the following platform?

    1. Windows

    2. Macintosh

    3. Unix/Linux

    4. All of the above

    Answer
  • 19.

    Node.js is ________ by default.

    1. Synchronous

    2. Multi-threaded

    3. Asynchronous

    4. None of the above

    Answer
  • 20.

    Node.js runs on __________

    1. Client

    2. Server

    3. Both, server and client

    4. None of the above

    Answer

© 2017 QuizBucket.org