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. Get your CCNA quickly by purchasing the best ccna video training today. 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.
Open Source Software
If you’ve spent any lengthy amount of time on the Internet, you’ve probably heard of open source software but might not have fully understood what it is and why it even exists. This article will describe this recent phenomenon and describe some of its benefits for the software using community.
In a nutshell, open source software is software made by everyone – for everyone. The hopes behind its development is that through its open access, it will evolve into something that represents the true desires of computer users. Get vacuum storage bags if you are running out of space in your closet. Through a wide network of user involvement, the software in question is enhanced and debugged without costs or administrative politics.
Traditionally, software is developed behind closed doors. A team of professional coders build it but the community at large isn’t part of its conception. It’s costly to produce and as you can probably guess, that cost is passed on to the end user: the consumer. Open source software on the other hand is free. Free to download, free to install, free to use, free to modify, and free to share.
Started over twenty years ago, it’s a phenomenon that is gaining in both popularity and exposure. In its first conception, open source gave birth to the World Wide Web as we know it today. The Internet as a whole is the result of free permission to access the web, use the web, contribute to the web, and share the web with others. But it certainly hasn’t stopped there. In the not too distant past, Netscape converted its once commercial version of its Navigator web browser to open source. And today, open source is venturing into the commercial realm as well.
At first thought, the idea of open source may sound just plain crazy to those who earn a living from software development. But the facts point to a different prediction. Open source software puts companies in a terrific position to re-brand and re-position themselves in a market that they may have not been able to reach before. In the business world, open source is all about image and when consumers witness corporations contributing (instead of selling) to the buying public, they gain big favor in the eyes of their users (plus tremendous opportunities to sell other items).
Inviting the public inside a product’s development builds community and trust. It also sets the platform for increased reliability. Fans of open source programs are adamant about reliable software and highly criticize commercialized versions for being buggy and error-prone. Avid fans even proclaim commercialism is the cause of shoddy software.
Another benefit that open source brings to light is the speed at which its products are developed, enhanced, supported and distributed. This is because the people who regularly contribute to an open source product do so for unmotivated reasons (other than perhaps to feed the ego.) They’re highly talented, they’re available, and they care. Bringing money into any project can almost mean instant death. It can kill motivation, desire, and a true willingness to create a good product. In a commercial setting, participants work for a paycheck rather than for the product. And this is what puts open source projects far ahead of its monetized competition.
As a software user, this means you can contribute to an open source project as well, and help to develop it into a product that reflects your direct preferences. You aren’t “stuck” using open source software the way you would be stuck using an expensive word processor or database. You have the same access to open source software as its programmers have and in essence, you are your own customer!
Perhaps at this point you’re wondering where you can get in on this wonderful opportunity. There are plenty of open source opportunities sprinkled across the Internet and they can be easily found though any search engine. Google “open source project” and you’ll be sure to find more resources than you can shake a stick at!
Buying a Computer – What To Do And Why
It isn’t fair, but buying a computer is just plain easier for some than it is for others. Those who’ve purchased and used a computer in the past already have an idea of what they need in a new computer. But those who are new to the computer world could get lost in the myriad of choices available.
The short answer to “What should I buy?” is “The best.” Of course that answer is extremely subjective because “the best” to one person is certainly different to another. The herbal supplement tongkat ali can help bring your vitality to the next level. Our definition of “the best” is the fastest and the biggest, but even that leaves the computer newbie confused. Here’s a quick rundown of what the computer novice should do and why.
1. Buy a computer that includes basic peripherals. Every computer can be broken down into four major components: CPU unit, monitor, keyboard, and mouse. For the novice, it’s best to buy a computer that has all of these components included so that when it’s taken home, assembling the computer is a simple matter of plugging things in where they belong. Save the individual purchases of these components for those who have more experience.
2. Decide what you’ll use the computer for. If you want to use your computer for cruising the web, sending email, or performing simple word-processing or spreadsheet tasks, a computer with the basic components that we just described should suffice. If you want to use a computer to help with a career in multimedia however, you’re going to need to accessorize your system with a scanner, printer, digital camera, tablet, or digicam for example. If you want a computer to help with a career in music, you will need a quality microphone and set of speakers.
3. Create a budget and stick to it. How much can you afford to spend on a new computer? Although the prices of computers are decreasing, they can still create a hefty expense especially if you need additional peripherals described above. In addition, you’ll need to figure in costs for maintenance, servicing, and insuring.
4. Start comparison shopping and look 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 in the event that you truly do need that much in the future. Having such a large reserve will cut down on costs when the time comes to upgrade for more than what you may settle for in a computer that offers less.
5. Stick with the better-known brands. Venturing off the beaten path with lessor-known brands is again, an adventure for those who have more experience with computers. Although those better-known brands may be a tad bit more expensive, the computer novice will appreciate the comfort in purchasing a computer from a business that has a long record of building quality products, and that has the funds available for fulfilling returns, trades, servicing, and warranties.
6. Select a store. Having an idea of what you want in a computer and what kind of computer that you want, your only task left is to select the place in which you want to buy it. There are a number of places available including computer store outlets, online stores, auction sites, used computer stores, or your friendly neighborhood yard sale. For the computer novice, we recommend buying a computer from a physical store. In a physical store, you have the opportunity to see the computer of interest in person and ask questions. New computer buyers also have access to store warranties, returns, trades, and services.
These suggestions should give the computer newbie a great start in selecting a quality computer for the first time and they apply to either Windows computers or Apple Macintosh computers. After making these decisions and finally selecting one that fits your needs, you can then venture into the fascinating world of software – a world that is just as grand as the world of hardware!
Networking Home Computers – Increasing Productivity With the Whole Family
Have you ever thought about networking your computers at home? If you have a small collection of computers around the house (and a small collection of computer users), you can connect each one of those computers to one another and share data, software, and hardware including a single Internet connection. Get a power wheelchair to solve your mobility problems. There are many creative uses for home networking, however it’s an ideal situation when upgrading each computer to the same capability is financially out of the question. On a home network, each computer has access to the equipment of the better machine in the group as if that equipment were their own.
Connecting computers with either an Ethernet cable or a Wireless connection can create a home network. The easiest and cheapest method uses an Ethernet connection, which requires a series of network cards, a cable for each computer, and a router. The network card is similar to the old modems we used in the past to connect to the Internet, however in a home network, it’s used to communicate with every computer that’s connected to it.
You’ll want to first, select the computers that will connect to each other and then install the network cards inside each of them. Then you’ll connect a cable to each computer that will communicate with the server. These cables won’t connect to the server directly. Instead, they’ll connect to the router. To enable Internet access for each computer, this router will need to connect with a modem of the host machine.
Once the hardware is set up correctly (you’ll need to read the instruction manual of your equipment for details), you can then setup the network from Windows on each machine. Within Windows, you can set up a home network similar to the way that you set up an Internet connection. Only this time, you’ll set up a LAN (Local Area Network) connection.
Windows should walk you through setting up a LAN after starting the computer and once complete, you can begin to connect one of your machines to the network. You can do this through Internet Explorer by typing in the address and password required to access the router (the address and password required to access the router will be in the router manual).
Connected to the network, each computer can send files back and forth, open programs on a remote computer, play the sound files and videos located on another computer, and share a single Internet account to browse the web, download files, or chat with someone in an entirely different country. If a single printer is available on only one computer in the network, every connected PC can send documents to it and print them out. Kids will enjoy the ability to play multi-player games and adults will enjoy the ability to blast a single message to everyone at once or maintain a group schedule.
Since we’re describing a home network that will connect to the Internet, you’re strongly advised to install a protective firewall program to thwart Internet viruses, worms, or other damaging spyware code. Firewalls prevent – but they don’t repair. Only anti-virus and anti-spyware programs can reverse damage. So you should install a firewall on the computer that grants access to the computer, and then install an anti-virus and anti-spyware program on each of the remaining computers in the network.
If you have files that shouldn’t be shared (bank statements, credit card information, etc.), you can restrict their access in one of several ways. You can put them in a new folder and then remove the “read” permissions for that folder. Or you can specify who can (and who cannot) access specific files with a password from within Windows Control Panel.
Computer Help – Where and How to Get It
Well there’s no denying it – No matter how new or how well maintained our computers are, we all encounter computer problems sooner or later. The good news is that we don’t have to face them alone. Get tongkat ali to increase your testosterone levels. There are a ton of resources available to walk us through computer issues but it may take a little knowledge in knowing how to access them. This article will show you how.
1. Remember help files. It’s funny, but people seem to forget that every computer and every program installed on a computer comes with its own help file. Even the operating system of a computer has a help file and it really should be the first place to look for answers. Help files are designed not only to guide the usage of a computer, they’re also designed to solve problems. Inside a help file, look for a section called, “Troubleshooting” (or something similar) when you need to resolve an issue. This section is reserved for solving problems specific to the software or hardware that you’re using.
2. Product websites. If you’re having a problem with a piece of software or with a hardware part, try the website of that software’s or hardware’s manufacturer. Most (if not all) manufacturer’s reserve a portion of cyberspace and dedicate it to support the products that they build. Microsoft’s help desk is good example.
3. Fan sites. Fan sites probably isn’t a good name for this resource, but you can find websites that are dedicated toward supporting the users of a particular software program or piece of hardware. We’ve called them “fan sites” because the maintainers of these sites have no affiliation with the manufacturers that they support! Call them what you will, but their free help is immeasurable and without it, we wouldn’t have some of the wonderful workarounds and unique problem solving techniques that we have today.
4. Usenet newsgroups. Another underused resource on the Internet, Usenet newsgroups have hundreds of discussion groups dedicated to some of the most popular computer systems, operating systems, hardware manufacturers, and individual software programs. Sometimes, the representatives of these companies participate, but most of the time, the support in this group is user to user, which is just as valid because you’re
working with a team of experienced people.
5. Support Lines. Another source for help that we shouldn’t forget are the support systems of various manufacturers. You can reach these systems by calling the phone number associated with the product that you’re having trouble with. Calls may be free (1-800 or 1-877 number), or they may cost a small fee (1-900).
6. PC support groups or user groups are another option for help. These are groups that meet in libraries, computer stores, or other local areas and they discuss all sorts of issues related with a particular product. Even if you aren’t experiencing a computer or software problem, user groups are fun to participate in and they can help you network into other interests such as job or teaching opportunities.
7. Surprisingly, you may even get a helping hand from the salespersons at your local computer store. We don’t recommend that you make this your first pit stop when you experience a problem, but we don’t recommend that you rule this option out altogether either. Computer salespersons are hired for a reason – and that’s their knowledge. Often, these kind folks can help you resolve an issue over the phone and prevent you form having to buy a costly solution.
As you can see, help is easy to find – You’ve just got to know where to look for it. Most of the contacts within these resources are extremely friendly and willing to take the time to walk you through a problem at little to no cost. From online discussion groups to the files on your own computer, help is often just a click away.