Getting Started with Python day 01
As a little white who just learned python, the first thing I learned was not the basics of the Python language, but rather a preliminary understanding of the basics of the computer, and the following is what I learned before I learned Python.
1. What is a programming language
Language is the medium in which one thing communicates with another.
Programming language is a medium for programmers to communicate with computers
2. What is programming
Programming is a program that follows the syntax of a programming language to express what it wants the computer to do.
The result of the expression is the program, the program is a series of files
3, why to Program
In the process of programming, the computer is like a human slave.
The purpose of our programming is to allow computers to work in lieu of humans, thus liberating human beings.
4. Fundamentals of computer hardware
Five major components:
Controller: Command System
Arithmetic: Mathematical operation + logic operation
Memory: Access Data
Memory:
Advantages: Fast access speed
Cons: All power loss data is lost
Hard disk
Advantage: Data is retained after power failure
Cons: Access speed is much slower than memory
Tape
Input device: Keyboard, mouse, webcam, etc.
Output devices: monitors, printers, etc.
cpu= Controller + operator
Memory equivalent to human memory
External memory/HDD equivalent to Notebook
Three core hardware related to running the program (FOCUS)
Cpu
Memory
Advantage: Faster access speed than hard drive
Cons: All power loss data is lost
Hard disk
Advantage: Data is retained after power failure
Cons: Access speed is much slower than memory
Run a program through the process
The code is loaded into memory by the hard disk, and then the CPU goes to the memory to read the instruction and then executes
4.1 CPU Detailed
cpu-"in memory
Understanding Knowledge:
CPU has backward compatibility
64 of the CPU can execute 32 of the software, but 32 of the CPU will only execute 32 of the software
4.2 Memory:
BIOS is a system that comes with a computer motherboard
Bios:basic Input Output system
5. Operating system (emphasis)
The essence of the operating system is a software that is designed to help us control the hardware
The operating system is located between the computer hardware and the application, which is used to coordinate, manage and control computer hardware resources and software resources.
The operating system is subdivided into two main functions:
1, the complex hardware operations packaged into a simple function to provide users/applications to use
2, the competition of the hardware of multiple tasks becomes orderly
A completed computer system should be divided into three parts:
Application software
Operating system
Computer hardware
The above content for this study to the knowledge, if in doubt welcome to point out and discuss.
Python Getting Started learning day 01 Computer Basics