Python Getting Started learning day 01 Computer Basics

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.