Node JS 13 Set 2
Free Online Best Node JS 13 MCQ Questions for improve your basic knowledge of Node JS 13. This Node JS 13 set 2 test that contains 25 Multiple Choice Questions with 4 options. You have to select the right answer to a question.
Start
Congratulations - you have completed Node JS 13 Set 2.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
What is the default scope in Node.js application?
A | Local |
B | Public |
C | Private |
D | Global |
Question 2 |
Node.js application can access which of the following databases?
A | NoSQL databases |
B | Relational databases |
C | All of the above |
D | None of the above |
Question 3 |
Node.js terminal (REPL) is used for _________.
A | the preview of node.js application |
B | .testing node.js/JavaScript expressions |
C | executing browser’s JavaScript expressions |
D | None of the above |
Question 4 |
Third-party packages can be install/update/delete using ________.
A | Node Package Manager |
B | Node.exe |
C | Module.exports |
D | REPL |
Question 5 |
In Nodejs what is use of underscore variable in REPL session?
A | to store the result |
B | to get the last command used |
C | to get the last result |
D | to get the result |
Question 6 |
What is REPL in Node.js?
A | Loop |
B | Print |
C | Eval |
D | All of the Above |
Question 7 |
What does the fs module stand for?
A | File Service |
B | File System |
C | File Store |
D | File Sys |
Question 8 |
Which method returns the current working directory of the process
A | process.cwd(); |
B | cwd(); |
C | .pwd(); |
D | .pdw(); |
Question 9 |
What is the default scope in Node.js application?
A | Global Function |
B | Local to object |
C | Local |
D | Global |
Question 10 |
Which of the following template engines can be used with Node.js?
A | Jade |
B | Vash |
C | Handlebars |
D | All of the Above |
Question 11 |
stats.isFile()____
A | Returns true if file type of a directory. |
B | Returns true if file type of a simple file |
C | Returns true if file type of a block device |
D | Returns true if file type of a FIFO |
Question 12 |
What is use of Underscore Variable in REPL session?
A | to get the last command used |
B | to get the last result |
C | to store the result |
D | None of the Above |
Question 13 |
Which of the following are not Node.js web application frameworks for?
A | Express.js |
B | Geddy |
C | Aurelia |
D | Locomotive |
Question 14 |
Something that happened in our application that we can respond too_____
A | events |
B | actions |
C | procedures |
D | callback |
Question 15 |
stats.isFIFO()______
A | Returns true if file type of a directory. |
B | Returns true if file type of a simple file |
C | Returns true if file type of a block device |
D | Returns true if file type of a FIFO |
Question 16 |
A Node.js application consists of the following components___
A | Import required modules |
B | Create server |
C | Read request and return response |
D | All of the Above |
Question 17 |
Simple or complex functionality organized in a single or multiple JavaScript files which can be reused throughout your Node.js application is called ________.
A | Module |
B | Library |
C | Package |
D | Function |
Question 18 |
Command to start Node REPL
A | $ node start |
B | $ node repl |
C | $ node |
D | $ node console |
Question 19 |
Which of the following is true about RESTful web services?
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 |
Question 20 |
Which flag is used for Open file for reading in synchronous mode.
A | r |
B | rs |
C | r+ |
D | rs+ |
Question 21 |
Which module is used to serve static resources in Node.js?
A | http |
B | node-static |
C | node-resource |
D | static |
Question 22 |
Which of the following is a GUI-based debugging tool for Node.js?
A | Core node debugger |
B | Console |
C | REPL |
D | Node Inspector |
Question 23 |
Buffer class is a global class and can be accessed in application without importing buffer module.
A | TRUE |
B | FALSE |
C | None |
D | SomeTimes |
Question 24 |
Which statement is valid in using a Node module fs in a Node based application?
A | var fs = import("fs") |
B | import fs |
C | package fs |
D | var fs = require("fs") |
Question 25 |
Simple or complex functionality organized in a single or multiple JavaScript files which can be reused throughout your Node.js application is called ________.
A | Library |
B | Package |
C | Function |
D | Module |
Once you are finished, click the button below. Any items you have not completed will be marked incorrect.
Get Results
There are 25 questions to complete.
← |
List |
→ |
Return
Shaded items are complete.
1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 |
End |
Return
You have completed
questions
question
Your score is
Correct
Wrong
Partial-Credit
You have not finished your quiz. If you leave this page, your progress will be lost.
Correct Answer
You Selected
Not Attempted
Final Score on Quiz
Attempted Questions Correct
Attempted Questions Wrong
Questions Not Attempted
Total Questions on Quiz
Question Details
Results
Date
Score
Hint
Time allowed
minutes
seconds
Time used
Answer Choice(s) Selected
Question Text
All done
Need more practice!
Keep trying!
Not bad!
Good work!
Perfect!