Mon. Oct 26th, 2020

Computer Programing

Computer programing is creating a succession of commands that enable the computer to do some actions. The people who program computers (called Computer Programers) use a programing language to communicate with a computer. You might have heard of some of these languages in the past such as Visual Basic, C++, or Fortran. There are hundreds of other programing language and neither one is best than the other. Just about all of them are capable of executing the same tasks and accomplishing the same goals. A programer chooses one language by a simple preference.

Each of these languages differ by the way they communicate with a computer, the commands that they abide by are very specific. Not a single command of one language can be exchanged with the commands or language of another. But all of them can be used to control a computer.

At present it would be impossible to teach you how to program any language in a single article or lesson. But we can still introduce you to some of programing’s most basic concepts – starting with the commands. Commands are the instructions that a computer conforms to perform an action. To make them work inside of a program, programers assign commands to objects like buttons for example.

The commands in a program are pretty worthless unless they have some data to pursue so programers either give the programs some information to work with (list of names or numbers for example) or they make the program generate it’s own data. Occasionally, the data comes from an outside source like the Internet or the computer that the program resides. The data that a program receives is called input and data that the program generates is called output.

Other times, the data is unknown. If the program were working with a simple algebra equation like, “x + 5 = y,” the variables “x” and “y” would be unidentified pieces of data. Or if a program were to calculate a date “x” days from now, the variable “x” would be an unidentified piece of data until we tell the program what “x” is. In programming, it’s sometimes required to work with unidentified pieces of data.

That’s when conditions are convenient,conditions allow a program to execute an action based on the event of a previous command. Using this type of command, we could instruct a program to do one thing if the “x” variable in our latter example turned out to be 9 days, and then do different thing if the variable turned out to be 31 days.

Commands, data, variables, and conditions help build the most simple programs and there are certainly more components of any programming language. But when they’re typed into a programing language and compiled to create an executable file (a file ending with the .exe extension), they turn into a software application.