Computer Science Flashcards
singularity
when AI surpasses human intelligence and can improve itself without humans
is Moore’s Law true?
by it’s technical definition (chip densities are doubling every two years) this is no longer true, as improvements have begun to slow, but we are still making huge improvements
features
values that usually characterise things that are classified by a ML classifier e.g. if you were classifying a bike, features would be two wheels, a seat, etc.
ML classifier
an algorithm that classifies - e.g. deciding if something is a bike or not
difference between internet and world wide web (www)
internet = giant network that connects all devices
www = part of the internet where you use browsers to look at websites
how does watching a YT video on the internet work
- when you click on a video a request is sent to a local server
- if the server has it, it will give you the video in little chunks
- if you’re internet is good, and your screen is small, etc. it will give you high quality chunks, if your internet is shit it will give you small chunks so you can continue watching the video without buffering, just at a slightly lower quality
- if the server doesn’t have your video, it will make requests to other further away and larger servers, eventually requesting it from YT’s main server (popular videos are usually on local servers, the more obscure/new the video, the more likely it’s on a YT’s main server)
GUI
graphical user interface
a visual way for users to interact with computer programs using icons, buttons, windows, and menus (rather than code)
Moore’s Law
the number of transistors on a computer chip doubles approximately every two years (so capabilities increase rapidly) while the cost of the chip remains the same or decreases
alpha vs beta versions
alpha is the initial version, usually v buggy and just used internally
beta is the first version rolled out for testing with users
quality assurance (QA)
testing for bugs before the software is released to users
Types of Boolean gates
AND
NAND (not AND)
OR
NOR (not OR)
NOT
EXOR (exclusive OR)
EXNOR (exclusive not OR)
difference between software developer and software engineer
developer = code
engineer = code + design, plan, test, deploy and maintain software systems
Turing test
can a computer pass as a human
what is used these days instead of ascii codes
unicode - it has 16 bits, enough to encode every character from every language
ascii codes
code for turning binary code into letters
e.g. “A” = 65, and “a” = 65
GB giga bytes is how many bytes
1 billion
MB mega byte is how many bytes
1 million
what is the most common material used to created semiconductors
silicon (hence silicon valley)
what is a transistor
a switch that can be turned on or off via a control wire
they have two electrodes that are turned on or off via a semiconductor
the transistor was invented in which year
1947
where does the term ‘computer bug’ come from?
One of IBM’s first computers, the Harvard Mark II, had a moth inside it, causing a malfunction
abacus
oldest computer - an old counting tool with wooden tiles
SQL DELETE vs DROP
Drop lets you delete whole tables
SQL CRUD functions
CREATE, INSERT
SELECT
UPDATE
DELETE, DROP