Node JS 13 Set 1
Free Online Best Node JS 13 MCQ Questions for improve your basic knowledge of Node JS 13. This Node JS 13 set 1 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 1.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1 |
Which of the followings are valid languages for Node.js?
A | C# |
B | C++ |
C | JavaScript |
D | Java |
Question 2 |
Where Not to Use Node.js?
A | CPU intensive applications |
B | Client Side |
C | Server Side |
D | All of the Above |
Question 3 |
What is the advantage of using node.js?
A | Great concurrency |
B | Generally fast |
C | It provides an easy way to build scalable network programs |
D | All of the Above |
Question 4 |
Which of the following module is required to create a web server?
A | url module |
B | net module |
C | http module |
D | web module |
Question 5 |
Which of the following stands true for dns.lookup(hostname[, options], callback) method?
A | Resolves a hostname (e.g. 'google.com') into the first found A (IPv4) or AAAA (IPv6) record. |
B | If options is not provided, then IP v4 and v6 addresses are both valid. If options is an integer, then it must be 4 or 6. |
C | Both of the above |
D | None of Above |
Question 6 |
Features of Node.js_____
A | Asynchronous and Event Driven,License |
B | Very Fast,No Buffering |
C | Single Threaded but Highly Scalable |
D | All of the Above |
Question 7 |
For What npm stands?
A | Node Project Manager |
B | Node Package Manager |
C | New Project Manager |
D | New Package Manager |
Question 8 |
Which of the following core module is used to create a web server in Node.js?
A | fs |
B | url |
C | connect |
D | http |
Question 9 |
Which of the following code print the total system memory of operating system?
A | console.log('total memory : ' + os.totalmem() + " bytes."); |
B | console.log('total memory : ' + os.totalmem + " bytes."); |
C | console.log('total memory : ' + os.getTotalMemory() + " bytes."); |
D | None of Above |
Question 10 |
What code print the endianness of operating system?
A | console.log('endianness : ' + os.getEndianness()); |
B | console.log('endianness : ' + os.endianness); |
C | console.log('endianness : ' + os.endianness()); |
D | None of Above |
Question 11 |
Command to show installed version of Node___
A | $ npm --version |
B | $ npm getVersion |
C | $ node --version |
D | $ node getVersion |
Question 12 |
Node.js is ________ by default.
A | Synchronous |
B | Multi-threaded |
C | Asynchronous |
D | None of Above |
Question 13 |
Node.js is ____
A | an open source |
B | cross-platform runtime environment for developing server-side and networking applications |
C | Both of the above |
D | None of the above |
Question 14 |
Node.js is ___________ Language
A | Server Side |
B | Client Side |
C | Both of the above |
D | None of Above |
Question 15 |
Node.js is written in _____________ .
A | c |
B | c++ |
C | Javascript |
D | All of the Above |
Question 16 |
Node uses _________ engine in core
A | Microsoft Chakra |
B | Chorme V8 |
C | Node En |
D | SpiderMonkey |
Question 17 |
Which of following is not builtin node module?
A | zlib |
B | https |
C | dgram |
D | fsread |
Question 18 |
How do you kill a process in Node.js?
A | Ctrl + B |
B | Ctrl + K |
C | Ctrl + T |
D | Ctrl + C |
Question 19 |
Which extension is used to save NodeJs files?
A | .java |
B | .txt |
C | .node |
D | .js |
Question 20 |
Which of following are a valid form of route path?
A | regular expressions |
B | string patterns |
C | strings |
D | All of the Above |
Question 21 |
Which statement execute the code of sample.js file?
A | nodejs sample.js |
B | node sample.js |
C | sample.js |
D | All of the Above |
Question 22 |
Which method of fs module is used to write a file?
A | fs.write(path, flags[, mode], callback) |
B | fs.writeFile(path, flags[, mode], callback) |
C | fs.writePath(path, flags[, mode], callback) |
D | None of Above |
Question 23 |
How to test if two nodes are equal?
A | . == |
B | equal() |
C | isEqualNode() |
D | None of Above |
Question 24 |
Is node js multithreaded?
A | TRUE |
B | FALSE |
C | None of the Above |
D | both A and B |
Question 25 |
How can we check the current version of NPM?
A | npm --ver |
B | npm --version |
C | npm help |
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!