Google News
logo
Node.JS - Quiz(MCQ)
A)
Server Side
B)
Client Side
C)
Both
D)
None of the above

Correct Answer :   Server Side

A)
C#
B)
C++
C)
Javascript
D)
Java

Correct Answer :   Javascript

A)
.node
B)
.js
C)
.txt
D)
.java

Correct Answer :   .js

A)
Global Object
B)
Local Object
C)
Both
D)
None of the Above

Correct Answer :   Global Object

A)
include();
B)
attach();
C)
require();
D)
All of the above

Correct Answer :   require();

A)
zlib
B)
https
C)
dgram
D)
fsread

Correct Answer :   fsread

A)
module.exports
B)
module.expose
C)
module.spread
D)
None of the Above

Correct Answer :   module.exports

A)
File Service
B)
File System
C)
File Store
D)
None of the above

Correct Answer :   File System

A)
Local
B)
Public
C)
Private
D)
Global

Correct Answer :   Local

A)
Webservices based on REST Architecture are known as RESTful web services
B)
Webservices uses HTTP methods to implement the concept of REST architecture
C)
Both of the above
D)
None of the above

Correct Answer :   Both of the above

A)
Node based server uses a single threaded model and can serve much larger number of requests compared to any traditional server like Apache HTTP Server.
B)
Node based server process request much faster than traditional server.
C)
There is no much difference between the two.
D)
All of the above

Correct Answer :   Node based server uses a single threaded model and can serve much larger number of requests compared to any traditional server like Apache HTTP Server.

A)
Builds fast and scalable network Applications
B)
Highly scalable servers for Web Applications
C)
Real time Data intensive
D)
All of the above

Correct Answer :   All of the above

A)
npm --version
B)
npm --ver
C)
npm help
D)
None of the above

Correct Answer :   npm --version

A)
It provides an easy way to build scalable network programs
B)
Great concurrency
C)
Generally fast
D)
All of these

Correct Answer :   All of these

A)
Node.JS internally converts JavaScript code to Java based code and then execute the same
B)
Node.JS internally converts JavaScript code to C based code and then execute the same
C)
Being built on Google Chrome's V8 JavaScript Engine
D)
None of the above

Correct Answer :   Being built on Google Chrome's V8 JavaScript Engine

A)
Eval
B)
Print
C)
Loop
D)
All of these

Correct Answer :   All of these

A)
http
B)
node-static
C)
node-resource
D)
static

Correct Answer :   node-static

A)
false
B)
true
C)
null
D)
none

Correct Answer :   null

A)
regular expressions
B)
string patterns
C)
strings
D)
All of above

Correct Answer :   All of above

A)
$ npm --version
B)
$ npm getVersion
C)
$ node --version
D)
$ node getVersion

Correct Answer :   $ node --version

A)
Geddy
B)
Express.js
C)
Aurelia
D)
Locomotive

Correct Answer :   Aurelia

A)
Jade
B)
Vash
C)
Handlebars
D)
All of the above

Correct Answer :   Handlebars

A)
cwd();
B)
pwd();
C)
process.cwd();
D)
None of the above

Correct Answer :   process.cwd();

A)
I/O bound Applications
B)
Data Streaming Applications
C)
Data Intensive Realtime Applications DIRT
D)
All of the above

Correct Answer :   All of the above

A)
Use gzip compression
B)
Do logging correctly
C)
Handle exceptions properly
D)
Don’t use synchronous functions

Correct Answer :   Use gzip compression

A)
$ npm install express
B)
$ node install express
C)
$ install express
D)
None of the above

Correct Answer :   $ npm install express

A)
Express.js
B)
GruntJS
C)
NPM
D)
None of the above

Correct Answer :   GruntJS

A)
Callback is a technique in which a method call back the caller method.
B)
Callback is an asynchronous equivalent for a function.
C)
Both of the above.
D)
None of the above.

Correct Answer :   Both of the above.

A)
Ctrl + B
B)
Ctrl + K
C)
Ctrl + T
D)
Ctrl + C

Correct Answer :   Ctrl + C

A)
14
B)
16
C)
18
D)
20

Correct Answer :   18

A)
the preview of node.js application.
B)
testing node.js/JavaScript expressions
C)
executing browser’s JavaScript expressions.
D)
None of the above

Correct Answer :   testing node.js/JavaScript expressions

A)
Asynchronous
B)
Synchronous
C)
Both of the above
D)
None of the above

Correct Answer :   Asynchronous

A)
Events
B)
NodeEvent
C)
EventEmitter
D)
None of the above

Correct Answer :   EventEmitter

A)
var http = require("http")
B)
var http = new require("http")
C)
var http = new http()
D)
None of the above

Correct Answer :   var http = require("http")

A)
Windows
B)
Macintosh
C)
Unix/Linux
D)
All of the above

Correct Answer :   All of the above

A)
to store the result
B)
to get the last command used
C)
to get the last result
D)
None of the above

Correct Answer :   to get the last result

A)
import fs
B)
package fs
C)
var fs = require("fs")
D)
var fs = import("fs")

Correct Answer :   var fs = import("fs")

A)
Read Eval Print Loop
B)
Read Eval Point Loop
C)
Read Earn Point Learn
D)
Research Eval Program Learn

Correct Answer :   Read Eval Print Loop

A)
$ node start
B)
$ node repl
C)
$ node
D)
$ node console

Correct Answer :   $ node

A)
Node Project Manager
B)
Node Package Manager
C)
New Package Manager
D)
New Project Manager

Correct Answer :   Node Package Manager

A)
$ npm ls -g
B)
$ node ls -g
C)
$ npm ls
D)
$ node ls

Correct Answer :   $ npm ls -g

A)
Os module
B)
Path module
C)
Fs module
D)
All of the above.

Correct Answer :   Path module

A)
Writable
B)
Duplex
C)
Readable
D)
All of the above

Correct Answer :   All of the above

A)
npm install -g nodemon
B)
node install -g nodemon
C)
Both
D)
None of the above

Correct Answer :   npm install -g nodemon

A)
Node En
B)
SpiderMonkey
C)
Chorme V8
D)
Microsoft Chakra

Correct Answer :   Chorme V8

A)
events
B)
actions
C)
procedures
D)
callback

Correct Answer :   events

A)
==
B)
equal()
C)
isEqualNode()
D)
None of the above

Correct Answer :   isEqualNode()

A)
/books/!:from-:to
B)
/books/:from-:to
C)
/books/:bookId/Id/
D)
None of the above

Correct Answer :   /books/!:from-:to

A)
os.normalize('/test/test1//2slashes/1slash/tab/..')
B)
fs.normalize('/test/test1//2slashes/1slash/tab/..')
C)
path.normalize('/test/test1//2slashes/1slash/tab/..')
D)
None of the above

Correct Answer :   path.normalize('/test/test1//2slashes/1slash/tab/..')

A)
Readable stream is used for read operation
B)
Output of readable stream can be input to a writable stream
C)
Both of the above
D)
None of the above

Correct Answer :   Both of the above

A)
11
B)
12
C)
13
D)
14

Correct Answer :   12

A)
Returns the parent node
B)
Returns the immediate node
C)
Returns the last element
D)
Returns the root element

Correct Answer :   Returns the root element

A)
cloneNode()
B)
compareDocumentPosition()
C)
getUserData()
D)
getFeature()

Correct Answer :   compareDocumentPosition()

A)
previousSibling
B)
textContent
C)
localName
D)
index

Correct Answer :   previousSibling