Computer architecture composition and hardware and software working principle

Source: Internet
Author: User

In this internet age, almost everyone is dealing with computers, but most of them are even some it "insider", it may not be a lot of knowledge of computers, perhaps most people only know how to hit the keyboard, press the mouse, download software or browse the pages or something, but as to what the computer is composed of, or specific how to work is not very understanding, today small make a brief summary to help you have a preliminary understanding.

The computer architecture consists of 5 parts:

1. Arithmetic device

2. Controller

The first and second together are simply the cups of our computer, such as an adder, Addend and Summand are taken from memory by the controller. Of course, the Cup also includes registers (temporary storage data), cache (because the CPU runs much faster than the memory execution data, so can be cached to improve the overall speed of computer processing), so judging the cup is good or bad, not only to see the CPU has a few cores and the main frequency, but also to see the cache parameters.

3, Memory: Simply speaking, we often say that the memory, which can store data and instructions.

4. Input device: keyboard, mouse, etc.

5. Output device: Display, etc.

Also: the hard drive is a secondary storage device that can be used as an input device and as an output device

How can a computer handle several programs at the same time?

Cups are fragmented by time, memory is partitioned by space, but how specific resources are allocated to each program requires the operating system to collaborate.

Operating system concept: is a general software, this software does not realize the specific function, it is in the program to play a cooperative function, to achieve a reasonable allocation of resources. The program is not able to work directly with the hardware device, need through the operating system of this middleware, the operating system can simply include: Kernel and library files. A program operates on a hardware device by calling the library file, because the kernel is very low-level. A library file is code that some companies or organizations write to implement some specific functionality.



This article is from the "Forget the Past" blog, please be sure to keep this source http://xujingbo.blog.51cto.com/4633099/1811681

Computer architecture composition and hardware and software working principle

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.