Understand the memory structure

Memory organization


(1) What is memory cell?
Answer:



Entire RAM has divided in number of equal part, which is known as memory cell.Capacity of each cell is to store one-byte data.
i.e char a reserve one memory cell while float a reserve four memory cell.
Each memory cell has unique address.Address are always in whole number an increasing order.

(2) What is residence memory?


Answer:


RAM has divided into two parts:
(1) Extended memory (useless)
(2) Residence memory :
When any program is executed it is stored in the residence memory .For turbo c, it has 1MB residence memory i.e when we open turbo c it store 1MB in the RAM.

(3) What is physical address ?



Answer: 





20 bit address of the memory cell is known as physical address or real address.In 20 bit we can represent address from 0x00000 to 0xFFFFF.

(4) What is segmentation?

Ans:



Residential memory of RAM of size 1MB has divided into 16 equal part.These part is called segment.Each segment has size is 64KB.
1MB=16*64KB
This process of division is known as segmentation.

(5) What is necessity of segmentation?

Ans:

Physical address are 20 bit.But we have no pointer of 20 bit.So pointer can not access whole residential address .So to solve this problem we have three different pointer and segmentation has done.

No comments:

Post a Comment