Introduction To Programming

View All Available Free Gifts

View Article Categories

Ad Your Own Free Gift To This Site

Directory Submitter

Master Rights Included

Boost Your Link Building and SEO Efforts Instantly.
Contains over 200 directories that you can submit your sites to.

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 knowledge as a whole and it can help to diminish the fear 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 other. 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 be interchanged with the commands or language of another. But all of them can be used to control a computer.

Now it would be impossible to teach you how to program any language in a single article. But we can still 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 program are pretty useless unless they have some data to act on so programmers either give the programs some data to work with (list of names or numbers for example) or they make the program generate 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 unknown. If the program were working with a simple algebra equation like, "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 "x" would be an unknown piece of data until we tell the program what "x" is. In programming, it's sometimes required 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 extension), they turn into a software application.

As we mentioned earlier, you can use a programming language to control your computer. By using simple 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 program the minute a programmer drags a button onto a screen.

 

 
Translate Page Into German Translate Page Into French Translate Page Into Italian Translate Page Into Portuguese Translate Page Into Spanish Translate Page Into Japanese Translate Page Into Korean

More Articles



Advertise Here



Search This Site

 

Blog Buzz

Master Rights Included

Blog Buzz offers the easiest and fastest way to locate related blogs in any niche you choose which does not have the nofollow attribute.
This will help you to compile a list of blogs you can leave comments on and build a ton of backlinks instantly!

Link Checker Software

Master Rights Included

Check for the number of backlinks you have on six major search engines and databases and also the number of pages you have indexed on the Google, Yahoo and MSN for any website you enter.
You can also use it to spy on your competition!

Free Website Hosting

Better Than Paid Hosting

We provide you with the most reliable and feature-rich web hosting service without advertising. Includes Website Builder Software.

 

More Articles


Protecting Children Online

... supply it and that you're the one who does it. Performing all of these steps won't be easy. However you can help minimize resistance to your monitoring efforts by explaining why you're taking these precautions. Smaller children will probably enjoy the time you spend together at the computer, but older ... 

Read Full Article  


Basic GUI Terminology

... computer screen. Status bar - this part of a program is located at the bottom-most part of its interface, and it usually displays small messages that indicate the progress of a command or task. If programmed incorrectly, an application might display the wrong information in this area. Context menu - like ... 

Read Full Article  


Buying A Computer

... for the "fastest and biggest." By "fastest and biggest," we mean the computer with the fastest processor, the fastest modem, the biggest memory, and the biggest hard drive capacity. Even if you think that you'll never need the amount of speed or space available on the market today, it's important to have ... 

Read Full Article  


Customizing With Preferences

... because the computer is a mere platform - a blank canvas, if you will - waiting for you to direct its operation or paint the picture of the perfect machine. All this is possible from making just a few changes in your computer's current configuration. Your computer's main configurations are housed in Windows ... 

Read Full Article  


Cheap And Fast Software

... price range rival even Microsoft's Office suite. Another advantage that shareware has over commercial software is its compatibility. We're not saying that shareware is compatible with all operating systems. What we're saying is that since we can try shareware before paying for it, we can determine if ... 

Read Full Article  

 

Powered By Affiliate Buzz

Includes templates for promotional tools

Discover How This Cool Affiliate Promo Page Generator Can Help To Skyrocket Your Affiliate Program Instantly! Provides your affiliates with ready made promotional tools that they can instantly use for their promotional efforts.

 

 


Use of this site signifies your acceptance of the following:
Disclaimers And Terms Of Use   Privacy Policy   Copyright Issues   Earnings Disclosure

For any legal/copyright issues with any ad appearing on this site, please click here