Quiz Challenge
When you hit the start button, you will be prompted with a series of questions related to Javascript. Prove your mastery of the concepts by getting as many questions as you can correct in the time that you're given. Every Incorrect answer will reduce your time. You can find your current score and the time remaining at the top lefthand side of the page. Good luck!
When refering to Node.js, what is the fs module?
- A module that is not part of the standard library that comes with node.js. It allows the user to interact with the filesystem by reading and writing files for example.
- A module that is part of the standard library that comes with node.js. It allows the user to interact with the filesystem by reading and writing files for example.
- A JavaScript function
- A module that allows you to work with files.
- A module that does not allow you to work with files.
How do you access modules using Node.js?
- In your git bash terminal type npm init -y
- In your git bash terminal type npm i followed by the module name
- Use the require method.
- Use the require method. Inside parenthesis type the file name wrapped in quotes.
- You can't access modules using Node.js
The Node "Process" object is similar to the "Window" object in javascript.
The "argv" array inside the node process object allows you to do what?
- a string containing information about the process.
- Another object nested inside the process object.
- Array containing user at index 2 and above.
- argv is not an array inside the process object.
- argv doesn't exist.
Game Over. Congratulations!