I guess I’m a bit old now that I cannot remember almost half of my computer knowledge. So now I decide to write things that I still can remember before they gone with the wind. And now I’ll write about BASIC computer programming. It’s a bit of old school, but I thing it can help you if you just starting to learn about computer programming.
Ok, I think everybody know that “Programmer” is someone who creates computer programs – also known as “software”. If you read up to this point, you might get interested to be a programmer, so I’ll try my best to guide you to be one. But, before we start creating a computer program we need to know more about programming it self.
Basically computer are doing “processing” to create “output”. This processing happens internally on computer’s processing unit and then the result will be presented on output devices – eg. monitor, speaker, printer, etc. There is one more element of computer’s work flow called “input”, but we’ll come to it later.
Computer cannot think by it self to create the output. So here come the programmer’s part to tell the computer’s processing unit what to do to get the desired output. Yes, that simple.
To be able to tell computer what to do, one needs to speak – or write, to be exact – computer’s language.
Programmers divides computer level of language into a bunch of catagories, but I divide this computer language into 2 levels to make thing easier:
- Low level = language that provide communications (almost) directly to hardware. By saying that, it means this language is specific for each processor. With low level language, programmers tell the processor exactly what to do. It’s very hard to master (for me at least).
- High level = language that very close to human language, usually easy to understand and easy to write. But programs written in high level language needs to be interpreted to low level language before it can instruct processor what to do. So by using high level language, programmer need other tools called “interpreter” or “compiler”. I’ll write the differences between these two tools if I have more time later. There are hundreds of high level programming languages. Some of the famous ones are BASIC, C++, Java, Perl, and Phyton.
On part 2, we’ll start to learn using a high level programming language that I’m most familiar with, which is BASIC programming language.
Thanks for reading, comments and critics are welcome.