Printer Friendly
The Free Library
14,504,729 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

Picture programs; programming a computer may eventually be as simple as sketching a diagram or drawing a flowchart.


A peak into a typical computer program generally reveals little more than a seemingly random array of words and symbols. A closer look shows patterns and perhaps some meaningful order in the way these words are listed. But one of the best ways to get a sense of a program's function is to look at a flowchart that diagrams the way in which the program does its job.

A visual trip along a flowchart's lines takes a user from step to step, from choice to choice, until a particular task is completed. Translated into a conventional computer is literally worth a thousand words or more. But if creating a flowchart were to become the only step in writing a computer program, it would eliminate the tedium of translating a complex concept into myriad lines of code The statements and instructions that a programmer writes when creating a program. One line of this "source code" may generate one machine instruction or several depending on the programming language. A line of code in assembly language is typically turned into one machine instruction. .

A few computer scientists are starting to take this possibility seriously. Not only would a "visual language" make computer programs simpler to write, but it would also make then easier to understand. A quick glance would be enough to show a user what's going on What's Going On is a record by American soul singer Marvin Gaye. Released on May 21, 1971 (see 1971 in music), What's Going On reflected the beginning of a new trend in soul music. . In essence, with a visual programming language (language) visual programming language - (VPL) Any programming language that allows the user to specify a program in a two-(or more)-dimensionsional way. Conventional textual languages are not considered two-dimensional since the compiler or interpreter processes them as , what you want is what you see is what you get (jargon) What You See Is What You Get - (WYSIWYG) /wiz'ee-wig/ Describes a user interface for a document preparation system under which changes are represented by displaying a more-or-less accurate image of the way the document will finally appear, e.g. when printed. .

A panel discussion at the recent National Computer Conference in Chicago highlighted some of the ways in which researchers are beginning to develop visual languages. It also focused on the problems that must be overcome before such languages can become widely used.

The growing availability of computer terminals or personal work stations that handle graphic symbols is one of the forces driving interest in visual programming. Already, users can design "objects," such as business forms or mechanical devices, by assembling simple graphic "building blocks" supplied by the computer. The finished picture, made up of these pieces, as a whole represents one type of visual program.

This kind of scheme works very well when the object being designed has an obvious, direct representation. Laying out an invoice, for instance, simply means putting the appropriate components in the right places on a picture of an invoice. The problem is much more difficult when visual programming is used to represent something abstract--a time sequence, related bits of knowledge, conditional statements. It becomes necessary to devise visual metaphors for picturing these ideas.

"Inventing suitable visual representations is the key problem," says Robert J.K. Jacob of the Naval Research Laboratory Noun 1. Naval Research Laboratory - the United States Navy's defense laboratory that conducts basic and applied research for the Navy in a variety of scientific and technical disciplines
NRL
 in Washington, D.C. "It's hard to think of good pictures to use." And, he adds, the choice of representation makes a big difference in how well the language suits a given application.

Jacob is now experimenting with "state transition diagrams state transition diagram - A diagram consisting of circles to represent states and directed line segments to represent transitions between the states. One or more actions (outputs) may be associated with each transition. The diagram represents a finite state machine. ," a pencil-and-paper tool widely used by computer scientists to describe algorithms or computational procedures. He sees an extention of these diagrams as a potential visual programming language.

One of the main virtues of state diagram state diagram - state transition diagram  notation, says Jacob, is that it shows precisely what the user can do at each point in a dialogue between the user and a computer and what its effect will be. Moreover, a computer, using state diagrams as part of a system for providing help to users, can even answer user questions such as: "What can I do next?" "Where am I?" and "How can I do...?"

In general, state diagrams, usually drawn as branching chains of circles linked by arrows, tell users what happens for all possible inputs. The diagrams also clearly indicate what a user can do to switch from one "state" to another in which the results for a certain input may be different.

When this notation is used, writing a computer program turns into drawing the appropriate state diagrams, which the computer understands and implements. Editing a diagram automatically alters the program.

Jacob has used a primitive version of this idea to design and specify how a user interacts with a computer in several prototype systems. It forms the basis for a military message system, for example, in which the user can manipulate information displayed in several "windows" on a video screen. Details of his scheme appear in the August IEEE (Institute of Electrical and Electronics Engineers, New York, www.ieee.org) A membership organization that includes engineers, scientists and students in electronics and allied fields.  COMPUTER, a special issue devoted to visual programming.

"Visual languages are difficult to build, implement and write," says Jacob. His own system maybe as much as five years away from general use.

Moshe M. Zioof of M.M. Zloof, inc., ub Dobbs Ferry Dobbs Ferry, village (1990 pop. 9,940), Westchester co., SE N.Y., on the Hudson River, a suburb of New York City; inc. 1873. It is mostly residential but has light industries and research facilities. , N.Y., emphasizes the usefulness of being able to see a computer program as a whole. "A computer programmer builds a mental image of a program as he or she reads it," he says. People who don't know Don't know (DK, DKed)

"Don't know the trade." A Street expression used whenever one party lacks knowledge of a trade or receives conflicting instructions from the other party.
 how to program a computer have much more trouble building such an image. However, a program in the form of pictures lets them grasp much bigger chunks at a time.

This is the principle behind Zloof's "Office-by-example" software developed for IBM (International Business Machines Corporation, Armonk, NY, www.ibm.com) The world's largest computer company. IBM's product lines include the S/390 mainframes (zSeries), AS/400 midrange business systems (iSeries), RS/6000 workstations and servers (pSeries), Intel-based servers (xSeries) . It can be used, for instance, to put together invoices from information on orders and prices. All the necessary procedures are represented on a video display and can be easily modified and manipulated to construct the required form. Zloof is now developing a "Database-by-example" that uses a similar visual form to retrieve information from computer files.

This visual approach gets complicated, however, when a single picture can't tell the whole story. "You can easily lose tract of what you're doing," says Zloof. There may be limits to how cluttered clut·ter  
n.
1. A confused or disordered state or collection; a jumble: sorted through the clutter in the attic.

2. A confused noise; a clatter.

v.
 a single picture can get and to how many different pictures a person can handle.

Margaret A. Khorthage of Trammel Crow Co. in Dallas argues that stylized styl·ize  
tr.v. styl·ized, styl·iz·ing, styl·iz·es
1. To restrict or make conform to a particular style.

2. To represent conventionally; conventionalize.
 pictures take time to read and grasp. People have to be taught to understand the symbols, she says. Although good "icons" can sometimes be created for nouns, other parts of speech, like verbs, tend to lose out.

Khorfhage wonders how much of the current surge of interest in visual languages is just a fad. "Can we communicate effectively without a visual language?" she asks.

"It's not a fad," says Adarsh K. Arora of the Gould Research Center in Rolling Meadows Rolling Meadows, city (1990 pop. 22,591), Cook co., NE Ill., a suburb of Chicago; inc. 1955. There is research and development and the manufacture of office supplies and electronic components. , Ill. He points to the increasing use of computer-aided design computer-aided design (CAD) or computer-aided design and drafting (CADD), form of automation that helps designers prepare drawings, specifications, parts lists, and other design-related elements using special graphics- and calculations-intensive , spreadsheet programs, windows and other visual aids visual aids
Noun, pl

objects to be looked at that help the viewer to understand or remember something
 to help users get what they need out of a computer. All of these may be considered primitive visual programming languages, he says.

Arora suggests that animation may eventually be used to show how objects, as designed on a computer, would work. Visually following flows through a "data structure" or program to see how it behaves could make it easier to track down errors.

"Visual languages are here," says Jacob, "but they have a long way to go. In the long run, a theoretical understanding of visual perception is needed." This would let designers devise more effective graphic symbols for their particular picture programs.
COPYRIGHT 1985 Science Service, Inc.
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 1985, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Author:Peterson, Ivars
Publication:Science News
Date:Aug 17, 1985
Words:1115
Previous Article:Kids and the bomb: apocalyptic anxieties?
Next Article:A common ancestor of higher primates? (Amphipithecus mogaungensis)
Topics:



Related Articles
Legislators jump on predicted surplus.(Legislature)(Education, public safety and other programs could benefit, as well as taxpayers awaiting kicker...
Electronics recycling bill advances.(Business)(The Oregon House passes a measure that would require manufacturers to fund centers for recycling...
3 incumbents retain seats on school boards.(Elections)(The Bethel, Springfield and Lane ESD winners have given many years of service)
COMMUNITIES BRIEFLY.(General News)(REGION)
End of the line for kids' free rides?(Transportation)(LTD says funds for student transportation are about to run out; the agency footing the bill...
New program focuses on preparing and trying nursing home cases.(Education)
Working with schools, parents and other community groups.
Click 'n' save: new software upgrades make running a studio easier than ever.(STARTING OUT)
Attention to invention: helping entrepreneurs get their inventions to market can be a great economic development tool.
Speaking across the chasm: literature as a bridge between science and religion.

Terms of use | Copyright © 2009 Farlex, Inc. | Feedback | For webmasters | Submit articles