node.js Flashcards

1
Q

What is Node.js?

A

JavaScript runtime built on Chrome’s V8 JavaScript engine

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

What can Node.js be used for?

A

To build scalable network applications

Write your code in JavaScript and execute it with node

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

What is REPL?

A

Read-eval-print loop

Simple interactive computer programming environment that takes single user inputs, executes them, and returns the result to the user

A program written in REPL environment is executed piecewise

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

When was Node.js created?

A

2009

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

What backend languages have you heard of?

A

JavaScript, Ruby, PHP, Java Python, C, C#, C++, Rust

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

What is a computer process?

A

A process is the instance of a computer program that is being executed by one or many threads. It contains the program code and its activity.

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

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

A

Full stack web development is based on making multiple processes work together to form one application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
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.

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
9
Q

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

A

It’s included in the global. It can be used at any time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
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