node-process Flashcards

1
Q

What is a computer process?

A

Is the instance of a computer program that is being executed by one or many threads.

In computer science, a thread of execution is the smallest sequence of programmed instructions that can be managed independently by a scheduler, which is typically a part of the operating system

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

Roughly how many computer processes are running on your host operating system (Task Manager or Activity Monitor)?

A

Roughly 450 processes…

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

Why should a full stack Web developer know that computer processes exist?

A

A full stack Web developers make an application where multiple processes work together

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

What is the process object in a Node.js program?

A

The process object is a global that provides information about, and control over, the current Node.js process.

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

How do you access the process object in a Node.js program?

A

Just reference it. As a global, it is always available to Node.js applications without using require().

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

What is the data type of process.argv in Node.js?

A

An array of Strings

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