Direction: Choose the correct option
Q1.
What is a file descriptor in Node.js?
Direction: Choose the correct option
Q2.
Which method is used to open a file and get a file descriptor?
Direction: Choose the correct option
Q3.
What does the flag 'r' mean in `fs.open()`?
Direction: Choose the correct option
Q4.
Which method is used to change file permissions?
Direction: Choose the correct option
Q5.
What is the purpose of `fs.createReadStream()`?
