Senior Side Flashcards
What is Node.js?
asynchronous event-driven JS runtime. runtime implements an event loop and allows node to push intensive operations to a sep thread so only fast nonblocking operations on the main thread.
What can Node.js be used for?
APIs, client applications, server applications
What is a REPL?
read eval print loop - interactive programming environment, like browser console.
When was Node.js created?
2009
What back end languages have you heard of?
php
What is a computer process?
instance of a program, launch a program and starts a process.
Why should a full stack web developer know that computer processes exist?
To know how they communicate with one another. HTTP protocol is an example
What is the process object?
The process object is a global that provides information about, and control over, the current Node.js process.
How do you access the process object in a Node.js program?
global object
What is the data type of process.argv in Node.js?
Array
What is a directory?
file that holds information of other directories and files
What is a relative file path?
one path to another. How would you get to the path from where you are
What is an absolute file path?
path that starts from root
What module does Node.js include for manipulating the file system?
fs module
What is a client?
Client is a piece of computer hardware or software that accesses a service made available by a server