MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The URL module splits up a web address into readable parts. |
| A. | TRUE |
| B. | FALSE |
| C. | Can be true or false |
| D. | Can not say |
| E. | |
| Answer» B. FALSE | |
| 2. |
which of the following areas, Node.js is not advised to be used? |
| A. | Single Page Applications |
| B. | JSON APIs based Applications |
| C. | CPU intensive applications |
| D. | Data Intensive Realtime Applications (DIRT) |
| Answer» D. Data Intensive Realtime Applications (DIRT) | |
| 3. |
What are the key features of Node.js? |
| A. | Real time Data intensive |
| B. | Highly scalable servers for Web Applications |
| C. | Builds fast and scalable network Applications |
| D. | All of the above |
| Answer» E. | |
| 4. |
Which of the following command will show version of Node? |
| A. | $ npm --version |
| B. | $ npm getVersion |
| C. | $ node getVersion |
| D. | $ node --version |
| Answer» E. | |
| 5. |
Which method appends specified content to a file. |
| A. | fs.appendFile() |
| B. | fs.open() |
| C. | fs.writeFile() |
| D. | None of the above |
| Answer» B. fs.open() | |
| 6. |
Which keyword is used to make properties and methods available outside the module file? |
| A. | import |
| B. | module |
| C. | exports |
| D. | require |
| Answer» D. require | |
| 7. |
Syntax to Initiate the Node.js File is? |
| A. | filename.js |
| B. | javascript filename.js |
| C. | node filename.js |
| D. | node filename |
| Answer» D. node filename | |
| 8. |
Node.js files must be initiated in the? |
| A. | Command Prompt |
| B. | nodejs Editor |
| C. | Both A and B |
| D. | None of the above |
| Answer» B. nodejs Editor | |
| 9. |
Which of the following is true about Node.js? |
| A. | Node.js is an open source server environment. |
| B. | Node.js allows you to run JavaScript on the server. |
| C. | Node.js runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.) |
| D. | All of the above |
| Answer» E. | |