Node JS 13 Set 3
Free Online Best Node JS 13 MCQ Questions for improve your basic knowledge of Node JS 13. This Node JS 13 set 3 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 3.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
How Node.js modules are availble externally
A | module.spread |
B | module.exports |
C | module.expose |
D | None of Above |
Question 2 |
A Node.js application consists of the following three important components ____
A | Import required modules |
B | Create server |
C | Read request and return response |
D | All of the Above |
Question 3 |
How many Node object methods are available?
A | 21 |
B | 20 |
C | 19 |
D | 18 |
Question 4 |
callback The function gets arguments______
A | error |
B | stdout |
C | stderr |
D | All of the Above |
Question 5 |
REPL stands for____
A | Read Eval Point Loop |
B | Read Eval Print Loop |
C | Research Eval Program Learn |
D | Read Earn Point Learn |
Question 6 |
callback The function gets_____ arguments
A | two |
B | three |
C | four |
D | five |
Question 7 |
Which code converts a buffer buf to JSON object?
A | buf.json() |
B | buf.covertToJson() |
C | buf.toJSON() |
D | buf.jsonify() |
Question 8 |
Which of the following is true about __dirname global object?
A | The __dirname represents the name of the directory that the currently executing script resides in |
B | The __dirname represents the resolved absolute path of code file |
C | both of Above |
D | None of the Above |
Question 9 |
In which of the following areas, Node.js is perfect to use?
A | I/O bound Applications |
B | Data Streaming Applications |
C | Data Intensive Realtime Applications DIRT |
D | All of the Above |
Question 10 |
Is console a global object?
A | FALSE |
B | TRUE |
C | null |
D | None of the above |
Question 11 |
Command to start Node REPL____
A | $ node start |
B | $ node |
C | $ node repl |
D | $ node console |
Question 12 |
Which of the following are Node.js streams types?
A | Writable |
B | Duplex |
C | Readable |
D | All of the Above |
Question 13 |
Which of the following Node object property returns the node immediately before a node?
A | previousSibling |
B | textContent |
C | localName |
D | index |
Question 14 |
QUIC protocol support is ____
A | a modern transport for connected applications with increased performance and reliability |
B | Worker threads in Node.js enable parallel, CPU-intensive JavaScript operations |
C | ECMAScript modules,QUIC protocol support |
D | WebAssembly support,V8 JavaScript engine performance updates |
Question 15 |
What is the purpose of the Node object property ownerDocument?
A | Returns the parent node |
B | Returns the immediate node |
C | Returns the last element |
D | Returns the root element |
Question 16 |
The shortcut key for Terminate the Node REPL_____
A | ctrl + d |
B | ctrl + c |
C | ctrl + b |
D | ctrl + x |
Question 17 |
How Node.js modules are availble externally?
A | module.exports |
B | module.spread |
C | module.expose |
D | module.expos |
Question 18 |
Which of the following is true about readable stream?
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 Above |
Question 19 |
Child processes always have _____ streams
A | two |
B | three |
C | four |
D | five |
Question 20 |
Select all valid rout parameter formats_____
A | /users/:userId/books/:bookId |
B | /flights/:from-:to |
C | /books/!:from-:to |
D | All of the Above |
Question 21 |
Command to list all modules that are install globally?
A | $ npm ls -g |
B | $ npm ls |
C | $ node ls -g |
D | $ node ls |
Question 22 |
What is Callback?
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 Above |
Question 23 |
Which of the following code can create a web server ?
A | http.createServer(callback) |
B | http.createWebServer(callback) |
C | http.createHTTPServer(callback) |
D | All of the Above |
Question 24 |
Which function is used to include modules in Node Js?
A | include(); |
B | require(); |
C | attach(); |
D | get() |
Question 25 |
Which of the following is true about readable stream?
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 |
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!