Showing posts with label Chapter. Show all posts
Showing posts with label Chapter. Show all posts

Thursday, December 15, 2011

Computer programming: Chapter: 01 - Introduction


Introduction

Before you jump and learning a programming language, will be helpful it for you, if you understand what programming is and how it works, including some programming terminology.

A computer is only a useless box. It is mounted in a single unit nothing but a number of different hardware elements. These hardware elements are at this point either together or individually of any use. This is as good as a car that has been compiled. The car is of use without fuel? In the same way, we must provide the computer with fuel, in this case its power (though there were some types of mechanical computers, here we are relative to electrical machines). At this point, a computer is essentially just a big bunch of tiny electronic switches that are either on or off. Now, this is as good to drive like a car with enough fuel and threats can be, but no driver.

We need a driver who can work, steering wheel, gear, breaks, etc., making to move the car. In the same way by setting different combinations of these options can you the computer doing something, such as a video on the screen play or play make a music video on their computer speakers or opening a file, and so on. Now tell a computer if nothing but issue a computer these switches and when she turn off it in other words, what to do. This is programming in very simple terms.

Programming often refers to computer programming. So now brings to our first and important question!

What is programming?

Computer programming is general programming or coding which do art of making a computer that you want to do it. Programming in very simple terms is to write programs. Written a sequence of instructions to perform a specified task for a computer is often called program, but is referred to as a software program or even computer program. A computer is only hardware requires instructions to act. These instructions are calculated CPU in the running.

Programming plans like a problem to solve. Regardless of which method is used - pencil & paper, slide rules, adding machine, or a computer - problem solving requires planning.

On the basis of the above definition, planning programming such as a problem to solve. So, here we are not really to solve the problem, but the computer will do it for us. If we solve the problem, then there is no need to write a program and therefore we do not need a computer is not.

Then why we need a computer, simply because we know how a problem to solve and also know to instruct, to do a computer for us, but not to the speed and accuracy with which a computer can do it. Also we do again the same work tired and bored and again, but the computer can do the same job a zillion times with the same speed & accuracy as the first without are bored to or tired.

We take a simple example of the calculation of the sum of all the even numbers from 1 to 1,000,000. This is not something the we do not, but the time, which required the possibility of an error at some point of time, requires amount of resources to calculate, if we use a pen and paper or a computer, and other similar reasons make an undesirable option. About & about what happens if we need between the different numbers again to calculate? It is human difficult. But by writing a program, we can do this in less than 5 minutes. At the same time we can do to do to keep same program again for any number of calculations and also we can accurate results in seconds.

I can instruct the computer to any number, add it with the next and add from there on each next number of the previous sum until we reach specified upper limit. Look what you need to understand not to these statements for their accuracy, but, here, that is, I can instruct a computer to solve a problem only if I know how to do it. This means that, if I know the solution to the problem, there is no point even trying a solution.

You can an example of a taxi driver on the road, but who is new to the city. With this taxi driver can we not just get in the car and please drive him, at point a. We need to give him proper instructions on the route that he needs to take in order to achieve the goal. I can give the instructions on the track it, unless I know how. Otherwise be a futile effort.

In the same way, it attempts no sense also, a program to write until you have the knowledge of how you are, put you on the problem to solve.

Put in simple terms, is programming a computer tell what to do. Although it seems pretty simple, it is very complicated. You have concerns about two things here:

The important point here is that computer speak no English. Since a computer is a machine of only two basic concepts understands: toggle. That on and switching off is called concept binary system with 1 represents and off, represents 0. Therefore, computer know only one language, which is known as the binary language of 0 and 1.

The second important thing is that your information should be accurate. As I mentioned earlier, a computer on your own is only a useless box. There is nothing but a number of different hardware elements mounted in a single unit.

So have you instruct a computer, must you tell them exactly what to do.

Now hopefully have you know to the complexity of programming.




Visit http://www.iGnani.com

Note: We do not to pay for content on our Web site questions
-Freies training on computers through video tutorials.
Forum for questions answered.
-Blog to reference materials, example code and much more.
Online-test yourself on your progress to evaluate.
-Soon, live training to the members will be put at the disposal.

You know through the exchange of know.





This post was made using the Auto Blogging Software from WebMagnates.org This line will not appear when posts are made after activating the software to full version.