Node-Fs-Readfile Flashcards

1
Q

What is a directory?

A

Directories are folders that allow the user to group specific files together

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

What is a relative file path?

A

Relative path is defined as the path related to the present working directly(pwd). It starts at your current directory and never starts with a / .

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 path is defined as specifying the location of a file or directory from the root directory(/).

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