FS ReadFile Flashcards

1
Q

What is a directory?

A

group files into separate collections

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a relative file path?

A

describes the location of a file relative to the current (working) directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an absolute file path?

A

makes no assumptions about your current location in relation to the location of the file or directory it’s describing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What module does Node.js include for manipulating the file system?

A

fs module

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What method is available in the node:fs module for reading data from a file?

A

fs.readFile()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly