This python programming language / basic computer / operating system

A, python as a programming language

  1, language

    A thing and another thing to communicate, convey ideas, is bound to need a medium.

    The medium of communication between people, is the world's wide range of human languages, such as our Chinese, others such as English, German and so on.

    Early humans, through slavery slaves, using slaves can understand human language transfer instructions to facilitate their operations for their own purposes.

    That is, people ====== "human language (instruction) ======" slave

  2, programming languages

    The nature of the programming language is a language, its basic purpose is to communicate something, but this thing is no longer human, but computer.

    Is substituted with a slave computer was invented, humans can be appreciated by transmitting computer language instructions, a computer in order to achieve the object for human work.

    This computer can understand language, it is the programming language.

    So the evolution of human ====== "programming language (Instruction) ======" Computer

Second, basic computer

  1. What is the computer

    With the overthrow of slavery, human to human liberation, need to find a job can replace slaves to their things, the invention of the computer, commonly known as "computer", including the expectations of the ultimate human computer.

    That is, the computer development in the end, it can replace manpower capable of any human work, but also more efficient.

  2, why have a computer

    To replace human instructed to perform the human behavior, the liberation of human beings.

    Thus all computer design, is a mimic human organs or functions.

  3, the composition of the computer

    ①, Controller: computer command system, is responsible for controlling other components of the computer work.

    ②, operator: responsible for mathematical and logical operations.

    ① + ②, CPU: a collection of controllers and operator core member made of a computer, the human brain analogy.

    ③, memory / IO devices: a computer memory, is responsible for data access.

      It is divided into memory: based on electrical work, access speed, but the loss of power failure, so only temporary access to the analogy of the human brain and memory function.

      Further, the external memory: i.e., a hard disk, a magnetic-based work, much slower than the memory access speed, but the power data is not lost, for permanent access, analog notepad human use and the like.

    ④, the input device / input device: such as a keyboard, mouse or the like.

    ⑤, the output device / output device: such as monitors, printers and the like.

    Summary: three core computer hardware: CPU, memory, hard disk. Run a program is closely related to these three core hardware.

      That is, people in a programming language programming to command a computer to work, you must call the three hardware.

      Process: The program stored in the hard disk ====== "====== loaded into memory," the CPU reads the program (instruction) from memory ====== "control other components running

Third, the operating system

  1, the operating system concept

    The nature of the operating system is a program for the coordination, management, control program for controlling a computer hardware and application software.

    The basic operation of function may control hardware, the hardware complexity of the package into a simple operation functions to the upper applications / users to use.

    For example, file: a kind of hard disk operation functions provided by the operating system.

  2, the classifying procedures

    Applications: Applications written using correlation logic program, a wide range, such as STORM, Tencent QQ like.

    System program: the operating system direct control of the hardware, such as windows, linux like.

    Summary: The hardware itself is a bunch of machines, and does not automatically run, must be controlled by software to action, so that the software is the soul of the computer.

  3, three-tier structure of the computer

    Applications ====== "Operating System ======" Hardware

  4, platform

    Concept: Computer Hardware + = operating system platform. + Windows system such as Dell, Lenovo + linux systems.

    Cross-platform: refers to the application of cross-platform, whether a piece of software can run on any platform, is an important indicator of the level of quality of the software.     

 

    

 

Guess you like

Origin www.cnblogs.com/caoyu080202201/p/12393079.html