Arts Computers Gallery Games History Home Life Recreation
Reference Science Shopping Society Space Sports Technology & more...
In association with Amazon.com
Click here for customer reviews/more info on Using a low-memory factored representation to data... Using a low-memory factored representation to data...
David William, Littau


Click here for customer reviews/more info on Time-Constrained Memory: A Reader-Based Approach t... Time-Constrained Memory: A Reader-Based Approach t...
Jean-Pierre Corriveau


>> Click here for more

Data Representation and Memory

Artzia Posters
Curious Minds
Kosmoi Photos
Eluzions Fun
EncycloZine:
Arts
Astronomy
Computers
History
Life
Recreation
Science
Society
Space
Technology

Binary Numbers

Digital computers operate on data represented as binary numbers, such as 0, 1, 10, 11, 100, 101, 110, 111, ... (0, 1, 2, 3, 4, 5, 6, 7, ...). All data, whether in the form of magnitudes, text, pictures, sound, symbols, or calculus (such as integration and differentiation), are represented as binary numbers in a digital computer. Any type of data can be processed by addition, multiplication, comparison, or other simple operations by the ALU.

A "1" in binary is evaluated as an ON switch in the electronics. A "0" in binary is evaluated as OFF switch in the electronics. This value can also represent another meaning: a "1" in binary is TRUE and "0" is FALSE. Through these values you get binary logic, which allows a computer to actually "compute".

In a binary number with p positions, each position is occupied by either 1 or 0. 1 in the rightmost position represents 1 (i.e., 20), 1 in the second position from the right represents 2 (i.e., 21), 1 in the third position represents 4 (i.e., 22), and so on, and 1 in the pth position means 2p - 1. Thus, the binary number 101 is 1 x 22 + 0 x 21 + 1 x 20 --that is, decimal number 5.

Memory

Memory is a sequence of numbered "cells" or "pigeon holes," each containing a small piece of information. The information may be an instruction to tell the computer what to do. The cell may contain data that the computer needs to perform the instruction. Any slot may contain either, and indeed what is at one time data might be instructions later.

The size of each cell, and the number of cells, varies greatly from computer to computer, and the technologies used to implement memory have varied greatly - from electromechanical relays, to mercury-filled tubes (and later springs) in which acoustic pulses were formed, to matrices of permanent magnets, to individual transistors, to integrated circuits with millions of capacitors on a single chip.

Data are stored in a computer as binary digits, or bits. If a binary number consists of n positions, it is said to be an n-bit number. Eight consecutive bits is called a byte. Therefore, a binary number of 16 bits has 2 bytes, a binary number of 32 bits has 4 bytes, and so on.

Both the primary and auxiliary devices have capacity measured in bits, bytes, kilobytes, megabytes and gigabytes. There are 8 bits in a byte. Many computers store one character as one byte. One byte is enough information to store one alphanumeric character (e.g. letter or decimal digit). A kilobyte is 1024 bytes, a megabyte is 1024 kilobytes (1,048,576 bytes), and a gigabyte is 1024 megabytes (1,073,741,824 bytes).

Each location in a memory is assigned a unique numeric address, by which the location is accessed. Data stored in each memory location consists of a fixed number of bits. This number is usually a power of 2 -- i.e., 4, 8, 16, 32, or 64 bits); such a binary sequence is called a memory word, or simply word.

The physical memory of a computer is either random access memory (RAM), which can be read or changed by the user or computer, or read-only memory ( ROM), which can be read but not altered. Computer chips hold memory, as do floppy disks, hard disks, and CD-ROMs (compact discs).

Memory Hierarchy

As CPUs have become faster and more powerful, a fundamental bottleneck in computer design is the flow of information back and forth from memory to the CPU. Currently, there are now many types of memory devices with different costs, access times and storage capacities. Generally the faster the access time, the more expensive the memory. Consequently, good design is based on a memory pyramid for providing increasing amounts of less costly, slower memory.

  1. Cache memory: This generally is memory placed on the CPU or is attached with a special fast bus. It is the fastest but the most expensive, so little is used.
  2. RAM and ROM: ROM = Read Only Memory. It stores information about BIOS and startup routines. RAM = Random Access Memory. It stores loaded programs and data to be processed. There are two types: volatile/dynamic (DRAM) and non-volatile/static (SRAM). Unlike non-volatile memory, volatile memory is lost when the computer is switched off or reset. The advantage of SRAM is that memory is retained when you turn off the computer. Read only memory, ROM, is a special type of memory for reading but not writing. This type of memory is useful for storing frequently used software, for which the user needs rapid access but has no need to modify. Memory chips are more expensive and faster than the various types of magnetic and laser disk memories.
  3. Magnetic Disk: These are magnetic disks of various types, such as floppies (5 1/4 and 3 1/2) and hard disk. These devices are cheaper and can store much greater amounts of data than RAMs, but have slower access time, which is the length of time it takes the computer to read information from it. Over time technological advances make it possible to store increasing amounts of information per square inch of disk space. For example, firms are now selling floppy 3 1/2" disk drives with a capacity of 100M per diskette. Generally a computer has a much bigger hard disk memory than the memory on integrated circuits. Also, over time computers have increasing amounts of magnetic disk space.
  4. Laser Disk: A new type of memory device is the laser disk that can store very large amounts of data. This type of memory device is beginning to be used in library applications. Cheaper, but much slower than hard disks, CD-ROM refers to read only laser disks. With the advance of laser disk technology CD-ROM technology is now being replaced with DVD technology. DVD disks are the same size as CD-ROM disks so that a DVD player can play CD-ROMs. The advantage of DVD technology is the increased storage capacity so that DVDs can play a feature length movie.

EncycloZine Arts & Humanities Games & Puzzles Sci/Tech Amazon.com Posters Web Websites directory
Products related to Data Representation and Memory: books, DVD, electronics, garden, kitchen, magazines, music, photo, posters, software, tools, toys, VHS, videogames