Misc Flashcards
Roughly how many string methods are there according to the MDN Web docs?
20+
Roughly how many array methods are there according to the MDN Web docs?
38+
What three-letter acronym should you always include in your Google search about a JavaScript method or CSS property?
MDN
What is “abstraction”?
Taking complex things and making them simpler to work with
What does API stand for?
application programming interface
What is the purpose of an API?
defines interactions between multiple software intermediaries. It defines the kinds of calls or requests that can be made, how to make them, the data formats that should be used, the conventions to follow, etc.
What is a client?
Hardware/software that requests a service from a server
What is a server?
Runs server programs that share their resources with clients
What is a CLI?
Stands for command-line interface,
Used by developers and processes commands to a computer program using text
What is a GUI?
Stands for graphical user interface,
Used primarily by the end user and is a form of user interface that allows users to interact with electronic devices through graphical icons
Give at least one use case for each of the commands listed in this exercise.
Man: shows a manual for a command Cat: concatenate txt files Ls: list contents of a directory Pwd: print the working directory Echo: create a text line Touch: create timestamps Mkdir: make directories Mv: rename file Rm: delete file Cp: copy and rename files
What are the three virtues of a great programmer?
Laziness, hubris, impatience
What is a computer process?
The instance of a program that’s being executed by one or many threads.
Execution of instructions provided by programs after they are loaded from the computer’s drive into memory
Roughly how many computer processes are running on your host operating system (Task Manager or Activity Monitor)?
450
Why should a full stack Web developer know that computer processes exist?
To ensure that the programs they write work efficiently and don’t require too many processes to run