1,084 views
0 votes
0 votes
In a system which supports overlay two programs want to run.

Size of program1 = 90kb

Size of program 2 = 100kb

Size of common code = 10kb

Size of overlay driver = 20kb

Size of error routine = 50kb

If no error is occured then what will be the minimum memory requirement to execute program

 

a) 130kb.                                       b)180kb

c) 270kb.                                       d) 220kb

Please give explanation also thank you.

1 Answer

Best answer
1 votes
1 votes
Overlay can share same memory space for different programs

So, if we take large program , then both program could run

So, 100kB memory is taken

Common code size =10 kB

Overlay driver size 20kB

Error has not occured . So, no need to take space for error routing

So, total space required 100+10+20=130kB
selected by

Related questions

0 votes
0 votes
0 answers
2
rahuldb asked Nov 12, 2016
362 views
Write down the sequence of control signals required to execute LDA 1000 instruction (loading the content of 1000 into accumulator) in single bus CPU organisation.Please s...
0 votes
0 votes
1 answer
3
rahuldb asked Nov 17, 2016
3,658 views
Consider a memory of 8 words per block.If 2 clock cycle are required to transfer address from CPU to main memory, 6 clock cycle to access the first word, 3 clock cycles e...
0 votes
0 votes
0 answers
4