Sunday, June 15, 2008

Computer Programming Basics You Should Know

Can you tell me how to make a bowl of cereals with milk? Too simple, right? You can probably provide a series of no-brainer steps that I can perform in less than a minute. Now try asking a computer to do just that. A seemingly easy process has now become complicated.
Introductory Action
Computer programming is a whole new world of possibilities. Quite surprisingly, programming actually began in the 1200s, when simple machines were devised to perform simple mechanical jobs. It has grown both as an art and as a science since then, making available the technologies that have made many aspects of our lives easier and faster.
Once you start grasping computer programming techniques, you will have to go through:
- The basic concept of the discipline
You will need a good background in the field in order for you to know how it really works. A solid foundation of basics of computer programming will make it easier to comprehend its details, including procedures, steps and other instructions.
- Understanding the types of programming
Basically there are two types of programming, each of which has its own uses and set of advantages and limitations. Procedural programming is of much use since it is a really easy and simple method to tell a computer what to do. It is also the core of many computer languages. Basically, it is an input-output operation, where a user or programmer inputs several instructions and a computer performs those instructions. Learning procedural programming helps new programmers learn elements such as sequence, selection and iteration.
The other type of programming is object-oriented, which is relatively new. This type of programming treats inputs as a set of objects. In object-oriented programming, you will learn object properties, event handlers and methods.
You will learn both types of programming as part of a basic course. Using the cereal and milk analogy, for example, you will be able to prepare a code that will tell a computer how to pour the right amount of cereal into a bowl and how much milk to use, in that order. And if you are truly good, you can even tell the computer what specific type of cereal and milk to use.
- Grasping the nature of the code
Programming codes power a computer program. Codes vary in design and use as per the language. Codes are at the heart of a computer program and will be one of the basics you will learn in programming.
- Learning problem-solving
Problem solving consumes so much time – how to write a source code for a desired end result, how to fix a bug, how to solve a glitch, how to put things together or in sequence so they work. You will learn how to look at a problem, break it up in parts and find solutions.
Thinking logically
If you are not a fan of mathematics and logic, you will be dismayed to know that many of the computer programming fundamentals you will be learning will require you to think in numbers, figures and sequences. However, these basics are easy to learn, if you show enough patience and follow the right steps. Once you have grasped the skill to think like this, you are well on your way to a great career as a computer programmer.

No comments: