3 Flashcards
Define algorithm.
Set of rules that precisely define a sequence of operations.
After who the algorithms were named?
Muhammad ibn Musa al-Khwarizni
What did the Analytical Engine by Charles Babbage do?
Allowed for the machine to both follow the algorithm & use the tool for some calculations.
What is a program?
An algorithm that has been spelled out in enought detail that a machine can carry it out.
What’s a flowchart?
Graphical way to express an algorithm.
What does the Unified Modeling Language (UML) do?
It takes the idea of flowcharts & runs with it.
It has high-precission & high-stakes projects.
What is pseudocode?
Various notations that are available to people, but are not runnable in the computer.
What is the command line and what is it used for?
Is a text interface in your computer.
It’s used to naviage, edit, etc. files on your computer.
What did the command line replace?
Teletype machine and cathode ray tube.
What was the problem with the teletype machine?
It was slow, noisy and used a lot of paper!
What was the problem with the cathode ray tube (CRT)?
It was small, heavy, dangerous (could electrocute you or shrapnel all over if compromised)
Why we use the Command Line? (3 reasons)
Power (there are things you can do with a CLI that are differnt or impossible from a GUI)
Conciseness (using a CLI is usually faster than writing a program to do the same thing)
Scripting (easy to string together a series of commands as opposed to button clicks)
What computer had the first GUI?
Apple Lisa
Which key performs auto-complete? Why is useful?
Tab. Because sometimes it can be difficult to type full commands including the name of the file, directory, etc. So auto-complete is faster and very handy.
Useful things Git does:
Saves
Assigns
Maintains
Keeps track