1 1 vote Which of the following programming techniques and structures are good for demand-paged environment a)Stack b)Hashed symbol table c)Sequential search d)Pure code Only a Both a, b Both a, c please explain with the reason Operating System operating-system demand-paging + – Akriti sood 3.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 1 1 vote Stack is used if LRU replacement algorithm is employed. Hashed symbol table is employed during compiling, when we talk about demand paging we're talking about low level instructions availability which suggests the post compiling time period. Sequential search as pages are randomly scattered due to page replacements. Therefore I think a & c. Aghori answered Dec 4, 2016 • selected Dec 4, 2016 by Akriti sood Aghori comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments Akriti sood commented Dec 4, 2016 reply Follow flag so, you wanna say that we actualy pop out bottom page from the stack which is the least recent one and not the top most and this is done by taking two stack?? 0 0 replyShare Akriti sood commented Dec 4, 2016 reply Follow flag so,we can also use stack for MRU (most recently used) also as well by poping topmost element fromt he stack..right?? 0 0 replyShare Aghori commented Dec 4, 2016 reply Follow flag Yes, Recentness would be in decreasing order from top to bottom then, I think. 0 0 replyShare Please log in or register to add a comment.