Introduction To Programming at Computers

Computers Reviews

Computers - Introduction To Programming
Computers - computers articles
Computers - computers articles

Introduction To Programming

Introduction to Programming
Controlling Your Computer with a Programming Language

In a previous article, we introduced automating some tasks with MS - DOS batch files. In this article, we're going to introduce programming and describe how it can be used to control the way your computer works. Normally, computer novices aren't interested in controlling the computer. New computer users are typically interested in learning more about how the thing works. However they may be surprised to learn that programming increases computer enlightenment as a whole and it can help to diminish the trepidation associated with using a new computer.

Programming a computer is creating a sequence of instructions that enable the computer to do something. 1 The people who program computers ( called programmers ) use a programming 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 programming language and neither one is better than the incommensurable. Most of them are capable of performing the same tasks and achieving the same goals. A programmer chooses one language by a simple preference.

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

Now it would be outrageous to teach you how to program any language in a single gag. But we can at peace introduce you to some of programming's most basic concepts - starting with the commands we talked about earlier. Commands are the instructions that a computer follows to perform an action. 2 To make them work inside of a program, programmers assign commands to objects like buttons for example.

The commands in a mechanism are pretty inept unless they have some data to act on so programmers either give the programs some data to work with ( inventory of names or numbers since example ) or they make the tack begin it's own data. Sometimes, the data comes from an outside source like the Internet or the computer that the program runs on. The data that a program receives is called input and data that the program generates is called output.

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

That's when conditions come in handy. Conditions allow a program to perform an action based on the outcome of a previous command. 3 Using this type of instruction, we could instruct a program to do one thing if the " x " variable in our latter example turned out to be 7 days, and then do different thing if the variable turned out to be 3 days.

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

As we mentioned earlier, you can use a programming language to control your computer. By using walkover commands, you can program your computer to perform mathematical tasks, fill out web forms, compose an email message and send it off, or any number of other things. If you're interested, you may find Visual Basic is one of the most easiest programming languages to learn. Visual Basic is an object - oriented programming language and it automatically codes much of a modus the minute a programmer drags a button onto a screen.

 







2nd Computers - Introduction To Programming 2nd Computers - computers articles Computers - computers articles

 

 

More Computers Resources

To search the massive ebook directory, enter your search term in the box below



 

 

Search This Site

 

 

 

More Computers Articles


Selling Your Computer

... " computers are perfectly capable of accommodating the needs of young PC users, and they're excellent machines because playing educational CDs, small multimedia files, or games downloaded from the Internet. And don't forget the most important role they play in a child's homework - clad life: A simple ... 

Read Full Article  


Smartphones

... capture and relive a moment. And we want to share that notoriety with others. At best, smart phones give us the opportunity to express ourselves impromptu with entertaining results. Attempting to do the same with a bulky desktop computer or laptop is to cumbersome. Flush some of the smallest peripherals ... 

Read Full Article  


Dust Kills

... however should you find a need to clean the follower, do so with sovereign care. It's quite easy to cause more damage from cleaning so if you're not comfortable with cleaning your PC yourself, take it to a shop being servicing. Otherwise, you can unplug and disassemble the computer to do it yourself. ... 

Read Full Article  


Viruses

... downloads, and steady some types of virgin web scripting. Viruses that destroy data are recognized as Trojan horses, viruses that explode their attacks are called bombs, and viruses that duplicate themselves are called worms. Some viruses are a combination of each, however they can be further identified ... 

Read Full Article