Computer programming explanation

Computer programming is the process of designing and writing computer software. This is straightforward, right?

In its simplest form, you can think of programming as giving instructions to a computer to do something you want to do – which might sound very similar to how your desktop computer works. Simply put, the only difference between what you now do as a computer user and what you can do as a computer programmer is that the instructions are kept somewhere so that they can be used over and over again. In fact, if you’ve used macros in a program like a word processor or spreadsheet (or countless other apps that have macro enabled), you’ve programmed your computer of some kind.

Programs can be as simple as a set of instructions stored in a text file to do some mundane tasks, such as making backup copies of all computer files in a folder, or as complex as something like a word processor, or an operating system that your computer uses that can require millions Lines of code. We need to understand that computers, which are usually just pieces of metal, plastic, silicon and other materials that hold them together in a way that allows them to do some amazing things that seem like thinking, can’t really think at all. But what they can do very well is to follow the instructions. So what are these instructions, anyway? At the level that the computer understands, these directions must be very precise, very detailed, and very complete step-by-step, and they must be in a form that the processor and other parts of the computer can understand – and this is like small electrical impulses that humans cannot release (at least not in time). Present).

Somehow, you can think of a computer program like a recipe: a set of instructions that can be followed to produce a result. In the case of the recipe, the instructions are used by humans, and therefore can be a bit descriptive, leaving some detail. For example, if the recipe instruction is “Pouring the mixture into the mixer and whip until dung,” it is assumed that the person knows what the mixture is, where it is made, how to prepare it and how to use it. It – as well as what does pouring mean, what does foam mean, and so on. The human chef is expected to fill in the gaps. The computer can’t do it – they have no idea what anything means, except for some very simple guidelines. So the way we do is to give a person a way to write instructions that can be translated into something that the computer can understand. The “method of writing instructions” is called the programming language.

What the programming language allows us to write computer instructions in a format that is more readable or less than human and can then be translated into something that the computer can work with. Usually readable human instructions (do you think about it) – code! Each line of human readable code translates into thousands of detailed computer instructions. A special program (or set of programs) is used to do this translation – every computer language has its own translators, which are called translators or interpreters. Once the translation is complete, the result is stored in some form such as a file or a group of files (or in the computer’s memory in some cases), and every time the program is run, the computer will follow the instructions and (hopefully) in the program you will do all of the You are supposed to do.

Although he often imagines you have to be a genius to be able to write useful software, almost anyone with computer experience and who has an interest in becoming a strong user can learn programming. Most programs are written by ordinary people with specialized knowledge and skills. Mastering computer programming can be lifelong, but gathering enough knowledge and skill to be able to do useful things isn’t out of reach for anyone who knows how to use a computer and is willing to devote a little time … or maybe a lot of time, but still – Not out of reach.

    Leave Your Comment

    Your email address will not be published.*