Quiz: Core Node.js Modules
Test your understanding of Node.js modules with this comprehensive quiz.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which set of fs
methods is best suited for the following tasks?
- Listing files in a directory.
- Retrieving metadata about those files.
- Creating a backup directory.
- Copying the files into the backup directory.
A.
fs.readdir
, fs.stat
, fs.mkdir
, fs.copyFile
B.
fs.readdir
, fs.readFile
, fs.mkdir
, fs.copyFile
C.
fs.readdirSync
, fs.statSync
, fs.mkdirSync
, fs.copyFileSync
D.
fs.readdir
, fs.stat
, fs.mkdir
, fs.bkupdir
1 / 5
...