node-fs-readfile Flashcards

1
Q

What is a directory?

A

A directory is a folder that contains files

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

What is a relative file path?

A

A relative path is a hierarchical path that locates a file or folder on a file system starting from the current 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

An absolute file path locates a file or folder starting from the root of the file system. it always contains the root element and the complete directory list required to locate the file.

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

The ‘fs’ module

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