Node Flashcards
What is a CLI?
CLI (command line interface) is a way for a user to see commands in a form of lines of text
What is GUI?
GUI (graphical user interface) is a way for a user to see commands in a form of graphical icons
What is GUI?
GUI (graphical user interface) is a way for a user to see commands in a form of graphical icons
Give at least one use case for each of the commands listed in this exercise.
- man
- cat
- ls
- pwd
- echo
- touch
- mkdir
- mv
- rm
- cp
man man (displays man manual)
cat (concatenate files and print on the standard output)
ls (to list out the contents of the directory currently being worked on)
pwd (to make sure you’re working on the correct directory)
echo (display a line of text)
touch (to create new files)
mkdir (to make a new directory)
mv (to rename a file)
rm (to delete a file)
cp (to make copies)
What are the three virtues of a great programmer?
Laziness, Impatience, and Hubris.
What are 3 components of a fullstack Web architecture?
Presentation
Logic
Data
What is Node.js?
A javascript runtime to build scalable network applications
What can Node.js be used for?
Usually to run the backend side of applications as well as servers
What is REPL?
Reads input
Executes input
Prints input
Loops input
When was Node.js created ?
2009
What backend languages have you heard of?
Python, PHP. C#, Ruby, C++ and Java
What is a computer process?
The instance of a computer program that is being executed by one or more threads
Roughly how many computer processes are running on your host operating system (Task Manager or Activity Monitor)?
A lot
Why should a full stack Web developer know that computer processes exist?
To be aware of what you’re executing
What is the process object in a Node.js program?
A global that provides information about, and control over, the current Node.js process.