Search Header Logo

Nodejs Core Modules

Authored by Daniel Adesoji

Professional Development

Professional Development

Used 10+ times

Nodejs Core Modules
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A path is a specific way to locate ___ or ___ within the system hierarchy

extension or directory

file or directory

file or extension

directory or folder

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ provides the complete location of a file or directory starting from the root of the file system

absolute path

relative path

home path

root path

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_____ specifies the location of a file or directory relative to the current working directory

absolute path

relative path

home path

root path

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the correct option for root in file systems

Linux/macOs === "\"
Windows === "/"

Linux/macOs === "C:/"
Windows === "/"

Linux/macOs === "/"
Windows === "C:\"

Linux/macOs === "/"
Windows === "\"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The root of a file system is _____

The highest-level directory in the directory hierarchy

The lowest-level directory in the directory hierarchy

The entry-level directory in the directory hierarchy

The current-level directory in the directory hierarchy

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these modules allow NodeJs applications interact with and gather information about the underlying operating system on which the Node.js runtime is running?

path

process

fs

os

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these modules is responsible for providing a way to interact with the current NodeJs process running the application.

os

fs

path

process

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?