What is programming?
Write a bunch of files in a programming language
Detailed computer.
CPU
Controller
operator
Memory
Main memory (RAM)
external memory (hard disk)
I / O device
Input device
output device
Description of the mechanical hard drive works.
Mechanical arm
Read data
Tracks
Storing data
Sector
Divided area
Average seek time
The average delay time
The average time to find data
What operating system?
Programming is the operating system of the hardware to simplify complex operations
What are the three major components computer?
application
operating system
hardware
Process briefly to start the operating system and applications.
Operating system boot process
1. Power on
2. Start temporary operating system
3. Provisional OS operating system boot
4. The operating system on, off the temporary operating system
Application process starts
1. Double-click the operating system sends commands to the application
2. The CPU sends instructions to the operating system
3.CPU send instructions to the memory
4. The memory acquiring application data transmission instruction to the external memory
5. The read data memory
6. The application is started
Classification of programming languages What? And to assess the advantages and disadvantages of each category.
Machine language
Advantages: High efficiency
disadvantages: low efficiency of development
Assembly language
Advantages: high development efficiency
disadvantages: low efficiency
High-level language
Compiled language
Advantages: High efficiency
disadvantages: low efficiency of development
Interpreted language
Advantages: high development efficiency
disadvantages: low efficiency
Outlined two ways to execute Python programs as well as their advantages and disadvantages.
Interactive
Advantages: easy debugging
drawback: You can not save, close disappears
Command line
Advantages: permanent storage, high efficiency
disadvantages: not easy to modify
pycharm use
jupyter use
Enter jupyter notebook