Python Computer Basics

Source: Internet
Author: User

1. What is a programming language?

The media the programmer communicates with the computer.

2. What is programming?

Programmers make computers do what they want to do based on the syntax of a programming language, and the result is a bunch of files.

3, why learn to program?

Let the computer replace human work and become a Slave to mankind.

4, the computer's five major components and functions, the composition of the CPU

① Controller: The computer's control center, equivalent to the human brain.

②: A part that runs arithmetic operations and logical operations.

③ Memory: A part of the data and program used to hold a computer. Main storage (memory bar), external memory (disk, USB memory card), respectively.

④ input Device: The device that helps the computer input has a keyboard, mouse.

⑤ output device: The device that helps the computer output has a monitor, a printer.

Controller + operator + Register = CPU

CPU---X86, the CPU has backward compatibility.

How it works: instruction----decode--Execute

The execution of all software is done by the CPU.

Memory (RAM):

Memory Strips

Advantages: fast access speed,

Cons: Small capacity, temporary storage, power loss

Disk

Advantages: Large capacity, permanent storage,

Cons: Slow access speed

5. Memory type, direct speed and capacity sequence:

Time Storage capacity

1ns Register <1KB

2ns Cache 4MB

10ns Memory 512~2048MB

10ms Disk 200~1000GB

100s Tape 400~800GB

6, a program to want to run from scratch, CPU, memory, hard disk parts of how to work?

1 Charging

2 BIOS detects CPU memory hard disk "COMS

4 Load bootloader.

5 reading the operating system kernel

Python 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.