Explain the differences between paging and segmentation, Computer Engineering

Assignment Help:

Explain the differences between Paging and segmentation.

Paging and segmentation

Paging

Segmentation

Computer memory is separated into small partitions which are all similar size and considered to as, page frames. Then while a process is loaded this gets divided in pages that are similar size as those earlier frames. The process pages are after that loaded in the frames.

Memory-management scheme which supports user vision of memory.

Computer memory is allocated in different sizes (as segments) depending upon the required for address space through the process.

Address generated through CPU is divided into:

Page number (p) - It used like an index in a page table that contains base address of each page into physical memory.

Page offset (d) - It combined with base address to describe the physical memory address which is sent to the

memory unit.

Logical address contains a two tuple:

< segment-number, offset >

Transparent to programmer (i.e. system

allocates memory)

Includes programmer (i.e. allocates memory to

specific function inside code)

No separate- the protection

To separate the protection

No separate- the compiling

To separate the compiling

No shared-the code

To share the code


Related Discussions:- Explain the differences between paging and segmentation

What is a privileged instruction, What is a privileged instruction? To ...

What is a privileged instruction? To protect the operating system of a computer from being corrupted by user programs, particular instructions can be executed only whereas the

Java, about java types

about java types

Show the spawned program, Q. Show the spawned program? include "pvm3.h"...

Q. Show the spawned program? include "pvm3.h"  main() {    int ptid, msgtag;    char buf[100];    ptid = pvm_parent();    strcpy(buf, "hello, world from ");

What are the major systems of a telecommunication network, What are the maj...

What are the major systems of a telecommunication network? The main systems of any telecommunication network may contain the following main systems: a. Subscriber end instr

Why is fragmentation needed on internet not on a typical wan, Why is fragme...

Why is fragmentation needed on Internet not on a typical WAN? TCP/IP protocol utilizes the name IP datagram to demote to an Internet packet. The amount of data carried into a d

Define usb, Define USB. The Universal Serial Bus(USB) is an industry st...

Define USB. The Universal Serial Bus(USB) is an industry standard developed to give two speed of operation known as low-speed and full-speed. They provide simple, low cost and

Input output in assembly program, Q. Input output in assembly program? ...

Q. Input output in assembly program? Software interrupt is a call to an Interrupt servicing program situated in the operating system. Generally the input-output routine in 8086

What are the super computers, SUPER COMPUTER The upper end of state of ...

SUPER COMPUTER The upper end of state of art mainframe machine is the supercomputer. These  are  the  fastest  machines  in  terms  of  processing  speed  and  use multiprocess

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd