Programming Intro
By Online Security Authority on Oct 18, 2009 in Website Security
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.
Check my new on line degree and phd distance education web pages. Article Source:http://www.articlesbase.com/programming-articles/programming-intro-1345405.html
Written by: OSAblogger / Bill Wardell - Please Read Our Latest OSA eZine Edition
Other Places You Can Find Me…
Digg - LinkedIn - OSA Community - Facebook - StumbleUpon - MyBlogLog
If you're a concerned parent, you may want to subscribe to the: OSA~RSS while your here, please JOIN our: OSA Forum... also Follow Me On Twitter Thanks for visiting!
OSA Related Posts -
Facing the Information Security Hole in 2009 Facing the Information Security Hole in 2009: The unacknowledged threat to our homeland and financial security Every few days there is yet another breach of information security. And each breach seems to be The Biggest Ever, until the next one is announced. It is now widely acknowledged by security...... -
Finding the Security Suite that meets your needs Before proceeding to read this article, it is important that we state something up front. It is essential for the reader to understand and appreciate that there is no such thing as a secure operating system or web browser. While the use of security suites and other complementing products can...... -
Spyware On Your Computer Have you noticed an unusual number of popups recently? It could be that your computer has been infected by spyware. This computer software secretly installs itself on your computer and collects information that is sent to marketing firms, corporations and even criminals. Without you knowing it, your personal and financial...... -
Understanding Why You Should Want File Encryption Protection If you are on your computer daily, or even weekly, then you most likely have some essential information stored in files on it. Though you may lean toward thinking you are the only person able to read the information on the computer, unfortunately that may not be the case unless...... -
CMS: Build, Deploy, and Maintain Content-Rich Websites Web content management systems are installed to abridge and simplify the whole process of content creation. It is software or a program that automates the website submission to the search engines to gain much improved business revenue and site traffic, efficiently manages the content with a lot of ease. Some......
OSA Related Websites -
Malicious Websites Display Infections on your PC There has been an Increase in Websites that trick you into thinking your PC Has Been infected with malicious software. There are embedded Windows or Pop Ups that appear to be scanning your system & revealing your infected and then informing you to download their removal software These are fraudulent...... -
Android App Alert: Mobile Defense Hits the Market Android App Alert: Mobile Defense Hits the Market JR Raphael, PC World // < ![CDATA[ // < ![CDATA[ timestamp(1260915780000,'longDateTime') // ]]>Dec 15, 2009 4:23 pm The Android explosion is well underway -- and now, the platform's app market is starting to reflect the growth. The Android Market has just reached...... -
Role of Exercise in a Diet Sometimes people wonder about the role of exercise in a diet. They ask if it is really necessary, and they wonder if using an extreme diet alone can lead to weight loss without the need for exercising. There may be a few who question to role of exercise in a...... -
Weakend: Summer Summer Summer Time As many of you know I am getting married this fall. Getting married brings about many changes, including moving for many. Starting in August I will be moving and as I get settled Weakonomics may miss a few posts. Not only that but starting today I'm also on the...... -
The 2nd Tier Hi again everyone, I've got another great Affiliate Program for you to look at today! This one is from Russell Brunson and Brent Coppieters and it's called The 2nd Tier. It's absolutely FREE to join and you can promote up to 12 programs and products..that's 12 different streams of income......
























