Google News
logo
Node.JS - Quiz(MCQ)
A)
$ npm ls -g
B)
$ node ls -g
C)
$ npm ls
D)
$ node ls

Correct Answer : Option (A) :   $ npm ls -g

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

Correct Answer : Option (B) :   Path module

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

Correct Answer : Option (D) :   All of the above

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

Correct Answer : Option (A) :   npm install -g nodemon

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

Correct Answer : Option (C) :   Chorme V8

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

Correct Answer : Option (A) :   events

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

Correct Answer : Option (C) :   isEqualNode()

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

Correct Answer : Option (A) :   /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 : Option (C) :   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 : Option (C) :   Both of the above