What is the difference between paging and segmentation?

Answer

The main difference between paging and segmentation is that paging is done by the computer, and segmentation requires input from the programmer. Both processes involve allocating data to be stored in a computer's memory.

When the computer stores things in pages, each page is the same size, and is able to hold the same amount of data. When a programmer allocates where the information is to be stored, the segments can be of any size. Segments may be compiled individually, but pages are all compiled at the same time. It is also possible for segments to share information, but pages cannot. When a computer operator downloads, or installs, documents or programs onto the hard drive, the operator indicates where it goes. Paging involves the computer putting unused data or parts of a program into virtual memory areas. This data can be retrieved at any time by a program requiring its use or by the operator. Data may be stored in multiple pages that are not in any special order and not affect the performance of the program. Using multiple segments is not a good idea; it will cause performance issues while the program manager works harder to run the program. Both paging and segmentation require indexing of all data stored for it to be accessible.

Q&A Related to "What is the difference between paging and segmentation..."
Operating systems use various techniques to allocate memory. Pages are fixed units of computer memory allocated by the computer for storing and processing information. Pages are easier
http://www.ehow.com/facts_7387611_difference-betwe...
Paging is a virtual memory scheme which is transparent to the program at the application level and which divides memory into fixed-size blocks, such as 4 KBytes. The segmentation
http://wiki.answers.com/Q/What+is+difference+betwe...
In segmentation, the address space is typically divided into a preset number of segments like data segment (read/write) code segment(read-only) stack(read/write) etc. And the programs
http://www.quora.com/Operating-Systems/What-is-the...
The basic difference between paging and segmentation is that in paging we use fixed-sized blocks for allocating space for a process. In segmentation we have a more or less arbitrary-sized
http://answers.yahoo.com/question/index?qid=200611...
1 Additional Answer
Ask.com Answer for: difference between paging and segmentation
What Is the Difference Between Paging & Segmentation?
Computer software programmers use paging and segmentation techniques to allocate, process and access computer memory. Efficient use of computer storage and processing space requires the proper use of computer pages and segments.... More »
Difficulty: Easy
Source: www.ehow.com
About -  Privacy -  Careers -  Ask Blog -  Mobile -  Help -  Feedback  -  Sitemap  © 2014 Ask.com