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

C++, Byteland county is very famous for luminous jewels. Luminous jewels ar...

Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec

Break keys, Like a normal read, your input should break on the new line cha...

Like a normal read, your input should break on the new line character "\n"   and also on the up and down arrow keys. You will process the input made by the user when he/she enters

Simple maze game, The following is a requirements specification for a simpl...

The following is a requirements specification for a simple game based on a player moving through a maze of connected rooms from an entrance door to an exit door. The required sy

What is parallel balance point, Q. What is Parallel Balance Point? In ...

Q. What is Parallel Balance Point? In order to execute parallel algorithm on parallel computer K processors are necessary. It should be noted that given input is allocated to

Compute the positive integer and square root, Question: Q1) Write a cod...

Question: Q1) Write a code that asks the user for a positive integer, computes the square root of that integer, and return the result to the user. The computational error needs

The mercantile process model, The mercantile process model consists of whic...

The mercantile process model consists of which of the pahase(s): The pre-purchase phase. Purchase consummation phase. Post-purchase Interaction phase.

Give an example of first fit and best fit algorithms, Given memory partiti...

Given memory partitions of 100k, 500k, 200k, 300k, and 600k (in order), apply first fit and best fit algorithms to place processes with the space requirement of 212k, 417k, 112k an

Which of the memories stores the most number of bits, Which of the memories...

Which of the memories stores the most number of bits ? Ans. most number of bits stores in 32M x 8 As 2 5 x 2 20   = 2 25 Therefore 1M = 2 20 = 1K x 1K = 2 10 x 2 10

Define a variant of top-down parsing without backtracking, A parser which i...

A parser which is a variant of top-down parsing without backtracking is? Ans. Recursive Descend is a variant of top-down parsing without backtracking.

Explain advantage of static storage class, Explain advantage of static stor...

Explain advantage of static storage class The second and more subtle use of 'static' is in connection with external declarations. With external constructs it provides a privacy

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