Loading...
QUIZ

Certification Test

 
Que No. 1 ) What is the use of underscore variable in REPL session in Node.js?

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


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

A.) a. Core node debugger
B.) b. Console
C.) c. REPL
D.) d. Node Inspector


Que No. 3 ) Which of the following method can append specified content to a file?

A.) a. fs.appendFile()
B.) b. fs.open()
C.) c. fs.writeFile()
D.) d. None of the above.


Que No. 4 ) Which of the following statement is used to execute the code of the sample.js file?

A.) a. sample.js
B.) b. node sample.js
C.) c. nodejs sample.js
D.) d. None of the above.


Que No. 5 ) Which of the following is not a valid language for Node.js?

A.) a. JavaScript
B.) b. Java
C.) c. C
D.) C++


Que No. 6 ) How many Node object methods are available?

A.) 21
B.) 18
C.) 19
D.) 20


Que No. 7 ) What is the main usage of Node.js terminal (REPL)?

A.) To specify the preview of the Node.js application.
B.) For testing Node.js/JavaScript expressions.
C.) For executing browser's JavaScript expressions.
D.) None of the above.


Que No. 8 ) Which of the following types of applications can be built using Node.js?

A.) Web Application
B.) Chat Application
C.) RESTful Service
D.) All of the above


Que No. 9 ) Which of the following is used to test if two nodes are equal?

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


Que No. 10 ) Which of the following tool is used to automate the various tasks of the Node.js application?

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