(2) A collection of instructions that tell the computer what to do. A program is generically known as "software" and the programs users work with, such as word processors and spreadsheets, are called "applications" or "application programs." Thus, the terms software, application, program and instruction are synonymous in the sense that they all tell the computer what to do.
A program is written in a programming language, such as C or C++, and the statements and commands written by the programmer are converted into the computer's machine language by software called "assemblers," "compilers" and "interpreters." The program contains machine instructions, buffers, constants and counters.
Instructions, Buffers, Constants and Counters
Machine instructions are the directions that the computer actually follows, and they embody the program's logic. Buffers are reserved space, or input/output areas, in the program that accept and hold the data while they are being processed.
Constants are fixed values used to compare the data against, such as minimums and maximums and dates. Menu titles and error messages are another type of constant. Counters, also called "variables," are reserved space for summing money amounts, quantities, virtually any calculations, including those necessary to keep track of internal operations, such as how many times a function should be repeated.
Input-Process-Output
The program calls for data in an input-process-output sequence. After data has been input into one of the program's buffers from a peripheral device (keyboard, disk, etc.), it is processed. The results are then output to a peripheral device (screen, printer, etc.). If data has been updated, it is output back onto the disk.
The Application Talks to the OS
The application program, which does the actual data processing, does not instruct the computer to do everything. When it is ready for input or needs to output data, it sends a request to the operating system (OS), which performs those services and then turns control back to the application program.
The Illustration Below
Following is a conceptual illustration of a program residing in memory. In the physical reality of memory, everything would be binary (0s and 1s).
Although represented as tiny, black blocks below, machine instructions can be variable in length, and they reside in the program in some logical order. Noted as arrows below, some of the instructions would point back to the beginning of a routine or to other parts of the program.
For an understanding of what the computer does to process data, look up computer and read about The 3 C's (calculate, compare and copy).
Anatomy of a Program
A program is made up of machine instructions, buffers, constants and counters. The program's logic is embedded within the instructional sequence.
![]() | Reproduced with permission from Computer Desktop Encyclopedia. Copyright (c) 1981-2008 The Computer Language Company Inc. All rights reserved. |
Additional Resources
- YouTube vs. Viacom: Google's IP wins; Users lose
- Updated: The latest battle in Google's ongoing court battle with Viacom over YouTube copyright infringement is a glass half full or half empty situation. In the half full department, Google scored a legal victory as a judge shot down Viacom requests for the search giant's search code and other critical...
- Blog posts 2008-07-03
- Antivirus vendor introducing virtual keyboard for secure Ebanking
- Antivirus vendor introducing virtual keyboard for secure EbankingThe price of securitySecurity always has a price: any image of security is associated with an assumption of security. At best, that assumption matches the true security. In reality, I believe it always falls slightly short.Someone who uses this may decide...
- Discussion threads 2008-07-02
- Antivirus vendor introducing virtual keyboard for secure Ebanking
- Kaspersky's most recent product launch of the Kaspersky Internet Security 2009, is featuring a virtual keyboard "a secure pop-up that enables logins, passwords, bank card details and other important personal information to be entered safely to prevent the theft of confidential information" aiming to protect users from keyloggers, and consequently...
- Blog posts 2008-07-02
- Guest post: An ode to the humble spreadsheet
- Guest post: An ode to the humble spreadsheetMissing Advances"Inevitably, the spreadsheet came up ... that statement touched off a minor storm of comment. Spreadsheets were immediately taken to task as being far too error prone."Same ol', same ol': I've had a few comments in these forums recently for suggesting...
- Discussion threads 2008-07-02
- Torrent admin is 'felony infringer'
- Torrent admin is 'felony infringer'Felony infringerYes, I would agree that this extends beyond fair use... Book'em Dano.RE: Torrent admin is 'felony infringer'I do not think it is right but if it is made out as such a major deal then what is it doing all over the internet Bittorrent...
- Discussion threads 2008-07-02
- Tiller Beauchamp on the Recon 2008 conference
- Guest Editorial by Tiller Beauchamp Earlier this month I had the opportunity to present RE:Trace at the Recon conference, a reverse engineering conference held every other year in Montreal, Canada. The conference consisted of three days of training and three days of talks in a single track. Topics...
- Blog posts 2008-07-02
- Microsoft Equipt: good deal, lousy name
- Microsoft Equipt: good deal, lousy nameJust what is "Equipt"?This name certainly does not contain any hint as to why someone would want it. Product names should be at least somewhat related to the purpose of the product.I also dont like software subscriptions. It seems that they are simply another way...
- Discussion threads 2008-07-02
- New Microsoft Office subscription bundle to hit in mid-July
- New Microsoft Office subscription bundle to hit in mid-JulyVery nice comboI can't wait for computer manufacturers and builders to start bundling this with systems. Seems like a good idea - like software assurance for home users.RE: New Microsoft Office subscription bundle to hit in mid-JulyI think you can have...
- Discussion threads 2008-07-02
- No crazies: 10 steps to kill IT failures
- No crazies: 10 steps to kill IT failuresRe: exit stragegiesI think that, in regards to the first point of making it possible to pull the plug easily, that piece of advice should be given considerable thought before being acted upon. It is a sound, responsible thing to do to...
- Discussion threads 2008-07-02
- So about that Microsoft licensing
- So about that Microsoft licensingpenny wise and pound foolishIts not about giving $20K to Redmond. Its about users/teachers being productive and getting the work done so that they have more time to focus on the students.Saving $100 for a licence over the life of the software is nothing. Office is...
- Discussion threads 2008-07-02
- Rage against Adrian
- Rage against AdrianWell ...[i].. calling your colleague a dumbass violates this forums rules.[/i]When you constantly shill for Microsoft this could be interpreted as posting "advertisements" which also violate forum rules since you are offering a service to advocate a product. Does Microsoft pay well? Many here would like to know....
- Discussion threads 2008-07-02
- Now I know we're in a recession
- OK, this has nothing to do with Ed Tech. Not a thing. There's no tie-in, no hidden message for us Ed Techers, just a feeling of impending doom. Fortune is reporting that Starbucks is closing 600 stores. I'll let that sink in. ...
- Blog posts 2008-07-02
- News to know: Microsoft; Yahoo; Google; IT contractors
- Notable headlines: Larry Dignan: Microsoft's search plan: It's about semantics and possibly for naught. Dennis Howlett: Powerset's smarts are Microsoft's gain Paul Miller: Powerset really does go to Microsoft... but for how much? Mary Jo Foley: Confirmed: Microsoft buys Powerset natural-language search...
- Blog posts 2008-07-02
- Business Card CD-DVD Creator (exe)
- Now its simple for anyone to create a custom Business Card or full size CD, and best of all it adds value to your business card. When you hand your business card to a customer they have multimedia, interactive, technologies that promote your business in the palm of their hands....
- Software downloads 2008-07-02
- DigiPaint for Adobe After Effects (exe)
- 2DPaint DigiPaint changes your video into animation drawn with a pencil imitating handicraft. Plug-in allows you to imitate a black-and-white pencil sketch as well as a color picture. The main difference of DigiPaint from other programs of the same kind is that DigiPaint gives a surprisingly qualitative result similar to...
- Software downloads 2008-07-02
- Google retires AdSense referral program
- Google retires AdSense referral programLONG-TERM STRATEGY - GuessingSince the new Google program is not an automatic enrollment for AdSENSE publishers they have to enroll separately - I am guessing that Google is rolling this out as a part of a major shift - not sure over what time period, to...
- Discussion threads 2008-07-01
- Brightening outlook for solar energy?
- Wanted to add another couple of links related to Harry's post yesterday about SolarCity. The actual news of the day is the company's new 8,200-square-foot facility in Phoenix, from which it will run its SolarLease program. One thing that Harry didn't mention in his post is...
- Blog posts 2008-07-01
- Google retires AdSense referral program
- Due to reasons unknown, the AdSense referral program is being retired at the end of August. It's unclear how popular the referral program actually was, but it's safe to assume it wasn't a huge money-maker for Google. In their official announcement, they alluded to their reasoning behind retiring...
- Blog posts 2008-07-01
- Why Microsoft might win in mobile
- Why Microsoft might win in mobileInterface BreathroughI would say that the new HTC Touch is a breakthrough in mobile interfaces. I actually like it better than the iPhone. To me, it makes the iPhone/iPod Touch interfaces look boring.its called Opera Mobile 9.5Have you tried using Opera Mobile 9.5 on any...
- Discussion threads 2008-07-01
- AT
- ATpretty close to what I pay for a Windows Mobile phone with AT&TI have been anxiously awaiting getting rid of my Cingular 2125, and am very happy with the prices of the 3G iPhone plans ... almost exactly what I am paying now for a low-end plan with 200 SMS...
- Discussion threads 2008-07-01
Neighboring Terms
Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
- Learn how collaboration fuels success with this FREE Economist report
-
According to a new study from the Economist, future success belongs to those who collaborate effectively. Learn how successful collaboration can improve profits, problem-solving, and competitive differentiation.
- Visit Cisco's Collaboration Resource Center today!
- Which solar technology will survive?
-
At the Cleantech Forum in San Francisco, Todd Glass of Heller Ehrman moderates a discussion, among tech execs, on the various solar technologies making a difference in the green movement.
- Watch the video >>
- New entries posted to Know Issues, Best Practices and Workarounds Wiki
-
Latest Topics: Running virtual machines and DHCP can cause Intel® AMT to be inaccessible; Wildcard certificates are currently not supported for remote; Dell 755 returns a duplicate UUID during activation configuration.
- See the latest entries on the Intel Wiki >>
The Green Enterprise
-
- A look into the enterprise to explore eco-friendly practices and innovations. In this ZDNet video series learn about what's motivating green tech, and how green technologies are impacting IT. 0:42
-
Harnessing the power of waves
3:13
-
Planting solar gardens
5:06
-
Fill your car for $1.10 a gallon?
1:43
- All series videos »





