What is a computer
Tools, used to play games/choose girls/read novels/read books/watch movies, the computer helps you complete your needs
Sweeping robot (computer): sweeping the floor
Manipulator (computer): processing products
People (noble people)–“Slaves do it.
Producing slaves (machines (computers))
Computers are for us humans: slaves, fulfilling our needs,
The history of computer development
1946, military use, decrypting codes
Designing the route of missiles
How to pass The computer fulfills our needs
If there is nothing, the computer is scrap copper and rotten iron
- Charge
- Turn on (start a thing—” Controlling scrap copper and iron)
Classification of computers
Hardware: scrap copper and iron
Software: except Scrap copper and rotten iron is software
operating system
It belongs to software, a thing written by us humans, virtual
provided by operating system What is it for us: control scrap copper and iron
Create a file (provided by the operating system): store data, one character by one
programming language
h1>
Is there a difference between programming language and language?
Language: The medium of human-to-human communication
Programming language: The medium of human-computer communication
The role of programming language
Building operating system
Building software
What is programming
When writing software, you are writing File, the process of writing files is called: programming
These files are put together to generate a qq software, and then the software can achieve our needs
Classification of programming languages
Computers only recognize high and low voltage electrical frequencies. High and low voltage electrical frequencies are considered as 0 and 1
I wrote a thing that can be controlled The high and low voltage power frequency is actually controlling the hardware, in fact, it is controlling the computer
Operating system, providing the concept of our files
machine language
Interact directly with the computer
01101010101101011111000001011010101010010100
assembly language
What is the English representation of 0 and 1
High-level language
Different translation methods
Explanation (dynamic)
Like a human translation Official (simultaneous interpretation), say one sentence and translate one sentence
One sentence in python can be explained once
compile (static)
Google Translate , Translate all your words at once
c finish writing and compiling, and then output the result