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, "Super ASCII", if it contains the character frequency equal to their asc...

"Super ASCII", if it contains the character frequency equal to their ascii values. String will contain only lower case alphabets (''a''-''z'') and the ascii values will starts from

Explain the modularity of object oriented analysis, Explain the Modularity ...

Explain the Modularity of Object oriented analysis Modularity is closely attached to encapsulation; you may think of it as a way of mapping encapsulated abstractions into phys

Explain the operation of JK flip flop when all inputs are 0, Write the trut...

Write the truth table for a clocked J-K flip-flop that is triggered by the positive-going edge of the clock signal. Explain the operation of this flip-flop for the following condit

Advantage and disadvantage of threaded binary trees, Advantage  1.     ...

Advantage  1.       By doing threading we neglect the recursive method of traversing a Tree , which makes use of stack and consumes many memory and time . 2.       The node

Define various classes of interrupts, Q. Define Various classes of Interrup...

Q. Define Various classes of Interrupts? Figure below gives list of some common interrupts and events which causes occurrence of those interrupts. Figure: Various clas

What is called static and dynamic branch prediction, What is called static ...

What is called static and dynamic branch prediction? The branch prediction decision is always the similar every time a given instruction is implemented. Any approach that has t

Design a BCD to excess 3 code converter using NAND gates, Design a BCD to e...

Design a BCD to excess 3 code converter using minimum number of NAND gates. Hint: use k map techniques. Ans. Firstly we make the truth table: BCD no

Recursion, Ask qurecurrion for short noteestion

Ask qurecurrion for short noteestion

What is smoke testing, What is smoke testing? Smoke testing is a combi...

What is smoke testing? Smoke testing is a combined approach that is generally used when "shrinkwrapped" software products are being developed.

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