Programmer basic Knowledge program and CPU "Update 1"

Source: Internet
Author: User

I was a little white, but I learned something slowly through my study. Share it with the wrong lookout for big coffee guides.

We have to make it clear that we are learning programming rather than programming languages, and programming languages are just tools to make it easier for us to do a lot of programming.

    1. First of all, I was in the process of learning, the first lesson let me understand things (program and CPU Relationship)
    2. before we talk about the relationship between program and CPU, we need to understand what the 1th CPU is. The CPU is the central processing unit. is responsible for the control of our overall computer
    3. so we're going to have a deeper understanding of the 1th, how does the same result make it possible for the whole computer to be implemented?
    4. This problem is well solved by registers, controllers, operators, clocks to build the internal environment of the CPU.
    5. So why is this system possible to control? Well, the register is mainly responsible for the short-term storage of the value of things, it can be said to store most of the data. The function of the controller is to be responsible for the register internal reading and writing and so on. The function of an operator can be so understood as a unit of logical operation that can assist the controller, register, and other functions. The function of the clock is very interesting oh, the CPU is not dead? With the function of the clock greatly let it live up, it refers to the frequency, tear down ha, GHz is what, haha is not very familiar. Okay, here's the answer. A GHz corresponds to an operation that processes 10 trillion times per second.
    6. So much of the CPU composition is about understanding how the CPU works. So we're going to say what the program is, the procedure is how we take a piece of data to calculate a sequence. Or so, order some orders and let it go according to the rules. The program contains two data and algorithms
    7. to say so much, to answer the core question: the relationship between the program and the CPU
    • code >exe> Load >cpu
    • We write a lot of effective code through some guys to convert to EXE can also be other, and then double-click on it can be executed.
    • The main one is a little : What we do is actually converting it into a program so that the computer understands and lets it execute so that's what I understand the program and CPU if it's wrong to look at Big coffee

say so many have found a problem, why do we write code, and then converted into Exe,exe what is it?

simply mention what our computer language is. Two high-level and low-level languages, and the high-level language has C language Ah, C++,java, and so on we human can understand things. So what's the low-level language? is the language that computers can understand, such as 0 and 1. All right, guys, I'll share this with you today, and next I'll share what I've learned. Write something like that. Objective 1 to review and share if the wrong points let me correct, 2 and the self-taught language of the small partners to grow together.

Programmer basic Knowledge program and CPU "Update 1"

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.