11.07.2015 Views

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

Encyclopedia of Computer Science and Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DdataToday the term data is associated in many peoples’ mindsmainly with computers. However, data (as in “given facts”or measurements) has been used as a term by scientists <strong>and</strong>scholars for centuries. Just as with a counting bead, a notchin a stick, or a h<strong>and</strong>written tally, data as stored in a computer(or on digital media) is a representation <strong>of</strong> facts aboutthe world. These facts might be temperature readings, customeraddresses, dots in an image, the characteristics <strong>of</strong>a sound at a given instant, or any number <strong>of</strong> other things.But because computer data is not a fact but a representation<strong>of</strong> facts, its accuracy <strong>and</strong> usefulness depends not only onthe accuracy <strong>of</strong> the original data, but on its context in thecomputer.At bottom, computer data consists <strong>of</strong> binary states (representednumerically as ones or zeroes) stored using somephysical characteristic such as an electrical or magneticcharge or a spot capable <strong>of</strong> absorbing or reflecting light.A string <strong>of</strong> ones <strong>and</strong> zeroes in a computer has no inherentmeaning. Is the bit pattern 01000001 a number equivalentto 65 in the decimal system? Yes. Is it the capital letter “A”?It may be, if interpreted as an ASCII character code. Is itpart <strong>of</strong> some larger number? Again, it may be, if the memorylocation containing this pattern is interpreted as part <strong>of</strong>a set <strong>of</strong> two, four, or more memory locations.In order to be interpreted, data must be assigned a categorysuch as integer, floating point (decimal), or character(see data types). The programming language compiler usesthe data type to determine how many memory locationsmake up that data item, <strong>and</strong> which bits in memory correspondto which bits in the actual number. Data items can betreated as a batch (see array) for convenience, or differentkinds <strong>of</strong> data such as names, addresses, <strong>and</strong> Social Securitynumbers can be grouped together into records or structuresthat correspond to an entity <strong>of</strong> interest (such as a customer).In creating a structure within the program to represent thedata, the programmer must be cognizant <strong>of</strong> its purpose <strong>and</strong>intended use.The programming language <strong>and</strong> code statements definethe context <strong>of</strong> data within the rules <strong>of</strong> the language. However,the meaning <strong>of</strong> data must ultimately be constructedby the human beings who use it. For example, whether atest score is good, bad, or indifferent is not a characteristic<strong>of</strong> the data itself, but is determined by the purposes <strong>of</strong>the test designer. This is why a distinction is <strong>of</strong>ten madebetween data, as raw numbers or characters, <strong>and</strong> informationas data that has been placed in a meaningful contextso that it can be useful <strong>and</strong> perhaps even enlightening tothe user.Further ReadingBierman, Alan W. Great Ideas in <strong>Computer</strong> <strong>Science</strong>: a Gentle Introduction.2nd ed. Cambridge, Mass.: MIT Press, 1997.Hillis, Daniel W. The Pattern on the Stone: the Simple Ideas thatMake <strong>Computer</strong>s Work. New York: Basic Books, 1998.data abstractionAbstract data types are used to describe a “generic” type <strong>of</strong>data, specifying how the data is stored <strong>and</strong> what operationscan be performed on it (see object-oriented programming,list processing, stack, <strong>and</strong> queue).128

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!