How does a computer program work

Download How does a computer program work

Post on 25-Jan-2017

26 views

Category:

Software

20 download

TRANSCRIPT

How Does A Computer Program Work?

How Does A Computer Program Work?

SafeBytes Software

The computers that we use on a daily basis are complex devices, a fact that is often ignored by most people. In order for them to run, computers need software, which works in sync with hardware, to enable us to achieve the various functions for which computers are famous. Software on a computer can be defined as the programs or instructions that enable it to function. But, you may be asking yourself how a computer program works.

Scan Your Computer with TotalSystemCare from SafeBytes

Before answering that question, we need to first point to the importance of keeping your computer in perfect working order through the use of computer performance optimization utilities. The sad fact about computers is, however, that most people do not bother maintaining them.

This is one of the reasons why a lot of people encounter so many problems with their computers. Failure to optimize your PC's system can cause it to slow down and, in the most extreme of circumstances, freeze or even crash.

That is why we recommend you keep your PC in perfect working order using TotalSystemCare from SafeBytes.

TotalSystemCare is a lightweight PC performance optimization utility that has been designed to boost your computer's speed by identifying and fixing registry errors. This useful program also comes with another great functionality; it can detect the adware and tracking cookies that are used by criminals to steal personal information from your computer.

How Computer Programs Work

The programs that are on your computer work by telling the central processing unit (CPU) to accept certain input in a certain way and to spit out the output in another particular way. As you might have guessed, the CPU plays an important role in all this in that it is the one that does all the processing and calculations on a computer.

The CPU that is on your PC contains billions of tiny transistors that use electricity to enable them to carry out the binary functionality that defines computer programs. To better understand what we mean, computers use a binary system (1s and 0s) to process and store information. This system is represented by the transistors' on (electricity is applied) and off (no electricity) states. All logic on a computer is implemented by the logic operators "On," "Off," and "And.

Computer programs work by telling the CPU to access input in a given way, manipulate it in another way, and then present the results as desired.

As an example, the calculating programming (calculator), which comes basic with all computers, tells the CPU that is on your computer to accept numeric input from the keyboard. Unlike the word processing application that is being used to write this article, the calculator does not access input that comes in the form of figures.

As you type in the words that you wish to, for example, add, the calculator program tells the processor to display them on your computer's screen. Once you have entered all your numbers and have pressed the equals sign on the application or the key "enter" on your keyboard, the CPU then does the logical calculations and displays the results on the screen.