The following sections of this BookRags Literature Study Guide is offprint from Gale's For Students Series: Presenting Analysis, Context, and Criticism on Commonly Studied Works: Introduction, Author Biography, Plot Summary, Characters, Themes, Style, Historical Context, Critical Overview, Criticism and Critical Essays, Media Adaptations, Topics for Further Study, Compare & Contrast, What Do I Read Next?, For Further Study, and Sources.
(c)1998-2002; (c)2002 by Gale. Gale is an imprint of The Gale Group, Inc., a division of Thomson Learning, Inc. Gale and Design and Thomson Learning are trademarks used herein under license.
The following sections, if they exist, are offprint from Beacham's Encyclopedia of Popular Fiction: "Social Concerns", "Thematic Overview", "Techniques", "Literary Precedents", "Key Questions", "Related Titles", "Adaptations", "Related Web Sites". (c)1994-2005, by Walton Beacham.
The following sections, if they exist, are offprint from Beacham's Guide to Literature for Young Adults: "About the Author", "Overview", "Setting", "Literary Qualities", "Social Sensitivity", "Topics for Discussion", "Ideas for Reports and Papers". (c)1994-2005, by Walton Beacham.
All other sections in this Literature Study Guide are owned and copyrighted by BookRags, Inc.
A string variable is a set of alphabetical or alphanumeric characters used to represent a value. Examples of string variable are firstname, first_name, 1_name, 1stname, 1st_name. The string variable is invaluable to computer programming. For example, let's say that Joe Smith had to write a program that printed his students' last name, first name and social security number for his math class. Depending on the computer program he was using, his string variables might be first_name, last_name and ss_number. After writing his program, he would enter all of the students' names and social security number. The program would read the data that he entered and then print out the students' names and social security numbers in the ordered specificed.
Here is Joe's program.
Without string variables, Joe's program would look like this.
Also, Joe would have to create the same program for each of his 7 classes. With the string variable, he only has to create one program, and he only has to create one data file for each class as opposed to 7 programs.